CDLUC3 / mrt-doc

Documentation and Information regarding the Merritt repository
8 stars 4 forks source link

Alter PQ2MARC.xsl to incorporate requests from UCSD #379

Closed elopatin-uc3 closed 4 years ago

elopatin-uc3 commented 4 years ago

Summary

Initial request via FreshDesk ticket from Jim Nyun, Head, Music and Media Metadata, Metadata Services Program, UCSD: https://cdl.freshdesk.com/a/tickets/44518

XSL file: https://github.com/CDLUC3/uc3-etds/blob/master/xsl/PQ2MARC.xsl

Requests from Jim: 01 In this condition:

is fulfilled a 793 is added with the following text. Only, we’d like to have a **period** at the end. CURRENT: $aOpen access resource; selected by the UC San Diego Library.$peScholarship online dissertations NEW: $aOpen access resource; selected by the UC San Diego Library.$peScholarship online dissertations**.** 02 Insert at the end of the 856 field that is generated when the embargo code = 0, a MARC subfield 7 with value 0 [zero]: 0 Open Access via eScholarship 0 03 Would like to change one further line of code so that our records output with an encoding level “7” instead of “K”. OCLC, where we will be sending these records, is retiring the letter codes in preference for the numeric values baked into MARC 21. I suspect the other institutions that might use a version of this script would be interested in the same change. CURRENTLY: 02211nam a2200289**K**i 4500 NEW: 02211nam a2200289**7**i 4500 #### Tasks - [x] Update typo. Add period; line 680 - [x] Subfield addition - [x] Character change, specific to UCSD; line 500
elopatin-uc3 commented 4 years ago

PR available: https://github.com/CDLUC3/uc3-etds/pull/2/files

elopatin-uc3 commented 4 years ago

Pushed changes to stage and prod. No great way to test that I know of, though I'm not concerned considering the nature of the changes (they're minor).

I will tail the logs when createmarc.py runs tomorrow at 1:30pm.

elopatin-uc3 commented 4 years ago

Production run went fine. New UCI ETDs came through. Jim Nyun (UCSD) and I will touch base when new UCSD content moves through the ETDs service.