App::Zapzi::FetchArticle - routines to get articles for Zapzi
version 0.017
These routines get articles, either via HTTP or from the file system and returns the raw HTML or text.
Pass in the source of the article - either a filename or a URL.
The actual source used to fetch the article, eg the full filename derived from the partial filename passed in to source.
Name of the module that was used to fetch the article.
Holds the raw text of the article
MIME content type for text.
Holds details of any errors encountered while retrieving the article; will be blank if no errors.
Retrieves the article and returns 1 if OK. Text of the article can then be found in text.
Rupert Lane <rupert@rupert-lane.org>
This software is copyright (c) 2015 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.
To install App::Zapzi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Zapzi
CPAN shell
perl -MCPAN -e shell install App::Zapzi
For more information on module installation, please visit the detailed CPAN module installation guide.