Re: [RSS2-Support] format
- Hi David, this is exactly the right place to ask this kind of question.According to the spec, the date must be in the format of all other dates in RSS. "All date-times in RSS conform to the Date and Time Specification of RFC 822, with the exception that the year may be expressed with two characters or four characters (four preferred)."The pubdate in  is not legal. (But some aggregators will understand it anyway.) I just tried it in Radio and it does *not* understand this format.Dave----- Original Message -----From: David P. HansenSent: Saturday, October 19, 2002 3:13 AMSubject: [RSS2-Support] <pubDate> formatHi,
I hope this is the right forum - otherwice, feel free to flame me ;-)
I'm currently trying to write a robot in perl that parses RSS 2.0 from
some registered sites.
My problem is the <pubDate> sub-element of <item>. I would like to be
able to get this date/time, parse it, and make a timestamp out of it.
The question is: is the date format always in rfc822 format? Or could
the author of the RSS just select whatever format he would like to?
E.g. is the <pubDate> in  legal?
Well... thanks alot, and have a nice weekend!
David P. Hansen - dave@... - http://dave.dk
DIKU - Dept. of Computer Science, University of Copenhagen
To unsubscribe from this group, send an email to:
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.