| Catmandu::Importer::Z3950(3pm) | User Contributed Perl Documentation | Catmandu::Importer::Z3950(3pm) |
Catmandu::Importer::Z3950 - Package that imports Z3950 data
# On the command line
$ catmandu convert Z3950 --host z3950.loc.gov --port 7090 --databaseName Voyager --query "(title = dinosaur)"
# From Perl
use Catmandu;
my $importer = Catmandu->importer('Z3950'
host => 'z3950.loc.gov',
port => 7090,
databaseName => "Voyager",
preferredRecordSyntax => "USMARC",
queryType => 'PQF', # CQL or PQF
query => '@attr 1=4 dinosaur'
);
my $n = $importer->each(sub {
my $hashref = $_[0];
...
});
$ catmandu convert Z3950 \
--user 'XXX' \
--password 'XXX' \
--host z3950.bnf.fr \
--port 2211 \
--databaseName TOUT-ANA1-UTF8 \
--preferredRecordSyntax Unimarc \
--queryType PQF \
--query '@attr 1=7 9782744024191' \
--handler UNIMARC
This package uses the ZOOM package internally. For more info visit: http://search.cpan.org/~mirk/Net-Z3950-ZOOM-1.28/lib/ZOOM.pod
The ZOOM package has a hard dependency on YAZ toolkit. For more info about YAZ, visit: https://www.indexdata.com/yaz
Installing YAZ: - (osx, using homebrew): brew install yaz - (linux, using yum): yum install yaz libyaz
Catmandu::Iterable
| 2023-02-04 | perl v5.36.0 |