[pmwiki-users] Excluding results from earlier (:pagelist:)

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Wed Feb 28 21:36:49 CST 2007


I just had a thought... sometimes I want to create more than one list of 
pages on a page. And when I create the second (and third) list, I don't 
want the pages in the previous lists to appear.

What if (:pagelist:) kept track of it's list of pages in an array, and it 
was possible to refer to it later, saying that "I want the current 
pagelist to exclude any pages that occured in the previous list".

Actually, if you extend this so that (:pagelist:) does the search but 
never shows the list, you could imagine something like this:

 	(:pagelist bloopsi  fmt=#hidden:)
 	(:pagelist whoopsi  fmt=#hidden:)

 	# Show pages from first result, but not occuring in second result
 	(:pagelist previous-results=+1,-2 :)

What have now is a way of creating searches, and then combining them.

It's late, so I hope this makes sense.

cheers
/Christian

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


More information about the pmwiki-users mailing list