Skip to content

OAI PMH (for Primo harvesting)

Dolsy Smith edited this page Jul 10, 2024 · 5 revisions

Notes

  • Configuration is located in config/initializers/oai_config.rb.
  • Options derive from Blacklight's OAI provider Gem
  • Blacklight Dublin Core schema has been modified (oai_dc_etd) to support XML attributes for the following fields (relevant to ETD's):
    • Advisor (attribute of dc:contributor)
    • Committee Member (attribute of dc:contributor)
    • Degree (attribute of dc:description)
    • GW Affiliation (attribute of dc:description)

Triggering the harvest in Primo

  • The Alma import job will run monthly, harvesting any records in the GwEtd set added since the last harvest.
  • To trigger the job manually, your Alma account must have Discovery Admin privileges.
    • Log into Alma, and from the Discovery menu, select Discovery Import Profiles.
    • From the menu to the right of the GWSS-ETD profile, select the Run option.
    • To monitor the job, select Admin->Monitor Jobs from the main Alma menu. You should also receive an email report when the job has finished.

Schema Mapping

OAI_DC_ETD
Hyrax field DC field Primo field
title <title> dc.title
creator <creator> dc.creator
description <description> dc.description
keyword <subject> dc.subject
date_created <date> dc.date
language <language> dc.language
resource_type <type> discovery.resourceType
contributor <contributor> dc.contributor
committee_member <contributor type="committee_member"> discovery.local48
advisor <contributor type="advisor"> discovery.local49
gw_affiliations <description primo_field="gw_affiliation"> discovery.local46
degree <description primo_field="degree"> discovery.local47

Note that the Hyrax fields listed above are mapped to the <metadata> elements in the OAI Dublin Core document. The <header><identifier> field in the Dublin Core document is derived from the unique Hyrax work identifier, which is not the same as the identifier field in the Hyrax metadata for a given work. This work identifier populates the dc.identifier field in the Primo mapping.