Translations of this page?:

Wiki trails

The one feature I miss in Dokuwiki the most is some sort of Wiki trails. A Wiki trail is a sequence of pages that belong together (just like a book is a sequence of chapters). This concept is implemented in PMWiki and is useful for many things.

How would one go about creating a trail

To create a Wiki trail an author would just have to create a trail index page in a form of a bullet or a numbered list. The page names should be the first item following each bullet. Something like this:

  *[[Firstpage]]
  *[[Secondpage]]
    *[[Subpageofsecondpage]]
  *[[Thirdpage]]
    *[[Subpageofthirdpage]]
      *[[Subpageofsubpageofthirdpage]]

Linear parsing

The upper example could be parsed into a linear structure that would look like this.

Firstpage <-> Secondpage <-> Subpageofsecondpage <-> Thirdpage <-> Subpageofthirdpage <-> Subpageofsubpageofthirdpage

If we would include some sort of a trail markup in all of those pages, we could display navigation links in the form of

<< Previous page | Index page | Next page >>

We could even display navigation links with the actual page names, like this:

<< Firstpage | Index page name | Subpageofsecondpage >>

Hierarchical parsing

Hierarchical parsing would be useful for publishing pages (into pdf, latex, html or whatever). This way the Firstpage title would be displayed as the heading1, while the headings in that page would be mapped to headings one level deeper. But because the pages are hierarchically structured, the titles of subpages (as Subpageofsecondpage for instance) would be assigned heading2 and so on.

How is this different from just parsing the namespaces?

Well, with Wiki trails you have control over the order in which the pages are structured, whereas with namespaces the pages are sorted alphabetically.

Discussion

What do you think about this concept? Do you think it would work, and is it possible to implement?
Drye Kindrew 2006-10-13 08:08

 
wiki/discussion/wiki_trails.txt · Last modified: 2006/10/13 08:10 by drye
 
Imprint Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate