NAME

App::PerlWatcher::Watcher::Rss - Watches RSS feed and returns last news headers as clickable Eventitems.

VERSION

version 0.17

SYNOPSIS

# use the following config for Engine:

       {
           class => 'App::PerlWatcher::Watcher::Rss',
           config => {
               url         =>  'http://www.opennet.ru/opennews/opennews_all.rss',
               title       =>  'opennet',
               frequency   => 60,
               timeout     => 10,
               items       =>  5,
               on          => {
                       ok      => { 1  => 'notice' },
                       fail    => { 10 => 'info/max'   },
               },
           },
       },

ATTRIBUTES

url

The RSS feed URL

items_number

The number of news items to be displayed

last_items

Last fetched rss items.

AUTHOR

Ivan Baidakou <dmol@gmx.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Ivan Baidakou.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.