MODS editing

From UA Libraries Digital Services Planning and Documentation
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
As noted in [[Server support]], the Head of Digital Services provides a number of scripts and mount points to enable the metadata librarians to upload, extract, search for, and modify MODS (and upload ETD content).
+
As noted in [[Server support]], the Head of Metadata & Digital Services provides a number of scripts and mount points to enable the metadata librarians to upload, extract, search for, and modify MODS (and upload ETD content).
  
 
The following is a list of scripts in use (as of 3/10/15) for the metadata librarians:
 
The following is a list of scripts in use (as of 3/10/15) for the metadata librarians:

Latest revision as of 12:39, 17 June 2016

As noted in Server support, the Head of Metadata & Digital Services provides a number of scripts and mount points to enable the metadata librarians to upload, extract, search for, and modify MODS (and upload ETD content).

The following is a list of scripts in use (as of 3/10/15) for the metadata librarians:

on the libcontent server:

  • changeDate (this will either add or change the recordChangeDate field in the MODS in a specified directory)
  • fixMODS (a search-and-replace script for MODS that places the revised ones in a specified directory, requiring a tab-delimited text input file. MODS that are modified are placed in MODS directory on server within a directory named for today's date, for review and then relocating into Acumen. )
  • getPurlsCN_txt (obtains PURLs in text form, incorporating input of a list of identifiers with call numbers on the same line)
  • getPurlsCN_xml (obtains PURLs in xml form, incorporating input of identifiers with call numbers on the same line)
  • getPurls_txt (obtains PURLs in text form, incorporating input of a list of identifiers)
  • getPurls_xml (obtains PURLs in xml form, incorporating input of identifiers)
  • relocate_all.pl (for use ONLY with Electronic Theses and Dissertations (ETDs)
  • relocate.pl (for use ONLY with non-ETD MODS)
  • findName (will locate and copy MODS from Acumen that have a namePart element value specified as an argument in quotes on the commandline. MODS are placed in S:\Metadata\Staging\username\MODSedits\MODS\requested\)
  • findRegEx (will locate and copy MODS from Acumen that have an element value specified in tab-delimited input file -- one regex per line -- with optional tag field in second column and optional collection number in third column. MODS are placed in S:\Metadata\Staging\username\MODSedits\MODS\requested\)
  • getMods (will locate and copy MODS from Acumen based on commandline (collection ID, item ID or range of items) or a tab-delimited text file with one entry per line. MODS are placed in S:\Metadata\Staging\username\MODSedits\MODS\ and Manifest for validation is placed in MODS are placed in S:\Metadata\Staging\username\MODSedits\Manifests\ with timestamp before ".xml")


NOTE On the libcontent server, the "MODSedits" directory is a window into the share drive for the user, that points to S:\Metadata\Staging\username\MODSedits\ so content can more easily be moved around if necessary.


On the ETD server (etd01.lib.ua.edu), other scripts are available, for pre-processing Electronic Theses and Dissertations (see Electronic Theses and Dissertations):

  • moveContent (looks for zip files in the FTP directory, and collects them up into a directory named for the day's date)
  • processEtds (pulls zip files from selected directory, unzips, counts, checks, creates a manifest, assigns identifiers and PURLs, determines embargo release date, and inserts information into the InfoTrack.bornDigital database table for content management)
  • partial (processes already unzipped files in a selected area -- same process as above)
Personal tools