Tag Map Module

10/31/2005 13:41:09
tags: OddMuse, web

Installing a module is easy: Create a modules subdirectory in your data directory, and put the Perl file in there. It will be loaded automatically.

Download module:

This module is very similar to the ClusterMap Module. Instead of relying on which PageCluster a given page belongs to, it uses the tags that you assign to it. This module relies on my TagCategorizer script to generate a map that shows the relationships of the tags you assign. As you use more and more tags for more and more pages, the structure of the map will continue to evolve.

To assign tags, simply add something like the following to a page:

Tags: tag Tag WikiTag [[Another Wiki Tag]]

This must start at the beginning of a line. Note that tags are case sensitive. You cannot use commas, but you can use brackets to create a tag with spaces.

Install this module in the usual fashion. Additionally, you need to download the TagCategorizer script. Create a folder within your oddmuse module folder and name it “TagCategorizer”. Inside it, place the perl script from the TagCategorizer download.

You can then use the tagmap action to display the map, or you can create a blank page called “\TagMap” (you can change this with the $TagMapPage variable).

Check out my TagMap for an example.

Similar Pages