NAME
App::Zapzi::Roles::Transformer - role definition for transformer modules
VERSION
version 0.008
DESCRIPTION
This defines the transformer role for Zapzi. Transformers take articles in their native format and transform it to 'simple HTML' for consumption by an eReader.
ATTRIBUTES
input
Object of type App::Zapzi::FetchArticle to get original text from.
readable_text
Holds the readable text of the article
title
Title extracted from the article
REQUIRED METHODS
name
Name of transformer visible to user.
handles($content_type)
Returns true if this implementation handles the specified content_type, eg 'text/html'.
transform
Transform input to readable text and title.
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.