- a mediawiki writer for Pandoc (should be a piece of cake)
- a mediawiki reader for Pandoc (perhaps less easy, note that there is also some HTML to deal with)
- a mediawiki template engine : given a set of mediawiki pages on the local filesystem, convert mediawiki input into mediawiki output, with all templates interpreted
(#3 might be a bit of work... and also, it's not clear that this is exactly what we want for converting wikibooks. It seems that the point would not be to expand the templates, but to convert them to something else. If I have a template called HaskellExercises, I don't want to expand it to a bunch of div tags or whatever; I want to convert it to something else)
No comments:
Post a Comment