[pmwiki-users] Pagelists: boolean categories

Petko Yotov 5ko at 5ko.fr
Sat Mar 14 04:47:41 CDT 2009


On Friday 13 March 2009 23:06:42 Sameer Kumar wrote:
> > On Fri, Mar 13, 2009 Sameer Kumar <sameerkumar at gmail.com>wrote:
> >> Hello all,
> >> I am trying to define a pagelist which should include pages that are
> >> assigned to two categories:
> >>
> >> (:pagelist link=Category.CatA link=Category.CatB group=GroupA
> >> fmt=#titlespaced:)
...
> Any idea if this is still on the boards? I did not see any mention of this
> in the current road map.

It is in the current roadmap, planned for 2.2.x : the link= and the linkfrom= 
parameters. So it will eventually happen.

Note that you may be able to list pages belonging to two categories by doing a 
simple pagelist "search" for terms (instead of for links) :

  (:pagelist CatB group=GroupA link=Category.CatA:) 
     will find pages in GroupA and in CatA that contain "CatB"
  (:pagelist "!CatB" group=GroupA link=Category.CatA:)
     may give more precise results, but slower

In the future, a search for category links will be optimized and very much 
faster.

Thanks,
Petko



More information about the pmwiki-users mailing list