NAME
Babble::DataSource::RSS - RSS source fetcher for Babble
SYNOPSIS
use Babble;
use Babble::DataSource::RSS;
my $babble = Babble->new ();
$babble->add_sources (
Babble::DataSource::RSS->new (
-id => "Gergely Nagy",
-location => "http://midgard.debian.net/~algernon/blog/index.xml"
)
);
...
DESCRIPTION
Babble::DataSource::RSS implements a Babble data source class that parses an arbitary RSS feed.
METHODS
- collect()
-
This one does the bulk of the job, fetching the feed and parsing it, then returning a Babble::Document::Collection object.
If a -cache_parsed option was set when creating the object, the parsed data will be stored in the cache. This can speed up processing considreably, yet it needs much more memory too.
AUTHOR
Gergely Nagy, algernon@bonehunter.rulez.org
Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.
SEE ALSO
Babble::Document, Babble::Document::Collection, Babble::DataSource, Babble::Transport