[Archivesspace_Users_Group] customizing the MARC exporter

Kevin Clair Kevin.Clair at du.edu
Tue Jun 23 17:01:42 EDT 2015

Hi Brian,

Thanks for that. Does this import MARCXML records that come from outside of ArchivesSpace?

What I was hoping to do is extend the current MARC export in https://github.com/archivesspace/archivesspace/blob/master/backend/app/exporters/models/marc21.rb to account for our local catalog rules, instead of our current method of doing that (which is a Perl script that downloads JSON from the API alongside the MARC export and adds the missing fields manually). This doesn't look like quite the same thing, though I'm new to Ruby so I may be missing something...  -k

From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Brian Hoffman
Sent: Monday, June 22, 2015 10:32 AM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] customizing the MARC exporter

Hi Kevin,

Here is an example of a customized MARC to Accession converter plugin. I think this might help.



On Jun 22, 2015, at 12:00 PM, Kevin Clair <Kevin.Clair at du.edu<mailto:Kevin.Clair at du.edu>> wrote:


I'm curious if anyone on the list has had any success with customizing the exports of MARCXML records for Resources in ArchivesSpace. I've seen the wiki post athttps://archivesspace.atlassian.net/wiki/pages/viewpage.action?pageId=18088140 about customizing the EAD exports, but it looks like the MARC serializer only exports datafields and subfields that are populated in the MARC export model, which doesn't seem to be something I can customize as a local plugin.

We have some local rules for populating the 001, 949, etc. fields in our catalog that I'd like to take care of in the ArchivesSpace export directly, rather than having to run the XMLs through MarcEdit or a Perl script as an intermediate step before we import them into our ILS. Any tips or sample code would be appreciated. thanks!

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150623/2776e54b/attachment.html>

More information about the Archivesspace_Users_Group mailing list