[Archivesspace_Users_Group] LCNAF import plugin
Majewski, Steven Dennis (sdm7g)
sdm7g at eservices.virginia.edu
Thu Dec 1 13:42:44 EST 2016
LCNAFConverter is just overriding and extending MARCXMLConverter.
https://github.com/archivesspace/archivesspace/blob/5e1ca66f1f04f142f2695024efb7200825046325/plugins/lcnaf/backend/model/lcnaf_converter.rb
There is very little MARC mapping in that code module — it’s mostly in the base class, so look at:
https://github.com/archivesspace/archivesspace/blob/5e1ca66f1f04f142f2695024efb7200825046325/backend/app/converters/marcxml_converter.rb
https://github.com/archivesspace/archivesspace/blob/5e1ca66f1f04f142f2695024efb7200825046325/backend/app/converters/lib/marcxml_base_map.rb
The bulk of the code in the plugin deal with search and selection of MARC records to import.
MARC mappings are mostly inherited from above.
<opinion>
I would suggest:
[1] simplify by ripping out the OCLC import and only use id.loc.gov<http://id.loc.gov>
[2] since there are multiple formats available from id.loc.gov<http://id.loc.gov> service, and MARC mappings are complex and difficult to understand, I would consider writing a new importer from scratch for one of these alternate formats. </opinion>
— Steve Majewski
On Dec 1, 2016, at 1:02 PM, Lapka, Francis <francis.lapka at yale.edu<mailto:francis.lapka at yale.edu>> wrote:
A group at Yale is exploring the possibility of developing data mapping improvements for the AS LCNAF import plugin. Could someone point me to the document(s) where the current mappings are documented? If such information is embedded in the code only, in which file(s) might I find it?
I’ve failed to unearth the information in my initial perusal ofhttps://github.com/archivesspace/archivesspace/tree/5e1ca66f1f04f142f2695024efb7200825046325/plugins/lcnaf, but perhaps I’m looking in the wrong places.
Thanks,
Francis
Francis Lapka · Catalog Librarian
Dept. of Rare Books and Manuscripts
Yale Center for British Art
203.432.9672 · francis.lapka at yale.edu<mailto:francis.lapka at yale.edu>
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20161201/1fc34d21/attachment.html>
More information about the Archivesspace_Users_Group
mailing list