The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

parse_feed \*STDIN, sub handler {}

NAME

  atom2file  - render html files from atom file

SYNOPSIS

  atom2file -template contrib/template.tmpl < atom.xml
 

   [options]:

    -help  - print help message
    -man   - print man page
    -template file - TT2 template file
    -prefix path - directory path for store files to

TEMPLATE

Template call with the following keys for each atom entry:

          {
            'published' => '2012-11-27T09:39:19Z',
            'link' => {
                        'rel' => 'alternate',
                        'href' => 'http://example.com/Test-chapter.htm',
                        'type' => 'text/html',
                        'title' => 'Test chapter'
                      },
            'category' => [
                        'perl',
                        'install',
                        'linux'
                        ],
            'content' => 'HTML text',
            'updated' => '2012-12-17T13:29:08Z',
            'id' => 'http://example.com;Test chapter',
            'title' => 'Test chapter'
            'next' =>{ next atom node},
            'prev' =>{ previus atom node}

          }

OPTIONS

-help

Print a brief help message and exit

-man

Prints manual page and exit

DESCRIPTION

    atom2file - render html files from atom file 

EXAMPLE

    atom2file -template contrib/template.tmpl -prefix /tmp < atom.xml


    writeat -t atom - -- -baseurl "." -as_entry head1< test.pod6 >test.atom
    atom2file  -prefix 1 < test.atom

AUTHOR

Zahatski Aliaksandr, <zahatski@gmail.com>

COPYRIGHT AND LICENSE

Copyright 2013 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.