Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fixes to retrieve static repository information #2

Open
nichtich opened this issue Jun 18, 2014 · 1 comment
Open

Add fixes to retrieve static repository information #2

nichtich opened this issue Jun 18, 2014 · 1 comment

Comments

@nichtich
Copy link
Member

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.

@nicolasfranck
Copy link
Contributor

nicolasfranck commented Jan 9, 2017

I've made a few branches for these:

  • list_sets:

    • Catmandu::Importer::OAI with option "listSets"
  • list_metadata_formats (sub branch of list_sets):

    • Catmandu::Importer::OAI with option "listMetadataFormats"
  • fixes:

    • Catmandu::Fix::oai_identify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants