Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a post-write hook that renames files to use PIDs from existing objects #478

Open
mjordan opened this issue Aug 3, 2018 · 0 comments
Assignees

Comments

@mjordan
Copy link
Collaborator

mjordan commented Aug 3, 2018

It would be very useful to be able to produce MODS.xml files or others so they are named ready to be used as input to Islandora Datastream CRUD. The main use case here is using MIK to regenerate MODS files from CSV input for bulk replacement of bad or incomplete MODS datastreams (yes that is sadly a real thing) of MODS that were-good-enough-at-the-time-of-initial-ingest-but-now-that-collection-owners-have-changed-their-minds-we-need-to-replace-the-MODS. 😞

Since Datastream CRUD requires that filesnames encode the target object's PID, e.g., islandora_1300_MODS.xml, this post-write script would need a filename -> CRUD-friendly filename map. This could be supplied in an external CSV file.

@mjordan mjordan self-assigned this Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant