moinmoin
Aug 06, 2007
Convert XHTML to Google Code's Wiki Syntax
Filed Under:
From the Note-to-Myself-Department
I've just created a Google Code project and wanted to put its Documentation (in the form of a RST-formatted DocTest, of course!) into the project's wiki and after lots of trial and error the best result seems to be achievable with a Perl script written by a wikipedia Author named Diberri.
Currently I'm just using the online converter but I might write a script that converts the RST source to HTML (which I do anyway alread) and then finally to WikiMarkup. Since Google exposes a project's wiki pages inside its subversion repository, all I would need to do is copy the result of the final conversion to something like ../../wiki/MainPage.And before I forget: I the best results using MoinMoin as target format and activating the "Show parsed HTML" option.
