<div class="gmail_quote">2009/3/16 Peter Bowers <span dir="ltr"><<a href="mailto:pbowers@pobox.com">pbowers@pobox.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm interested in people's thoughts on this extension to pagelists. It's purely experimental right now and requires a slight change (a single character) to a core script, so it's not too useful right now, but I thought I'd see what interest there was.<br>
<br>Basically the idea is to allow page selection criteria to be placed within parentheses inside the (:pagelist ... :) markup. Those parentheses can then be combined with intersection, union, and difference operators<br>
<br>intersection: (:pagelist (name=Foo)+(group=Bar) order=name fmt=#simple:)<br>union: (:pagelist (name=Foo),(group=Bar) order=name fmt=#simple:)<br>difference: (:pagelist (name=Foo)-(group=Bar) order=name fmt=#simple:)<br>
<br>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.<br>
<br>There's a proof-of-concept page (i.e., pre-experimental) at <a href="http://pmwiki.qdk.org/pmwiki.php/PageListPlus/PageList" target="_blank">http://pmwiki.qdk.org/pmwiki.php/PageListPlus/PageList</a>. Feel free to treat that page or other pages in that group as a sandbox to play with the idea...<br>
<font color="#888888">
<br>-Peter</font></blockquote><div><br></div><div>This looks great, Peter. It would surely answer my problem. As I see it, such a feature would allow a much finer filtering of pages using categories, almost as if they were page text variables. The pagelist function starts acting like SQL! Pretty cool!</div>
<div><br></div><div>Sameer</div></div>