LibreCat / Catmandu-OAI

Catmandu modules for working with OAI repositories
https://metacpan.org/release/Catmandu-OAI
3 stars 2 forks source link

Add fixes to retrieve static repository information #2

Open nichtich opened 10 years ago

nichtich commented 10 years ago

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:

Given a list of OAI Base URL as input one could get more information about the repositories with this fixes.

nicolasfranck commented 7 years ago

I've made a few branches for these: