commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Lin <m...@mathiaslin.com>
Subject RSSDigester, parsing RSS: how to get pubDate of each item instead of just the entire channel
Date Sat, 13 Dec 2008 05:13:21 GMT

I use RSSDigester to parse an rss feed. 

Usually in an RSS feed, the whole feed has a publishing date (pubDate) but
also each news item in this feed usually also has it's own publishing date
(pubDate), which usually differs little from the pubDate of the entire feed.

But RSSDigester (Item class) doesn't provide a method to retrieve the
pubDate of each item. 
I can only do a channel.getPubDate(), but not item.getPubDate()

So how can I retrieve the pubDate of each item then? 
-- 
View this message in context: http://www.nabble.com/RSSDigester%2C-parsing-RSS%3A-how-to-get-pubDate-of-each-item-instead-of-just-the-entire-channel-tp20987584p20987584.html
Sent from the Commons - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message