NAME
App::Zapzi::FetchArticle - routines to get articles for Zapzi
VERSION
version 0.010
DESCRIPTION
These routines get articles, either via HTTP or from the file system and returns the raw HTML or text.
ATTRIBUTES
source
Pass in the source of the article - either a filename or a URL.
validated_source
The actual source used to fetch the article, eg the full filename derived from the partial filename passed in to source.
fetcher
Name of the module that was used to fetch the article.
text
Holds the raw text of the article
content_type
MIME content type for text.
error
Holds details of any errors encountered while retrieving the article; will be blank if no errors.
METHODS
fetch
Retrieves the article and returns 1 if OK. Text of the article can then be found in text.
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.