On 1/5/07, Jay R. Ashworth jra@baylink.com wrote:
On Fri, Jan 05, 2007 at 05:01:45AM +0100, Erik Moeller wrote:
- Within this budget, do you believe an alternative approach which
utilizes an intermediate format is viable (e.g. wiki-to-Docbook-to-PDF), given the complexity of the MediaWiki syntax, its various extensions, and the need to keep up with parser changes?
Some work has already been done on this front; check the archives. It's one of the reasons I encouraged MythTV to move from Moin to MW.
I also have done some work on my wiki-to-xml-to-stuff converter. It's not up-to-date regarding the last changes to the parser (if-templates etc) but does the basics pretty well.
http://127.0.0.1/wiki2xml/php/w2x.php
It probably has many small bugs, but the last time I used it, it ran pretty solid. It comes with a MediaWiki extension framework, so it can run both as a separate installation and/or as a MW extension. If you install it locally, you can set it up for automatic PDF creation via docbook.
Magnus