August 09, 2003

Wiki Integration

After my recent post about wanting a combination blog and wiki, I spent a few hours Googling for a suitable solution. I think I have come upon a good solution for me. In CPAN , there is a module named Text::WikiFormat . This module takes some wiki-formatted text and returns the corresponding HTML. You can pass several options to the module, such as the URL to use as the prefix for wiki word links.

Using Text::WikiFormat, you can write a MovableType plugin that formats your posts. There are some details on how to do this at SixLog . I have written a formatter that simply passes my entry text to Text::WikiFormat, with a prefix URL of http://www.uncledirtae.com/wiki/index.cgi? . Now, any use of wiki words on my blog will autolink to the corresponding wiki node.

Two problems remain. First, my hosting provider has an old version of the Text::WikiFormat installed, which seems to have some bugs. I have asked them to upgrade the module, which I expect to happen in short order. Also, Kung-Log doesn't seem to support custom MovableType formatters very well, so I am still trying to figure out how I can continue to use Kung-Log with my new formatter.

Posted by Dirtae at August 9, 2003 07:03 PM
Comments
Post a comment









Remember personal info?