Bot::IRC::X::Feeds - Bot::IRC plugin to watch and notify on changes in RSS feeds
version 1.07
use Bot::IRC; Bot::IRC->new( connect => { server => 'irc.perl.org' }, plugins => ['Feeds'], vars => { 'x-feeds' => { interval => 10, max_per => 5, } }, )->run;
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
Setting the x-feeds values allows for configuration.
x-feeds
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.
You can look for additional information at:
Bot::IRC
GitHub
MetaCPAN
GitHub Actions
Codecov
CPANTS
CPAN Testers
Gryphon Shafer <gryphon@cpan.org>
This software is Copyright (c) 2016-2050 by Gryphon Shafer.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Bot::IRC::X::Feeds, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::IRC::X::Feeds
CPAN shell
perl -MCPAN -e shell install Bot::IRC::X::Feeds
For more information on module installation, please visit the detailed CPAN module installation guide.