I've created a Wikify module for <a href="http://www.scotlandsoftware.com/blog/index.php/dev/thistle">Thistle</a>
(should also work with <a href="http://www.celsius1414.com/phposxom/">PHPosxom</a>), which
automatically links WikiWords to appropriate pages of a specified wiki. You're seeing it in action
now, in the content of this post (the links with the little black "w" icon before them).
You can <a href="http://www.scotlandsoftware.com/ftp/php/wikify_module.tgz">download the module here</a>.
- Wikify will automatically ignore WikiWords which are already linked, or which occur inside an HTML tag (such as those which
are part of a hyperlink's URL, or an image's ALT text).
- You can prepend a WikiWord with
<!--verbatim--> to prevent it being linked, LikeThisOne.
- If a WikiWord is immediately preceded by
!, it will not be linked.
- It doesn't attempt to determine if a page already exists in the wiki (which doesn't usually matter, since
attempting to visit a non-existent page in most wikis will simply let you create that page). You can modify
the code to do this for your own wiki if desired.
As always, do enjoy.