Zahatski Aliaksandr > WriteAt-0.03 > WriteAt::To::Atom

Download:
WriteAt-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: WriteAt-0.05

NAME ^

WriteAt::To::Atom - Atom renderer

SYNOPSIS ^

        new WriteAt::To::Atom:: 
            lang=>'en', 
            baseurl=>'http://example.com',
            #set date to filter items by 'published' attr
            set_date=> '2012-07-20T09:00:00Z' 
                      | '2012-07-20 09:00:00'
                      | '2012-07-20',
            #set all entries without 'published' attr
            # to published anyway
            default_published => 1

get_time_stamp_from_string <str>

Get time stamp from strnigs like this:

        2012-11-27T09:39:19Z
        2012-11-27 09:39:19
        2012-11-27 09:39
        2012-11-27 09
        2012-11-27

return unixtimestamp

unixtime_to_string timestamp

Return

syntax highlighting: