NAME
Babble::Processors::Extra - Extra processors for Babble
SYNOPSIS
use Babble;
use Babble::Processors::Extra;
my $babble = Babble->new
(-processors => [ \&Babble::Processors::Extra::creator_map ]);
$babble->add_sources (Babble::DataSource::RSS->new (
-location => $some_location,
-creator_map => { joe => { author => "Joe R. Blogger" } }));
DESCRIPTION
Babble::Processors::Extra
is a collection of optional, yet useful processors for Babble. In some circumstances, one might wish to use them. However, none of these are enabled by default, since they usually require some configuration.
METHODS
- creator_map()
-
This processor takes the -creator_map field of the source and if an items creator matches a key of it, adds all the keys from the hash pointed to by the source's key to the item.
AUTHOR
Gergely Nagy, algernon@bonehunter.rulez.org
Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.
SEE ALSO
Babble, Babble::Processors