Back to TextExtract
Comments
given, I want to extract content from several news pages, like
{(extract '.' News.* -News.RecentChanges -News.Uebersicht -News.*-Talk prefix=link lines=3 cut='!')}
Is there a way to sort the page processing by the age of the pages (e.g. last edit or so), so that the latest news are displayed on top?
Ingo vonBorstel? September 09, 2008, at 10:26 AM
HansB: I think you could install PowerTools and use the (pagelist ...) with normal PageLists#pagelistorder sort order parameters to provide the list of pages inside the (extract ..) expression, for instance like this:
{(extract . (pagelist name=News.*,-News.RecentChanges,-News.Uebersicht,-News.*-Talk order=-ctime) prefix=link lines=3 cut='!')}