Skip to content. | Skip to navigation

Sections
Personal tools
What is this?
Hi, my name is Tom Lazar and I'm a Plone and Zope developer based in Berlin, Germany and this is my personal and professional (no big difference, really...) website.
 

Convert XHTML to Google Code's Wiki Syntax

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.