-
-
20 May 2019 13:06:51 UTC
- Distribution: Catmandu-OAI
- Module version: 0.19
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (482 / 0 / 10)
- Kwalitee
Bus factor: 4- % Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (18.6KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 8 contributors- Nicolas Steenlant, C<< <nicolas.steenlant at ugent.be> >>
-
Christian Pietsch
-
Jakob Voss
-
Matthias Vandermaesen
-
Nicolas Franck
-
Nicolas Steenlant
-
Patrick Hochstenbach
-
Yanick Champoux
NAME
Catmandu::Store::OAI - A Catmandu store backed by OAI-PMH
SYNOPSIS
# From the command line # Export data from OAI $ catmandu export OAI --url http://somewhere.org/oai to JSON > data.json # Export only one record $ catmandu export OAI --url http://somewhere.org/oai --id 1234 # Export from a set $ catmandu export OAI --url http://somewhere.org/oai --bag fulltext # From Perl use Catmandu; my $store = Catmandu->store('OAI', url => ' http://somewhere.org/oai '); # All bags are iterators $store->bag->each(sub { ... }); $store->bag->take(10)->each(sub { ... }); my $rec = $store->bag->get('1234');
METHODS
new(url => $url , metadataPrefix => $metadataPrefix , handler => $handler)
Create a new Catmandu::Store::OAI store connected to baseURL $url.
INHERITED METHODS
This Catmandu::Store implements:
Each Catmandu::Bag in this Catmandu::Store implements:
SEE ALSO
Catmandu::Store , Catmandu::Importer::OAI
AUTHOR
Patrick Hochstenbach,
patrick.hochstenbach at ugent.be
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.
Module Install Instructions
To install Catmandu::OAI, copy and paste the appropriate command in to your terminal.
cpanm Catmandu::OAI
perl -MCPAN -e shell install Catmandu::OAI
For more information on module installation, please visit the detailed CPAN module installation guide.