Skip to content
Ryan Wick edited this page Jul 17, 2025 · 3 revisions

Oregon Digital has a standard OAI interface which currently supports Dublin Core (oai_dc) format.

Endpoint URL: https://oregondigital.org/catalog/oai

OAI Sets

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

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.

Metadata Mapping to OAI

https://github.com/OregonDigital/OD2/blob/master/app/models/solr_document.rb#L128

Considerations

  • 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.
Clone this wiki locally