I was looking for a script which could parse wiki syntax which is used in Google Code (see http://code.google.com/p/support/wiki/WikiSyntax). I could only find MediaWiki parsing, which isn’t what I wanted. The closest I could find was a PHP class which parsed ‘wiki’ syntax, but had quite a few bugs in (http://www.phpclasses.org/package/3111-PHP-Retrieve-and-process-articles-from-Wikipedia.html). This was my starting point.
I used the WikiSyntax page given above to add some of the features that I wanted to add. I didn’t add all of them, because I didn’t need all of them, but you can edit the code to suit your needs if you want to. Read the rest of this entry »