[pmwiki-users] how to intersect groups with pagelist?
SteP
step.list+pmwiki at gmail.com
Thu Mar 15 04:04:16 CDT 2007
Given two groups X and Y, is it possible to pagelist the intersection of
the two groups, that is all pages that are in X and in Y, where only the
{$Name} part counts to determine the intersection? And is it possible to
list the complementary set, that is all pages that are in X but not in Y?
Or maybe pagelist isn't the best way to do this?
----
example:
X = {p1,p2}
Y = {p1,p3}
(:pagelist intersect group=X,Y:) --> p1
(:pagelist complement group=X,Y:) --> p2
(:pagelist complement group=Y,X:) --> p3
TIA,
--SteP
More information about the pmwiki-users
mailing list