Sample custom MARC exporter demonstarted at the 2018 Code4Lib pre-conference workshop. Enables following customizations to MARC exporter.
Currently defined in output as “xx”=Unknown. Should be the location of the repository. Define as “dcu”=District of Columbia.
Currently defined as “u”=Unknown. Should be “i”=ISBD punctuation is used.
Currently very generic, but will be defined as: <datafield tag=”040” ind2=” “ ind1=” “> psels eng dacs psels
This is where the date info is currently mapped to. However, we want it mapped to the 264, subfield c:
264, subfield c (Date): <datafield tag=”264” ind2=”0“ ind1=” “> [whatever the date info is].
Currently rather generic. Will be defined: <datafield tag=”852” ind2=” “ ind1=” “> Code4Lib 2018 2500 Calvert St NW, Washington, DC 20008 [Collection number]
- Stop the application
- Clone plugin into the archivesspace/plugins directory
- Modify config.rb (in archivesspace/config) to list custom-marc-exporter
- Restart the application /archivesspace/archivesspace.sh