WebFetch::RSS - generate or read an RSS feed for WebFetch
version 0.3.2
In perl scripts:
C<use WebFetch::RSS;>
From the command line:
C<perl -w -MWebFetch::RSS -e "&fetch_main" -- --dir directory --source rss-feed-url [...output options...]>
or
C<perl -w -MWebFetch::RSS -e "&fetch_main" -- --dir directory [...input options...]> --dest_format=rss --dest=file
This module reads news items from an RSS feed, or writes previously-fetched data to an RSS file.
For input it uses WebFetch's --source parameter to specify the URL of an RSS feed or a local file containing RSS XML text.
For output it uses WebFetch's --dest parameter to specify the RSS output file. (RSS output is not complete yet as of this release.)
RSS is an XML format defined at http://www.rssboard.org/rss-specification
WebFetch::RSS uses Perl's XML::RSS to generate or parse RSS "Really Simple Syndication" version 0.9, 0.91, 1.0 or 2.0, whichever is provided by the server. An optional "--rss_version" command-line parameter or "rss_version" initialization parameter can set the RSS version number for the parser. If not specified, it defaults to RSS 2.0.
WebFetch https://github.com/ikluft/WebFetch
Please report bugs via GitHub at https://github.com/ikluft/WebFetch/issues
Patches and enhancements may be submitted via a pull request at https://github.com/ikluft/WebFetch/pulls
Ian Kluft <https://github.com/ikluft>
This software is Copyright (c) 1998-2022 by Ian Kluft.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
To install WebFetch::RSS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebFetch::RSS
CPAN shell
perl -MCPAN -e shell install WebFetch::RSS
For more information on module installation, please visit the detailed CPAN module installation guide.