[pmwiki-users] Expiry date of articles
Patrick R. Michaud
pmichaud at pobox.com
Sat Dec 12 08:08:27 CST 2009
On Sat, Dec 12, 2009 at 09:28:40AM +0100, Daniel wrote:
> 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,
> (:pagelist group=News fmt=#include count=10:)
> Now I want only the non-expired news-articles in my pagelist, something
> (: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.
More information about the pmwiki-users