[pmwiki-users] Restricting a pagelist to a range of titles
Vince Administration
vadmin at math.uconn.edu
Wed Sep 16 19:57:59 CDT 2009
On Sep 16, 2009, at 8:16 PM, Randy Brown wrote:
> Simon,
>
> Thanks for the suggestion. Unfortunately match reg_expression
> returns true if current page name matches the regular expression -
> but I want to test the value of page title.
>
> Randy
Randy,
You might try if=date. You can use the $title variable in this.
Vince
>
> On Sep 16, 2009, at 6:25 PM, Simon wrote:
>
>> I can't test this now, but try the following
>>
>> Pagelist has an if parameter. - http://pmwiki.org/wiki/PmWiki/PageLists#pagelistif
>> Use a conditional expression against title. http://pmwiki.org/wiki/PmWiki/ConditionalMarkup
>> Look at the match regexpression condition.
>>
>> cheers
>>
>> Simon
>>
>> 2009/9/17 Randy Brown <randy at brownragfilms.com>
>> Is it possible to restrict the results of a pagelist to a range of
>> titles? My page titles all begin with yyyy-mm-dd followed by text,
>> for
>> example "2009-09-16 This is today's page title" I'd like to be able
>> to
>> restrict my pagelist results to pages whose titles fall within a
>> range, for example every page between 2009-09-14 and 2009-09-17.
>>
>> Randy
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>
>>
>>
>> --
>> ____
>> http://kiwiwiki.co.nz
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090916/4bc3f6be/attachment.html
More information about the pmwiki-users
mailing list