The importer makes sense for ListRecords and ListIdentifiers - the other OAI verbs could be supported in form of fixes, e.g. ListSets:
oai_sets('http://oai.example.org/'); # result as object in field 'oai_sets'
oai_sets('http://oai.example.org/','sets'); # result as object in field 'sets'
oai_sets(url); # from server given in field 'url'
echo '{"url":"http://export.arxiv.org/oai2"}' | catmandu convert --fix 'oai_sets(url)'
The fixes could be:
oai_sets - ListSets
oai_identify - Identify
oai_formats - ListMetadataFormats
Given a list of OAI Base URL as input one could get more information about the repositories with this fixes.
The importer makes sense for ListRecords and ListIdentifiers - the other OAI verbs could be supported in form of fixes, e.g. ListSets:
The fixes could be:
Given a list of OAI Base URL as input one could get more information about the repositories with this fixes.