Catmandu::SRU(3pm)

Catmandu::SRU3pm

Catmandu module for working with sru data

Usage

 # On the command line
 $ catmandu convert SRU --base http://www.unicat.be/sru --query data
 $ catmandu convert SRU --base http://www.unicat.be/sru --query data --recordSchema marcxml
 $ catmandu convert SRU --base http://www.unicat.be/sru --query data --recordSchema marcxml --parser marcxml
 # create a config file: catmandu.yml
 $ cat catmandu.yml
 ---
 importer:
   unicat:
     package: SRU
     options:
        base: http://www.unicat.be/sru
        recordSchema: marcxml
        parser: marcxml
  $ catmandu convert unicat --query data
  # If you have Catmandu::MARC installed
  $ catmandu convert unicat --query data --fix 'marc_map("245a","title"); retain_field("title")' to CSV
  # The example above in perl
  use Catmandu -load;
  my $importer = Catmandu->importer('unicat', query => 'data');
  my $fixer    = Catmandu->fixer(['marc_map("245a","title")','retain_field("title")']);
  my $export   = Catmandu->exporter('CSV');
  $exporter->add_many($fixer->fix($importer));
  $exporter->commit;

Modules

Catmandu::Importer::SRU
Catmandu::Importer::SRU::Parser
Catmandu::Importer::SRU::Parser::raw
Catmandu::Importer::SRU::Parser::simple
Catmandu::Importer::SRU::Parser::struct
Catmandu::Importer::SRU::Parser::marcxml
Catmandu::Importer::SRU::Parser::meta
Catmandu::Importer::SRU::Parser::mods
Catmandu::Importer::SRU::Parser::picaxml
Catmandu::Fix::search_sru

Contributors

Patrick Hochstenbach, "<patrick.hochstenbach at ugent.be>"

Nicolas Steenlant, "<nicolas.steenlant at ugent.be>"

Jakob Voss "<jakob.voss at gbv.de>"

Johann Rolschewski "<jorol at cpan.org>"

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12–13

Author

Wouter Willaert, "<[email protected]>"

From libcatmandu-sru-perl 0.43.0-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.