This is an old revision of the document!
This page covers the process of adding new objects to Credo, starting from the point when scanning and metadata is complete. Before we outline the process, here are some general tips:
There are two methods for preparing metadata for Credo, a command line interface (CLI) and a desktop application. The desktop application is the simplest and recommended method. The CLI is considerably more powerful and can accomplish a bunch of other metadata maintenance tasks. The documentation for the CLI lives at its own page.
To set it up:
Windows
1) Go to r:/credo/metadata/utilities/mods_UI/Windows and copy the entire folder named 'MODS' to somewhere in your profile, e.g. your Documents folder.
2) Enter your local copy, right-click on the MODS.exe file, select “Send to” and select Desktop. This should create a shortcut to your local version on your Desktop.
3) Launch the app by double-clicking the shortcut.
Mac
1) Go to r:/credo/metadata/utilities/mods_UI/Mac and copy MODS.app to your local Applications folder (or anywhere locally on your Mac).
2) Launch the application by double-clicking MODS.app.
To use the app, press the “Open” button to browse to a folder you want to check. Once the folder is selected (the full path should appear in the bar at the top), press “Run” to check the files. If the files have no errors, the app will automatically add IDs, so no need to do an extra step. If there are errors, the app will list the files and errors. Next to each error is an open button which will open that file in your default application so you can fix. Once fixed, select “Rerun” and hope for the best!
The QA application must be run on every MODS file before it is ingested into Credo. It's also probably wise to run again if items have been edited.
The CLI program is stored in r:/credo/metadata/utilities/mods/mods and called mods.exe. It is easiest if you put a ticket into LTS to have this script moved to a folder in your PATH. They will know what this means. Unfortunately, this can only be done by someone with admin privileges to your computer.
This script can do a whole bunch of mildly useful things but for the purpose of preparing metadata, it:
The script must be run on every item before it is ingested into Credo. It's also probably wise to run again if items have been edited.
To prepare a batch of files for ingest you will need to run two separate commands:
$ mods -c [folder]
This will check all files in a specified folder for errors. If the script returns to the prompt without displaying any information, the files in the folder are ok.
$ mods -Iwu [folder]
This will add the IDs and URLs to the MODS records. Once both of these commands have been run, the files are ready for Credo.
Once the files are prepared, they need to be uploaded to Credo.
credo.library.umass.edu
, the username is fedora, and Aaron R. will give you the password.
It's generally easiest to drag actual metadata files into the ingest folder but it's worth knowing that the ingest process doesn't care, as long as there is a file with the object PID and the extension '.xml'. The file can be empty or something completely different. Credo trivia!