[cgi-wiki-dev] [ANNOUNCE] CGI::Wiki::Plugin::RSS::Reader
Earle Martin
cgi-wiki-dev@earth.li
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.
http://search.cpan.org/dist/CGI-Wiki-Plugin-RSS-Reader/
--
Earle Martin
hex on irc.perl.org
http://purl.oclc.org/net/earlemartin/