Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gav (2710)

  (email not shown publicly)
AOL IM: flufflegavin (Add Buddy, Send Message)

Hacker in NYC.

Journal of gav (2710)

Monday June 30, 2003
11:03 PM

RSS dates

[ #13167 ]

There seems to be a bit of banter at the moment about the virtues of ISO 8601 vs RFC 822 dates. It's just a matter of using suitable tools, in the RSS parser I wrote, I don't really care as Date::Parse supports both:

use Date::Parse;
my $time = str2time( $item{'dc:date'} || $item{'pubDate'} );

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.