MODS editing
From UA Libraries Digital Services Planning and Documentation
(Difference between revisions)
Jlderidder (Talk | contribs) |
Jlderidder (Talk | contribs) |
||
Line 6: | Line 6: | ||
* '''changeDate''' (this will either add or change the recordChangeDate field in the MODS in a specified directory) | * '''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) | + | * '''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_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) | * '''getPurlsCN_xml''' (obtains PURLs in xml form, incorporating input of identifiers with call numbers on the same line) | ||
Line 13: | Line 13: | ||
* '''relocate_all.pl''' (for use ONLY with Electronic Theses and Dissertations (ETDs) | * '''relocate_all.pl''' (for use ONLY with Electronic Theses and Dissertations (ETDs) | ||
* '''relocate.pl''' (for use ONLY with non-ETD MODS) | * '''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) | + | * '''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) | + | * '''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) | + | * '''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") |
Revision as of 11:24, 3 March 2016
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).
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")
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)