I have a preliminary version of the promised offline reader with parser
working. Some issues:
* The parser is basically single-pass. I do an additional pass for the
<nowiki> elements, though.
* The parser already supports all wiki syntax, except <math>.
* It doesn't check for correct HTML, though.
* I am only using the article namespace. All other namespaces are linked
to the online version, with a different color.
* No images yet, but basically because I didn't bother with the download ;-)
* There's also a function that converts the database dump into many
files, one per article. This would be run on the "vendor" side.
I have tried the German database, and it works pretty well. I am a
little worried about the wxWindows HTML component, though. One thing it
doesn't support are HTML entities like "Ӓ", which I automatically
replace with a "?".
There's no search function yet, and no fulltext index is created. But,
that shouldn't take a lot of work, compared with the parser.
I can mail a Windows .exe (~600 KB zipped) to anyone who'd like, and a
howto for converting the mysql dump.
Tomorrow.
Magnus
working. Some issues:
* The parser is basically single-pass. I do an additional pass for the
<nowiki> elements, though.
* The parser already supports all wiki syntax, except <math>.
* It doesn't check for correct HTML, though.
* I am only using the article namespace. All other namespaces are linked
to the online version, with a different color.
* No images yet, but basically because I didn't bother with the download ;-)
* There's also a function that converts the database dump into many
files, one per article. This would be run on the "vendor" side.
I have tried the German database, and it works pretty well. I am a
little worried about the wxWindows HTML component, though. One thing it
doesn't support are HTML entities like "Ӓ", which I automatically
replace with a "?".
There's no search function yet, and no fulltext index is created. But,
that shouldn't take a lot of work, compared with the parser.
I can mail a Windows .exe (~600 KB zipped) to anyone who'd like, and a
howto for converting the mysql dump.
Tomorrow.
Magnus