I can't seem to make my own direct posts work.  Sorry to muddle this thread, but I wanted to test to see if this would actually go to the list or not...my others have not.  Sorry again and thanks for your patience with me.
<br><br><br><div><span class="gmail_quote">On 22/05/07, <b class="gmail_sendername">Patrick R. Michaud</b> &lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, May 22, 2007 at 01:07:26PM -0400, Ben Wilson wrote:<br>&gt; On 5/22/07, Ben Wilson &lt;<a href="mailto:dausha@gmail.com">dausha@gmail.com</a>&gt; wrote:<br>&gt; &gt; Does anybody have a suggestion on how to capture a pagelist items
<br>&gt; &gt; within a date range? For example, I want to list all journal pages<br>&gt; &gt; occurring this week (by page name &quot;Journal-2007-05-21&quot;).<br>&gt;<br>&gt; I should clarify that I&#39;m looking for a dynamic answer, so I can say
<br>&gt; something like:<br>&gt;<br>&gt; (:pagelist occurring=2007W21:)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist if=&quot;date monday-7days..monday {=$Name}&quot; :)<br><br>If this were executed today (2007-05-22, tuesday) then this<br>would list all of the pages from 2007-05-21 through 2007-05-28
<br>(inclusive).<br><br>Unfortunately, on Monday 2007-05-28 itself it would end up<br>showing the pages of the previous week instead of the next week,<br>which is probably not what you want.&nbsp;&nbsp;I haven&#39;t thought of a clean
<br>way around this yet.<br><br>I can see about adding the ISO week notation if you like.<br>Then the pagelist command would be<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist if=&quot;date {(ftime %GW%V)} {=$Name}&quot; :)<br><br>which would get all pages that have dates in the current week
<br>(where a new &quot;current week&quot; starts each Monday).<br><br>We can also add a &quot;thisweek&quot; shortcut for the above, so that<br>it becomes<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist if=&quot;date thisweek {=$Name}&quot; :)<br>
<br>Pm<br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">
http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div><br>