Andy Dingley wrote:
> Be careful with that. RSS 1.0 and Atom use the W3C standard of ISO
> 8601 format (see also RFC3339 and http://www.w3.org/TR/NOTE-datetime )
>
> It's just RSS 0.93 and RSS 2.0 that took the opposing view (probably
> Winer's ego again) and switched to RFC822 format.
IIRC, RSS 0.91 and 0.92 also used RFC822 format. In the wild, RSS 2.0, and
to a lesser extent, RSS 0.9x seem to be the most popular formats for RSS,
RSS 1.0 being relegated to a second-class citizen. Atom is catching on,
yes, but the original question wasn't about Atom.
Personally, I think the W3C's subset of ISO 8601 is a thing of great
beauty. RFC 822 dates are a lot more clumsy, embedding the day of the week
into the date, making purely lexical sorting impossible and tying a date
format to a particular language (English).
For what it's worth, as part of my hobby project <http://demiblog.org/> I'm
including a feed generator which outputs feeds in:
- RSS 0.91
- RSS 2.0
- Atom 1.0
- iCalendar
- HTML (hCalendar microformat)
- JSON
- Serialized PHP Data
The Feed generating classes are mostly finished, even if the project is far
from complete. It hasn't had much testing yet, so probably needs a little
debugging.
Source code is here:
http://svn.sourceforge.net/viewvc/demiblog/blog/includes/DemiBlog/Feed...ass?vie
Licence is GPL.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~
http://tobyinkster.co.uk/contact
Geek of ~ HTML/CSS/Javascript/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
>> Stay informed about: ASP Date question