Ok, I heard in the last days about Java and C++ parsers. Add mine in Perl and there are three. Next, there's TomeRaider, plus some others I don't remember clearly. Of course one could modify the existing PHP scripts... I think wikipedia will need to take a decision soon.
About my code, it's a SQL dump -> static html converter written in Perl that is working fairly well (for now, only on the English wiki) I didn't make any news about it since i had some fairly busy weeks, and given the current hardware problems, it's better if the focus stays there for a while.
Ah, while it runs, my script can be configured to download new images and Tex formulas directly from the Wikipedia web server, so of course I will NOT run it again until the new server is up :-)
The script is temporarily hosted at:
http://www.arcetri.astro.it/~puglisi/wiki2static.txt
(renamed to "txt" due to some server misconfig). I don't have web space to host the 1GB output...
Ciao, Alfio
On Sat, 11 Oct 2003, Chris Seaton wrote:
Why not just use the existing PHP code? Can't PHP be invoked from the command line just like any C++ program? I'm not very familiar with Wikimedia, but if it's modular then you should just be able to use the existing parser to do exactly what you've done in C++. Plus PHP is free software so it can be used for things like distribution on physical media.