Nikola Smolenski wrote:
On Monday 06 September 2004 18:54, Luís Fernando wrote:
Well... Of course I want to participate the project, but I want to do a Windows version now (I've learned a lot of Windows APIs from other programs I did before and I'm really not interested on learning all again for other OS at this time). We may change the compiler since I have no problems to make a few "adjustments" in the way I program and I'm a computer science student, so one day or other I'll need to learn that. After this program is done, we could port it to other OS, or if many people don't agree to do it for Windows, we can split and each group start doing it for different OS.
Wouldn't it be by far the easiest if this program would be a small "web server" which would retrieve and serve Wikipedia pages to user's web browser of choice? That way it could be made quickly, small, and portable.
Check out the "waikiki" package from MediaWiki CVS - it already contains my (a little outdated) version of a command-line wiki-to-HMTL programs and comes with a no-install web server for windows. It is written in C++ and uses the sqlite library (database-in-a-file, no server required).
I did create a CD for the German wikipedia once, complete with installer that can copy the software, database and/or images to hard disk, though only installing the software is required, the rest can stay on CD.
I also have an online update tool that can download a list of articles via the Special:Export page and update the mentioned sqlite database accordingly. What would be needed is a Special page to list "all articles new or changed since XXX", so it can synchronize with the live site.
Magnus