The Move to Islandora Kit is an extensible PHP command-line tool for converting source content and metadata into packages suitable for importing into Islandora (or other digital repository and preservations systems).
unzip the attached file, move the .ini, mappings, and metadata files out of the resulting directory, and adjust paths in the .ini file to suit your local environment.
in the mik directory, run ./mik -c issue-391.ini.
running tree on your output directory should reveal a structure.xml file in each of the compound object directories.
Github issue: (#391)
What does this Pull Request do?
Adds a shutdown hook script to generate
structure.xml
files for compound objects.What's new?
This PR adapts https://github.com/MarcusBarnes/islandora_compound_batch/blob/master/extras/scripts/create_structure_files.php for use as a shutdown hook script.
This does not depend on #396.
How should this be tested?
./mik -c issue-391.ini
.tree
on your output directory should reveal astructure.xml
file in each of the compound object directories.Additional Notes
We should update https://github.com/MarcusBarnes/mik/wiki/Shutdown-hooks to document this new script.
Interested parties
@MarcusBarnes