/
View dependency graph
Depends on
- libcatmandu-mods-perl (libcatmandu-mods-perl)
- libcatmandu-perl (libcatmandu-perl)
- libmodule-build-perl (libmodule-build-perl)
- libtest-exception-perl (libtest-exception-perl)
- libtest-http-localserver-perl (libtest-http-localserver-perl)
- liburi-perl (liburi-perl)
- libxml-libxml-simple-perl (libxml-libxml-simple-perl)
- libxml-struct-perl (libxml-struct-perl)
- libxml-xpath-perl (libxml-xpath-perl)
- libyaml-libyaml-perl (libyaml-libyaml-perl)
- perl (perl)
- debhelper-compat, libcpanel-json-xs-perl, libmoo-perl, libnamespace-clean-perl
Used by
README (full)
NAME
Catmandu::SRU - Catmandu module for working with SRU data
SYNOPSIS
# 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
SEE ALSO
Catmandu, Catmandu::Importer, Catmandu::Fix, Catmandu::Exporter,
Catmandu::MARC
AUTHOR
Wouter Willaert, <[email protected]>
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>
LICENSE AND COPYRIGHT
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
| dir | debian/ |
| dir | lib/ |
| dir | t/ |
| file | Build.PL |
| file | Changes |
| file | LICENSE |
| file | MANIFEST |
| file | META.json |
| file | META.yml |
| file | README |
| file | cpanfile |
| file | dist.ini |