NAME
Bot::IRC::X::Feeds - Bot::IRC plugin to watch and notify on changes in RSS feeds
VERSION
version 1.07
SYNOPSIS
use Bot::IRC;
Bot::IRC->new(
connect => { server => 'irc.perl.org' },
plugins => ['Feeds'],
vars => {
'x-feeds' => {
interval => 10,
max_per => 5,
}
},
)->run;
DESCRIPTION
This Bot::IRC plugin adds functionality so bots can watch and notify on changes in RSS feeds. You can tell the bot to start following feeds.
bot feed add URL [FORUMS]
You can optionally provide a "FORUMS" string, which is a list of channels the bot should report on for the feed. By default, the bot reports on all channels it has joined. (Requires the Bot::IRC::Join plugin.) The list of channels must be comma-delimited with no spaces.
You can list the feeds the bot is following:
bot feed list
And you can remove feeds from being watched:
bot feed remove URL
You can also remove all feeds from being watched:
bot feed remove all
Configuration Settings
Setting the x-feeds
values allows for configuration.
Bot::IRC->new(
connect => { server => 'irc.perl.org' },
plugins => ['Feeds'],
vars => {
'x-feeds' => {
interval => 10,
max_per => 5,
}
},
)->run;
The "interval" value is the time interval between calls to feeds, measured in minutes.
The "max_per" value is the number of items returned per feed per call.
The default values for all are shown in the example above.
SEE ALSO
You can look for additional information at:
AUTHOR
Gryphon Shafer <gryphon@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016-2050 by Gryphon Shafer.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)