CPAN Ratingsの5つ星のついたものを報告するIRC bot
plagger-ircbotという素晴らしいものがあるので、push系のbotは全部これで。
実行
cronでplaggerの実行を回して、後はDedupedとか使って重複しないようにとか。
--- global: plugin_path: /home/dann/plagger/assets/plugins assets_path: /home/dann/plagger/assets timezone: Asia/Tokyo plugins: - module: Subscription::Config config: feed: - http://cpanratings.perl.org/index.rss - module: Aggregator::Simple - module: Filter::Rule rule: - expression: $args->{entry}->body =~ m/5 starts/; - module: Notify::IRC config: daemon_port: 9999 nickname: test_bot server_host: irc.freenode.net server_port: 6667 server_channels: - #test charset: utf8 announce: notice