In the latest version of ArchivesSpace, the OAI gem was upgraded to version v1.0.0. That means the OAI identifiers are now being generated/expected with a colon between namespace and prefix, rather than slash.
The URl should be updated to:https://test.archivesspace/oai?verb=Identify
So oai URIs that used to look like:
/oai?verb=GetRecord&identifier=oai:archivesspace/#{@test_resource_record}&metadataPrefix=oai_dctermsnow become:
/oai?verb=GetRecord&identifier=oai:archivesspace:{Resource ID}&metadataPrefix=oai_dctermsThis is now in conformance with OAI-PMH guidelines.
This change also means that the base URL no longer works if there is a slash after the /oai
So while this URL may have worked in the past: https://test.archivesspace.org/oai/?verb=ListSets
It now should be: https://test.archivesspace.org/oai?verb=ListSets
Here are some examples of URLs that do work now on the latest version of ArchivesSpace:
https://test.archivesspace.org/oai?verb=ListRecords&metadataPrefix=oai_dc
https://test.archivesspace.org/oai?verb=Identify
0 Comments