Plagger::Plugin::Filter::RSSTimeZoneString - Fix bad RFC822 timezone string in RSS 2.0
- module: Filter::RSSTimeZoneString
This plugin fixes a bad timezone string in pubDate of RSS 2.0 (or 0.91) feeds to a correct one.
Namely, when you create RSS feeds with POSIX ctime function for example, it'll create a following pubDate format if you're on the box under Japanese standard time:
ctime
Fri, 03 Mar 2006 03:52:42 JST
which is invalid in RFC 822. (RFC 822 only allows timezone strings for North America, like PST and CST).
This plugin fixes the string to:
Fri, 03 Mar 2006 03:52:42 +0900
Tatsuhiko Miyagawa
Plagger, DateTime::Format::Mail, Time::Zone, Plagger::Plugin::Filter::RSSLiberalDateTime
To install Plagger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plagger
CPAN shell
perl -MCPAN -e shell install Plagger
For more information on module installation, please visit the detailed CPAN module installation guide.