writeat - process pod6 files
Minimal book template is:
=begin pod =TITLE Main title =SUBTITLE mini subtitle =for DESCRIPTION tag:<tag1 tag2> asd asd =begin CHANGES Dec 09th 2012(v0.1)[zag] Start =end CHANGES =AUTHOR Alex Zahatski =for CHAPTER Test chapter =for head1 :published<'2013-01-10T09:09:09Z'> :updated<'2013-02-27T10:30:01Z'> = :tag<setup> Begining =head2 Second level The following text ... =end pod writeat -type docbook file.pod6 > file.xml
or writeat [options] [file] -- [render oprions]
[options]: -help - print help message -man - print man page -type - output format (docbook, latex, atom) -render,-r - use class for render (option -type ignored) (default: off) -lang - set language ( default: en ) -enable_published - filter :publish attributes (default: off) -set_date '2012-11-27T09:39:18Z' - set time to filter published (default: now) [file] : filename or - for STDIN [render options]: atom: -baseurl http://example.org - base url for links -as_entry head1 - use head1 for atom entry (default =CHAPTER) atom example: writeat -t atom -lang en \ -enable_published \ -set_date '2012-11-27T09:39:18Z' \ - \ -- -level head1 -baseurl http://example.org < exportatom.pod6
Print a brief help message and exit
Prints manual page and exit
use class for render (-type ignored)
-type
=begin pod =TITLE Main title =SUBTITLE mini subtitle =for DESCRIPTION tag:<tag1 tag2> asd asd =begin CHANGES Dec 09th 2012(v0.1)[zag] Start =end CHANGES =AUTHOR Alex Zahatski =for CHAPTER Test chapter =for head1 :published<'2013-01-10T09:09:09Z'> :updated<'2013-02-27T10:30:01Z'> = :tag<setup> Begining =head2 Second level The following text ... =end pod writeat -type docbook < book.pod6
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.