SFULibrary / islandora_rest_ingester

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

Provide a mechanism to indicate a content model #11

Closed mjordan closed 6 years ago

mjordan commented 6 years ago

For children of compound objects, the child's content model is determined by the extension of its OBJ file. Some content models do not use OBJ datastreams, such as islandora:entityCModel and islandora:personCModel. Also, some content models use an OBJ datastream, but associate it with an broad mime type such as application/octet-stream.

This module should provide a way to specify a content model, e.g. an object-level file named 'cmodel.txt' that contains the PID of the desired content model.

mjordan commented 6 years ago

This is being rolled into #9.