-
Notifications
You must be signed in to change notification settings - Fork 1
OAI
Oregon Digital has a standard OAI interface which currently supports Dublin Core (oai_dc) format.
Endpoint URL: https://oregondigital.org/catalog/oai
- Identify: http://oregondigital.org/catalog/oai?verb=Identify
- ListRecords: http://oregondigital.org/catalog/oai?verb=ListRecords&metadataPrefix=oai_dc
- ListSets: http://oregondigital.org/catalog/oai?verb=ListSets
- ListIdentifiers: http://oregondigital.org/catalog/oai?verb=ListIdentifiers&metadataPrefix=oai_dc
- ListRecords + Set: http://oregondigital.org/catalog/oai?verb=ListRecords&metadataPrefix=oai_dc&set=osu-yearbooks
- ListRecords with resumptionToken: http://oregondigital.org/catalog/oai?verb=ListRecords&resumptionToken=oai_dc.s(osu-yearbooks):100
Works in Oregon Digital can be in many different collections, but to enable OAI sets (and have works in only 1 collection), we created a Collection Type ('OAI Set') specifically for OAI collections, so membership in one won't affect any other collection membership. Collection IDs should be specified on creation, suffixed with _oai
. The collection titles should be suffixed with [OAI]
. These are private in the main public interface.
Configuration for the OAI interface can be found https://github.com/OregonDigital/OD2/blob/master/app/controllers/concerns/oregon_digital/blacklight_config_behavior.rb#L352
The blacklight_oai_provider gem is used, built on the ruby-oai gem.
https://github.com/OregonDigital/OD2/blob/master/app/models/solr_document.rb#L128
- OAI requests need to retrieve information from Solr, not Fedora, to provide timely responses.
- Labels should be displayed instead of URIs.
- Restricted Items should not be included.
- For compound items, only the parent object is returned, child items are not included.