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



On Mar 29, 7:41 am, Duke of Hazard <squ...@xxxxxxxxxxxxxxxxxxx> wrote:
Any suggestions apart from brute force to convert a date like this:

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

to seconds since 1970 ?

Should work with strtotime(). I have a feed parser for both RSS and
ATOM and it successfully converts the dates using strtotime().
.



Relevant Pages

  • [ANN] RSS Parser 0.1.7
    ... Atom support ... DublinCore module with RSS 2.0 support ... RSS::Maker.make can make Atom feed document. ...
    (comp.lang.ruby)
  • Re: BSF4REXX Event Listener
    ... This means that the introspection of the class 'com.sun.syndication.fetcher.impl.HttpURLFeedFetcher' did not yield information about events that class fires. ... publishing RSS and Atom feeds. ... You can parse to an RSS object model, ...
    (comp.lang.rexx)
  • Re: BSF4REXX implementation of Java fragment
    ... publishing RSS and Atom feeds. ... You can parse to an RSS object model, ...
    (comp.lang.rexx)
  • [ANN] feed-normalizer 1.5.0 Released
    ... An extensible Ruby wrapper for Atom and RSS parsers. ... Feed normalizer wraps various RSS and Atom parsers, ...
    (comp.lang.ruby)
  • Re: Entourage
    ... Entourage can't read RSS or Atom. ... There's also a free NetNewsWire Lite, which you should give a try, ...
    (microsoft.public.mac.office.entourage)