-
Notifications
You must be signed in to change notification settings - Fork 2
Batch Update
The University of Alberta has extended the batch ingestion functionality from the upstream Avalon project to have the ability to update descriptive metadata via a manifest spreadsheet.
Please make sure you are familiar with the way batch ingestion works before using this feature. In particular, read this page:
https://wiki.dlib.indiana.edu/display/VarVideo/Batch+Ingest+Package+Format
For this feature, we have introduced a 'Media Object' column that allows you to specify which media object to update, e.g., the manifest file placed in the collection dropbox might look like:
| A | B | C | |
|---|---|---|---|
| 1 | My edit batch | [email protected] | |
| 2 | Media Object | Title | Language |
| 3 | avalon:90210 | New title | fre |
| 4 | avalon:11235 | Edited title | eng |
See the file in our repository at spec/fixtures/dropbox/example_batch_ingest/batch_update_manifest.xlsx for another example.
Run the batch ingest as usual with bundle exec rake avalon:batch:ingest. The objects with IDs avalon:90210 and avalon:11235 will have their titles and languages updated.
The feature currently will not ingest files as part of the update -- if you include a 'File' column with a 'Media Object' column, the update will fail. (This might be included in a future update to this feature.)
All of the descriptive metadata fields listed in the batch ingest documentation should be available for update with this feature.