Cluster Map Module

10/28/2005 20:39:21
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 automatically creates a site map based on the [[Page Clusters]] you have defined. It finds all the clusters in use, and then all of the pages within that cluster, and generates an index. It also pulls the content from the cluster page to use as a description.

To see it live, use the ‘clustermap’ action, or visit the SiteMap page. To use it in your site, use the ‘clustermap’ action, or place the following in a page :

<clustermap>

This tag must be in it’s own paragraph, and at the beginning of a line.

Additionally, the ClusterMap lists the pages within a cluster when you view the main page for that cluster (if the page is a member of the cluster)… Sounds complicated, but checkout the main page for the OddMuse cluster to see what I mean.

You can also list all pages that do not belong to a cluster by using the ‘unclustered’ action.

Version History

  • 1.11 - Add TOC option back to non-action version of clustermap

  • 1.10 - Add TOC option back to non-action version of clustermap

  • 1.9 - And one more ‘_’ issue

  • 1.8 - fix bug with ‘_’ in cluster names

  • 1.7 - automatically print clustermap for page matching the $ClusterMapPage variable

  • 1.6 - don’t list \RssExclude or pages that contain files as being unclustered

  • 1.5 - Fix compatibility with Markdown Extension

  • 1.4 - AdminPages and [[DeletedPage]] are not classified as unclustered

  • 1.2 - Added ability to filter pages from the Unclustered pages list - by default, this filters journal pages and comment pages (which will likely not have a cluster added)

  • 1.1 - First version at Savannah

Similar Pages