Babble::DataSource::OPML - OPML source fetcher for Babble
use Babble; use Babble::DataSource::OPML; my $babble = Babble->new (); $babble->add_sources ( Babble::DataSource::OPML->new ( -id => "Planet Debian", -location => "http://planet.debian.net/opml.xml", -babble => \$babble, ) ); ...
Babble::DataSource::OPML implements an unordinary data source for Babble. Instead of collecting data itself, this class parses an OPML document, and passes the information to a set of Babble::DataSource::RSS objects. For each outline, a new object is created, and the new() method returns an array of Babble::DataSource::RSS objects.
Parses the OPML document specified in the -location parameter, and returns an array of Babble::DataSource::RSS objects.
If one wants to use the caching provided by Babble, a reference to the Babble object should be passed in the -babble parameter.
Returns an error - this should not be called, ever.
Gergely Nagy, firstname.lastname@example.org
Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.