[cgi-wiki-dev] [ANNOUNCE] CGI::Wiki::Plugin::RSS::Reader
Wed, 5 May 2004 13:20:14 +0100
As of today a new plugin is available on CPAN,
CGI::Wiki::Plugin::RSS::Reader. It uses LWP::Simple and XML::RSS to make it
easy to embed RSS feeds into your wiki nodes.
my $rss = CGI::Wiki::Plugin::RSS::Reader->new(
url => 'http://example.com/feed.rss'
my @items = $rss->retrieve;
This will give you back an array of hashes each containing a pair of one
feed item's title and its URL, suitable for inclusion in a macro. It can
also be given a file path to an RSS file rather than an URL if so desired.
hex on irc.perl.org