[Pmwiki-users] Re: Re: can pmwiki handle hierarchical content?

chr@home.se chr
Mon Oct 18 12:53:46 CDT 2004


On Mon, 18 Oct 2004, Patrick R. Michaud wrote:

> On Mon, Oct 18, 2004 at 10:13:46AM -0400, Stefan Candea wrote:
> > For clarity and siplicity sake, and unless we have a better wheel to
> > invent, the traditional directory reference (relative or absolute) should
> > be applied.
> > 
> > So [[A]] should refere only to the page within the group!

Ahem... what group? This figure only shows a "tree of pages":

	http://www.md.kth.se/~chr/pmwiki/organization/page-tree1.png

IMHO, a group is an abstract grouping of pages, for instance something 
that defines the scope of a namespace. In other words, there can only be 
one page called 'A' within a group. From that point of view, a group might 
be considered the children of a page. 

Anyway, I'm just trying to illustrate that 'group' hasn't really been
defined yet. If we for instance decided that a page called 'A' may not
have a child page called 'A', then we could define a group as a page
together with its child pages.

> > It makes it also simple and possible to do the search within a group
> > (or below).  Relative notation would be used for pages at a relative
> > 'short distance', e.g. ../A or SubGroup/etc/A and absolute for the
> > others.

I agree that introducing some kind of distance metric is probably a good 
idea. A while back I started writing on some kind of intro to this...

	http://www.pmwiki.org/wiki/Christian/PageTreeIntro

but I got busy with other stuff :-(   You're welcome to add thoughts and 
comments there as well of course.

/Christian

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






More information about the pmwiki-users mailing list