|
Babble::DataSource::OPML - OPML source fetcher for Babble |
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.
If one wants to use the caching provided by Babble, a reference to the Babble object should be passed in the -babble parameter.
Gergely Nagy, algernon@bonehunter.rulez.org
Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.
Babble::DataSource::RSS, Babble::DataSource, Babble::Transport
|
Babble::DataSource::OPML - OPML source fetcher for Babble |