atom2file - render html files from atom file
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 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} }
Print a brief help message and exit
Prints manual page and exit
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
Zahatski Aliaksandr, <zahatski@gmail.com>
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.
To install WriteAt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WriteAt
CPAN shell
perl -MCPAN -e shell install WriteAt
For more information on module installation, please visit the detailed CPAN module installation guide.