Blog

Posted 2005/11/08

Including Wiki content in main site

There is now a PHP include which can be used to embed a Wiki page into a normal DSG page in the main site. It uses the export_xhtml function of DokuWiki and a bit of scraping to hoik out just the content. To see it in action go to
Example Wiki Include. Add TODO things to this blog post:

a) The first thing is to give the option to strip out the TOC which the Wiki generates, it still works within your page but I can see people wanting to be able to turn it off.