On Wed, 2 Apr 2008, Joost Verburg wrote:

 3. Its good habit to have site map (but this has to be created at the
 end, when the structure is fixed).

The wiki can do this automatically.

It can be done manually, semi-automatically or automatically with varying results.

We can just create the page manually as a bullet list

        * adsfa
        ** asdfas
        ** asdfasd
        ** asdfa
        * asdfas

and so forth.

Or we can do it automatically, e.g. through

        (:pagelist group=Main fmt=#titleasspaced :)

This will however sort the pages alphabetically IIRC.


A semi-automatic method would be something like this:

        !! General pages...
        (:pagelist group=Main $:general=yes :)

        !! Development pages
        (:pagelist group=Main $:development=yes :)

and so forth. This requires us to put a 'page text variable' on each page, where that variable is referred to by the pagelist command. See my other post regarding the sidebar, and using a page text variable to show more stuff in the sidebar when viewing a certain set of pages.

It's also possible to use page text variables to control the order in which the generated lists are sorted, e.g. through

        (:pagelist group=Main $:development=yes order=$:development :)

See http://www.pmwiki.org/wiki/PmWiki/PageLists


Finally, we can actually control how each 'item' in the output from (:pagelist:) is formatted. We could probably define our own custom pagelist format that all we want.

Anyway, given the size of our site, we could probably get away with just a manually created 'site map'.

/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to