NAME

App::Zapzi::Publish - create eBooks from Zapzi articles

VERSION

version 0.012

DESCRIPTION

This class takes a collection of cleaned up HTML articles and creates eBooks. It will find the best publisher module that matches the required publication type.

ATTRIBUTES

format

Format to publish eBook in.

folder

Folder of articles to publish.

encoding

Encoding to use when publishing. Options are ISO-8859-1 and UTF-8, default depends on the publisher.

archive_folder

Folder to move articles to after publication - undef means don't move.

filename

Returns the file that the published ebook is stored in.

collection_data

Returns the raw data (eg combined HTML) produced by the publisher - for testing.

METHODS

publish

Publish an eBook in the specified format to the ebook directory. Returns the size of the eBook or 0 on failure.

AUTHOR

Rupert Lane <rupert@rupert-lane.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Rupert Lane.

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