[pmwiki-users] Advanced category list with pagelist

Patrick R. Michaud pmichaud at pobox.com
Thu Mar 2 21:22:21 CST 2006

On Fri, Mar 03, 2006 at 01:40:33AM +0100, Thomas Lederer wrote:
> Patrick R. Michaud schrieb am 02.03.2006 20:29 Uhr:
> > In other words, you want to get a list of all pages that *don't*
> > link to a certain page (category)?
> > 
> >     (:pagelist -Category.Recipe list=normal:)
> Thanks, then i was really close.
> Most likely i did miss the hint about that syntax.

Actually, it's not at all obvious; I didn't think of it until I
was about to hit "send" on my "there's not a way to do it" reply.  :-)

Essentially we're just doing a negative term search, asking the
system to return a list of pages that don't contain "Category.Recipe"
anywhere in the text.  Since it has to do a full search on each
page it may be a little slow, but it works.  


More information about the pmwiki-users mailing list