OAI-PMH Settings
How To Find Your OAI Sets And Records
Find Your Harvesting URL
- Contact your systems manager if you need help finding your base harvesting URL. It may look something like this: https://cdm16007.contentdm.oclc.org/oai/oai.php
- To view all sets visible for harvest, add “?verb=ListSets” to the end of the link as shown above. Your link will now look like this: https://cdm16007.contentdm.oclc.org/oai/oai.php?verb=ListSets. This page will display all of your sets in XML format. Take note of the setSpec values for the next step.
- To view the metadata records of a specific set, you’ll need to determine the metadata schema you want to view your records in and choose a setSpec from the previous step. In this example, we’ll view the records in Qualified Dublin Core and view the State Library of Ohio Rare Books Collection, for which Set Spec value is “p267401cdi.”
Add the following string to your base harvesting URL: “?verb=ListRecords&set=[setSpec chosen above]&metadataPrefix=oai_qdc.”
The URL is now https://cdm16007.contentdm.oclc.org/oai/oai.php?verb=ListRecords&set=p267401cdi&metadataPrefix=oai_qdc.
This link will display the metadata in XML format. You can see how each metadata value is mapped. Review a few records to make sure your metadata is displaying as expected.
Disable Page Level Metadata In OAI-PMH Feed
DPLA requires all items in the metadata to be in an item level record, and not in individual page level records. Please take a moment to review your OAI-PMH output settings. If you’re using CONTENTdm, please check the following settings:
CONTENTdm Administration > “Administration” tab > “Harvesting”
The “Enable compound object pages” option in the “OAI-PMH” section allows you to enable or disable this functionality. This setting should be disabled for page-level records.
If you’re using another Digital Assessment Management System, please contact your server administrator to determine whether there are similare settings in your system.