Looks promising. To set up a blog will be much easier with this functionality.

On 5/2/07, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> I've added an extra parameter to the 'date' conditional,
> so that times other than the current time can be tested.
> For example, to check if the current page's name is
> in the month of May 2007, one can write:
>
>     (:if date 2007-05-01..2007-05-31 {*$Name} :)

I assume that each parameter accepts any expression. For example, if
page names are in form "News-yyyy-mm-dd", the following condition
should work. Am I right?

 (:if date 2007-05-01..2007-05-31 {(substr {*$Name} 5)} :)

> - Display all pages in PITS that were created in 2006
>   (:pagelist group=PITS $:Created=?* if="date 2006-01..2006-12 {$:Created}" :)

Really clever.

Roman

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to