Skip to content
Ryan Wick edited this page Feb 22, 2017 · 9 revisions

Accessing OAI

OregonDigital has a standard OAI interface which supports Dublin Core (oai_dc) and Qualified Dublin Core (oai_qdc). It can be accessed at /oai with standard verbs. Example URLs:

Configuration

Configuration for OD's OAI interface can be found in app.yml, which is used by https://github.com/OregonDigital/oregondigital/blob/master/lib/oregon_digital/oai/provider.rb.

The Ruby-OAI gem is used: https://github.com/code4lib/ruby-oai

Mapping OAI terms in OregonDigital

https://github.com/OregonDigital/oregondigital/blob/master/lib/oregon_digital/oai/concern.rb

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.

Thumbnails

A thumbnails controller was written to provide the thumbnail image URL given the item's pid. This was used with a template in Primo by MWDL.

This image 'request': http://oregondigital.org/thumbnails/oregondigital-h989r3203.jpg

Resolves to the actual file: http://oregondigital.org/media/thumbnails/3/0/oregondigital-h989r3203.jpg

Known Harvesters

Needs Updating

Other Information