NAME

WebFetch::Input::RSS - get headlines for WebFetch from RSS feed

VERSION

version 0.2.1

SYNOPSIS

In perl scripts:

use WebFetch::Input::RSS;

From the command line:

perl -w -MWebFetch::Input::RSS -e "&fetch_main" -- --dir directory --source rss-feed-url [...WebFetch output options...]

DESCRIPTION

This module reads news items from an RSS feed.

This module uses WebFetch's --source parameter to specify the URL of an RSS feed or a local file containing RSS XML text.

RSS FORMAT

RSS is an XML format defined at http://www.rssboard.org/rss-specification

WebFetch::Input::RSS uses Perl's XML::RSS to 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.

SEE ALSO

WebFetch https://github.com/ikluft/WebFetch

BUGS AND LIMITATIONS

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

AUTHOR

Ian Kluft <https://github.com/ikluft>

COPYRIGHT AND LICENSE

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