Scroll to navigation

Catmandu::Importer::SRU::Parser::meta(3pm) User Contributed Perl Documentation Catmandu::Importer::SRU::Parser::meta(3pm)

NAME

Catmandu::Importer::SRU::Parser::meta - Package transforms SRU responses metadata into a Perl hash

SYNOPSIS

  my $importer = Catmandu::Importer::SRU->new(
    base   => 'http://www.unicat.be/sru',
    query  => 'tit=cinema',
    parser => 'meta',
  );

DESCRIPTION

This Catmandu::Importer::SRU::Parser returns a single item with the SRU SearchRetrieve Response Parameters <http://www.loc.gov/standards/sru/sru-1-1.html#responseparameters> of a request.

SRU version of the response, e.g. 1.1.
Number of records matched by the query. If the query fails this will be 0.
Identifier for a result set that was created through the execution of the query.
Number of seconds after which the created result set will be deleted.
Next position within the result set following the final returned record (unless this is the last part of the result set).
An array of diagnostics, each with "uri", "details" (optional), and "message" (optional).
Additional, profile specific information.
The request parameters as hash of key-value pairs.

In addition field "requestUrl" contains the full request URL.

2021-09-02 perl v5.32.1