logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Importer::Blacklight - Import records from a Blacklight catalog

Configuration

       url Blacklight catalog Base URL. Required

       q   Query string to search. Required

Description

       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.

Name

       Catmandu::Importer::Blacklight - Import records from a Blacklight catalog

See Also

       <http://projectblacklight.org/> , Catmandu::Importer , Catmandu::Iterable

perl v5.36.0                                       2023-02-02                Catmandu::Importer::Blacklight(3pm)

Synopsis

           # 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];
               # ...
           });

See Also