Catmandu::Importer::Blacklight - Import records from a Blacklight catalog
# From the command line $ catmandu convert Blacklight --url http://lib.ugent.be/catalog -q Schopenhauer # In perl use Catmandu::Importer::Blacklight; my $importer = Catmandu::Importer::Blacklight->new( url => "...", q => "..." ); my $n = $importer->each(sub { my $hashref = $_[0]; # ... });
Blacklight catalog Base URL. Required
Query string to search. Required
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited. The Catmandu::Importer::Blacklight methods are not idempotent: Blacklight feeds can only be read once.
http://projectblacklight.org/ , Catmandu::Importer , Catmandu::Iterable
To install Catmandu::Blacklight, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::Blacklight
CPAN shell
perl -MCPAN -e shell install Catmandu::Blacklight
For more information on module installation, please visit the detailed CPAN module installation guide.