NAME

App::Zapzi::Transform - routines to transform Zapzi articles to readable HTML

VERSION

version 0.015

DESCRIPTION

This class takes text or HTML and returns readable HTML.

ATTRIBUTES

raw_article

Object of type App::Zapzi::FetchArticle to get original text from.

transformer

Name of the transformer to use. If not specified it will choose the best option based on the content type of the raw article and set this field.

readable_text

Holds the readable text of the article

title

Title extracted from the article

error

Holds details of any errors encountered while transforming the article; will be blank if no errors.

METHODS

to_readable

Converts raw_article to readable text. Returns true if converted OK.

AUTHOR

Rupert Lane <rupert@rupert-lane.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 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.