On Sat, Dec 12, 2009 at 09:28:40AM +0100, Daniel wrote:
> Hello,
> I have a big number of small articles in a group called News.
> 
> And I have setup a page to show the 10 most recent news-articles,
> containing:
> 
> (:pagelist group=News fmt=#include count=10:)
> 
> Now I want only the non-expired news-articles in my pagelist, something
> like:
> 
> (:pagelist group=News fmt=#include if="$ExpiryDate > $Today":)
> 
> The problem is that I can find nothing about comparing dates in pmwiki.org

See http://pmwiki.org/wiki/PmWiki/ConditionalMarkup for some
examples of date comparison features.  

In general, I'd probably make use of page text variables and
the "date" condition to perform this filtering.

Pm

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to