[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [curn-users] pubDate in rss 2.0 supported?
On 10/26/06 13:23, Mark Fletcher wrote:
> Hi Brian,
>
> I have a 2.0 feed with items using <pubDate>, but the dates don't seem
> to be recognized by curn. Should this be supported?
Mark,
Looking at the code, the parser should recognize <pubDate> in the
<channel> and <item> elements of an RSS 2.0 feed. Can you send me a sample
of the RSS file, so I can take a look at it?
Also, note that in the upcoming curn 3.1 release, I've switched from my own
MiniRSSParser to the ROME parser. The RSS standards, particularly Atom,
are shifting fast enough that it makes more sense for me to use an actively
maintained third-party RSS parser, instead of trying to keep up on my own.
Plus, I'd rather focus on curn's features than the intricacies and nuances
of RSS parsing.
Would you mind trying the ROME parser with curn? You can enable it by
downloading rome.jar, putting it in the "lib" subdirectory beneath the curn
installation directory, and specifying this configuration parameter in the
main [curn] section:
ParserClass: org.clapper.curn.parser.rome.RSSParserAdapter
> BTW, I have control over this particular feed xml, so if you have a
> preferred rss version where the item dates will be supported, let me
> know and I make the change.
Let's see if we can straighten this problem out first.
Also, I'd be willing to make a 3.1 beta of curn available to you, if you
want to play with it; the User's Guide isn't up-to-date yet, though, so
you'd have to pay close attention to the change log.
--
-Brian
Brian Clapper, http://www.clapper.org/bmc/
I don't care if I'm a lemming. I'm not going.
---
*** Posted to the curn-users mailing list (curn-users@xxxxxxxxxxx).
Back to curn-users archive.