[pmwiki-users] pagelist extension - experimental

Kathryn Andersen kat_lists at katspace.homelinux.org
Mon Mar 16 19:53:10 CDT 2009


On Tue, Mar 17, 2009 at 01:24:08AM +0100, noskule wrote:
> Peter Bowers wrote:
> > intersection: (:pagelist (name=Foo)+(group=Bar) order=name fmt=#simple:)
> > union: (:pagelist (name=Foo),(group=Bar) order=name fmt=#simple:)
> > difference: (:pagelist (name=Foo)-(group=Bar) order=name fmt=#simple:)
> >
> cool, this is relay a nice feature.
> 
> > In light of the recent discussions on the link=x limitations, this 
> > extension could really make a difference there...  Basically it gives 
> > you the capability of combining multiple pagelists into a single 
> > sorted & formatted pagelist.
> >
> I guess this would end up with a syntax like (link=page)+(link=page2). I 
> don't think this isn't the best way cause if the value of link= is 
> somehow dynamically generated the input would be a csv. And transform 
> csv into (link=xx)+(link=XX) isnt realy practical, especially if the 
> other pagelist arguments like group, name $:ptv support comma separations!

Agreed.  Also I would have expected "+" to be use for union rather than
intersection, since with union you are "adding" two sets together.
How about using '+' for union and '^' for intersection?

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list