NAME

writeat  - process pod6 files

SYNOPSIS

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

OPTIONS

-help

Print a brief help message and exit

-man

Prints manual page and exit

-render, -r class

use class for render (-type ignored)

DESCRIPTION

writeat  - process pod6 files

EXAMPLE

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 < book.pod6

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2013-2015 by Zahatski Aliaksandr

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