[Archivesspace_Users_Group] Is it possible to customise the OAI-PMH feeds?

Nick Butler npwb2 at cam.ac.uk
Mon Oct 28 12:14:04 EDT 2019


Hi Andrew,

Thank you very much for this approach - a quick monkey patch works perfectly! If it's possible to get Primo to accept EAD then we'll probably try to go down that route (we may be in the same situation with other OAI providers at a later date), but this is precisely what I asked for and may end up being very useful indeed.

Best wishes,
Nick

-----Original Message-----
From: Andrew Morrison <andrew.morrison at bodleian.ox.ac.uk<mailto:Andrew%20Morrison%20%3candrew.morrison at bodleian.ox.ac.uk%3e>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:Archivesspace%20Users%20Group%20%3carchivesspace_users_group at lyralists.lyrasis.org%3e>>
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:Archivesspace%20Users%20Group%20%3carchivesspace_users_group at lyralists.lyrasis.org%3e>>
Subject: Re: [Archivesspace_Users_Group] Is it possible to customise the OAI-PMH feeds?
Date: Mon, 28 Oct 2019 14:49:57 +0000

If you do want to modify oai_dc.rb, you either need to do so to a fork of the source then build your own production system, or monkey patch the OAIDCMapper class via a plug-in containing a backend/plugin_init.rb

Andrew.


On Mon, 2019-10-28 at 12:14 +0000, Nick Butler wrote:
Hi all,

Is it possible to customise, say, the oai_dc feed to include more information (e.g. notes fields)? This would allow us to pipe records directly into our Primo discovery layer without having to export them as oai_ead and convert them as a separate step.

I've found the oai_dc.rb file but changes to this file don't appear to persist beyond the next time ArchivesSpace is restarted.

Many thanks in advance for any advice.

Best wishes,
Nick

--

Nick Butler
Software Developer
Digital Services
Cambridge University Library
West Road
Cambridge CB3 9DR, UK

npwb2 at cam.ac.uk<mailto:npwb2 at cam.ac.uk>

Internal tel: 33067

_______________________________________________

Archivesspace_Users_Group mailing list

Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>

http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


_______________________________________________

Archivesspace_Users_Group mailing list

Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>

http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


--

Nick Butler
Software Developer
Digital Services
Cambridge University Library
West Road
Cambridge CB3 9DR, UK

npwb2 at cam.ac.uk<mailto:npwb2 at cam.ac.uk>

Internal tel: 33067
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20191028/31e16b44/attachment.html>


More information about the Archivesspace_Users_Group mailing list