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> <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>> 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>> On 5/22/07, Ben Wilson <<a href="mailto:dausha@gmail.com">dausha@gmail.com</a>> wrote:<br>> > Does anybody have a suggestion on how to capture a pagelist items
<br>> > within a date range? For example, I want to list all journal pages<br>> > occurring this week (by page name "Journal-2007-05-21").<br>><br>> I should clarify that I'm looking for a dynamic answer, so I can say
<br>> something like:<br>><br>> (:pagelist occurring=2007W21:)<br><br> (:pagelist if="date monday-7days..monday {=$Name}" :)<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. I haven'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> (:pagelist if="date {(ftime %GW%V)} {=$Name}" :)<br><br>which would get all pages that have dates in the current week
<br>(where a new "current week" starts each Monday).<br><br>We can also add a "thisweek" shortcut for the above, so that<br>it becomes<br><br> (:pagelist if="date thisweek {=$Name}" :)<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>