hapdaniel,
thanks a lot!
Actually, it seems that I can get exactly what I want with a pipe. I just need to pass on a date and Yahoo! Pipes is clever enough to figure out the date from the string given (something like "Thu, 09 Apr 2009 21:32:54 +0200") and then I can have the pipe filter out all the too-old entries.
BUT: I just now read
http://discuss.pipes.yahoo.com/Message_Boa...frt=2&off=1, which you've linked, and I guess pipes won't be the way to go then. I guess, I need to use YQL or something I develop completely on my own.
All right - as Pipes is a dead end, what would be the easiest way to sort a feed on item.pubDate using YQL? It should do a proper sort, interpreting pubDate as a date.
Oh! BTW: Sam is not correct. Doing a "| sort(field='pubDate')", YQL does *NOT* sort just lexically. Instead, pubDate is interpreted as a date! See →
http://developer.yahoo.com/yql/console/?q=...D%27pubDate%27)CODE
[...]
<item>
<pubDate>Fri, 27 Feb 2009 14:59:34 +0000</pubDate>
</item>
<item>
<pubDate>Sun, 01 Mar 2009 11:27:15 +0000</pubDate>
</item>
<item>
<pubDate>Mon, 09 Mar 2009 15:33:26 +0000</pubDate>
</item>
<item>
<pubDate>Fri, 13 Mar 2009 07:27:45 +0000</pubDate>
</item>
[...]
As you can see, the feed is sorted on the date value of pubDate and not just alphabetically. If it would've been sorted alphabetically, the "Fri," Friday entries would be together. But they aren't!
Great! So YQL is the way to go then - if now only someone could
explain the usage limits :lAlexander