[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

sb-rss.el date oddities



Hello,

`shimbun-rss-process-date' expects ISO 8601 date but RSS 2.0
allows RFC 822 dates: http://blogs.law.harvard.edu/tech/rss

E.g. the theregister.co.uk RSS sets <pubDate> in the format

     <pubDate>Mon, 24 Jan 2005 22:11:15 GMT</pubDate>

and `shimbun-rss-process-date' returns just "2005".  Maybe one
should extend the date regexp to "^\\(...)" (note the '^') and
return (or date "") if `date' doesn't match.

So there is the possibility that a MUA has to deal with screwed
dates but i guess all MUAs have some way to deal with broken
headers.

David