GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DATETIME::FORMAT::RSS (3)

.ds Aq ’

NAME

DateTime::Format::RSS - Format DateTime For RSS

CONTENTS

SYNOPSIS



  use DateTime::Format::RSS;
  my $fmt = DateTime::Format::RSS->new;
  my $dt  = $fmt->parse_datetime($str);
  my $str = $fmt->format_datetime($dt);

  my $fmt = DateTime::Format::RSS->new(version => 2.0);



DESCRIPTION

DateTime::Format::RSS attempts to deal with those nasty RSS date/time strings used in fields (such as <issued>, <modified>, <pubDate>) that never ever seems to be right.

METHODS

    new

Creates a new DateTime::Format::RSS object

    parse_datetime SCALAR

Internally, it just attempts to parse the string using DateTime::Format::Mail, DateTime::Format::ISO8601, and then finally with DateTime::Format::DateParse.

    format_datetime OBJECT

Formats the given DateTime object using DateTime::Format::ISO8601

CREDITS

This module was based on Plagger’s LiberalDateTime DateTime parser.

SEE ALSO

DateTime::Format::Mail DateTime::Format::IOS8601 DateTime::Format::DateParse

AUTHORS

Copyright (c) 2006 Daisuke Maki <daisuke@endeworks.jp> All rights reserved. Tatsuhiko Miyagawa <miyagawa@bulknews.net> All rights reserved.

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DATETIME::FORMAT::RSS (3) 2008-06-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.