Babble::Processors::Extra - Extra processors for Babble
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" } }));
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.
Babble::Processors::Extra
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.
This processor takes the -parent_map field of the source and copies all fields listed in -parent_map from the channel, to the current item.
Gergely Nagy, algernon@bonehunter.rulez.org
Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.
Babble, Babble::Processors
To install Babble, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Babble
CPAN shell
perl -MCPAN -e shell install Babble
For more information on module installation, please visit the detailed CPAN module installation guide.