NAME
Catmandu::Importer::AlephX - Package that imports metadata records from the AlephX service
SYNOPSIS
use Catmandu::Importer::AlephX;
my $importer = Catmandu::Importer::AlephX->new(
url => 'http://ram19:8995/X' ,
query => 'WRD=(art)' ,
base => 'usm01' ,
);
my $n = $importer->each(sub {
my $hashref = $_[0];
# ...
});
METHODS
new(url => '...' , base => '...' , query => '...')
Create a new AlephX importer. Required parameters are the url baseUrl of the AlephX service, an Aleph 'base' catalog name and a 'query'.
count
each(&callback)
...
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited. The Catmandu::Importer::AlephX methods are not idempotent: Twitter feeds can only be read once.
AUTHOR
Patrick Hochstenbach patrick dot hochstenbach at ugent dot be