SFULibrary / islandora_rest_ingester

Command-line tool for ingesting objects via the Islandora REST interface
The Unlicense
3 stars 0 forks source link

Provide an MIK post-write hook script to automatically convert MIK's output so it can be used with the REST Ingester #17

Closed mjordan closed 6 years ago

mjordan commented 6 years ago

Original issue was in the MIK queue at https://github.com/MarcusBarnes/mik/issues/448.

The Move to Islandora Kit's output for single-file objects is consistent with the input required by Islandora Batch:

 sampleoutput/
 ├── foo.xml
 ├── foo.jpg
 ├── bar.xml
 ├── bar.jpg
 ├── baz.jpg
 └── baz.xml

We can use an MIK post-write hook script to convert that output to the input required by Islandora REST Ingester:

 sampleinput/
 ├── foo
 │   ├── MODS.xml
 │   └── OBJ.png
 ├── bar
 │   ├── MODS.xml
 │   └── OBJ.jpg
 └── baz
    ├── MODS.xml
    ├── TN.png
    └── OJB.jpg
mjordan commented 6 years ago

Closed with 1cdbece169948ea1d721274412d6f65ff9c25272.