StaffGuide: CONTENTdm Cookbook

Recipes for Metadata Entry for the University of Arkansas Libraries

Sample Queries for CONTENTdm OAI Metadata

The following are based on the documentation at the Mountain West Digital Library.

Once you navigate to the appropriate URL, you may have to right-click the page and View Page Source to see the XML.


Identifies the OAI provider:

List sets

Lists all the collections (sets) on your server:

List metadata formats

Lists all the metadata formats on your server. The format "oai_dc" is required of all OAI providers.

List identifiers

Gives the header information only for all records (starts with first group of headers, in this case 200):

For the next group of headers, use the "resumptionToken" value at the end of the results:

List records

List the records from one collection, in this case "BAD Times":

Change the collection name to get another set.  Use the collection "nickname," for example, "Cyrus." 

Lists the records from all collections (first group of records, in this case the first 1000):

For the next group of records, insert the "resumptionToken" value from the end of the results:

Get record

Get a particular record (e.g., item #3092 in the Ozark Folksong Collection):


Metadata queries include deleted records, which will show up as brief entires, "deleted."  Don't panic if you see these.

More Information

See The Open Archives Initiative Protocol for Metadata Harvesting section on Protocol Messages.