Re: How to convert RSS dates to second since epoch?



Duke of Hazard wrote:

2008-03-23T20:58:50-04:00

This is not an RSS date. RSS uses RFC-822-style dates, such as:

Sun, 30 Mar 2008 19:03:40 +0100

The date format you posted is and ISO-8601 date, as used by e.g. Atom.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 4 days, 5:22.]

Cognition 0.1 Alpha 6
http://tobyinkster.co.uk/blog/2008/03/29/cognition-alpha6/
.



Relevant Pages

  • Re: Multiple s
    ... So the embedded output content is pretty much implied to be ... HTML. ... Is this a quick hack to put some RSS ... to really judge what the "master" format ought to be. ...
    (comp.text.xml)
  • Delphi BlogSphere Parsed
    ... Well I have pulled down and parsed the delphi blog xml feeds that I could ... I would like to aggregate the rss feed items into a single chronological ... I can do this fairly painlessly with RSS 2.0 because its date format ...
    (borland.public.delphi.non-technical)
  • Re: Supplemental Result Pages
    ... sorry for posting all urls, but i was trying to ask that is this ... format of rss is valid for search engines? ...
    (alt.internet.search-engines)
  • Re: php with rss
    ... needed for an rss feed. ... Several XML packages can make it easier for you, ... format in one of thousands of rss tutorials, make sure your PHP output ... conforms to that format and you're done. ...
    (comp.lang.php)
  • How to format this date?
    ... When the dataset is created from a database the date text format change when Thread.CurrentThread.CurrentCulture change. ... Here is my code which create the dataset from the XML (RSS 2.0 Format) ... Dim news As New XmlDocument ...
    (microsoft.public.dotnet.framework.aspnet)