diff --git a/islandora_newspaper.module b/islandora_newspaper.module index c17f872..c8efe87 100644 --- a/islandora_newspaper.module +++ b/islandora_newspaper.module @@ -159,12 +159,6 @@ function islandora_newspaper_islandora_required_objects(IslandoraTuque $connecti $newspaper_content_model->owner = 'fedoraAdmin'; $newspaper_content_model->label = 'Islandora Newspaper Content Model'; $newspaper_content_model->models = 'fedora-system:ContentModel-3.0'; - // ISLANDORACM datastream. - $datastream = $newspaper_content_model->constructDatastream('ISLANDORACM', 'X'); - $datastream->label = 'Islandora Newspaper Content Model'; - $datastream->mimetype = 'text/xml'; - $datastream->setContentFromFile("$module_path/xml/content_models/newspaperCModel.xml", FALSE); - $newspaper_content_model->ingestDatastream($datastream); // DS-COMPOSITE-MODEL datastream. $datastream = $newspaper_content_model->constructDatastream('DS-COMPOSITE-MODEL', 'X'); $datastream->label = 'DS-COMPOSITE-MODEL'; @@ -177,12 +171,6 @@ function islandora_newspaper_islandora_required_objects(IslandoraTuque $connecti $newspaper_issue_content_model->owner = 'fedoraAdmin'; $newspaper_issue_content_model->label = 'Islandora Newspaper Issue Content Model'; $newspaper_issue_content_model->models = 'fedora-system:ContentModel-3.0'; - // ISLANDORACM datastream. - $datastream = $newspaper_issue_content_model->constructDatastream('ISLANDORACM', 'X'); - $datastream->label = 'Islandora Newspaper Issue Content Model'; - $datastream->mimetype = 'text/xml'; - $datastream->setContentFromFile("$module_path/xml/content_models/newspaperIssueCModel.xml", FALSE); - $newspaper_issue_content_model->ingestDatastream($datastream); // DS-COMPOSITE-MODEL datastream. $datastream = $newspaper_issue_content_model->constructDatastream('DS-COMPOSITE-MODEL', 'X'); $datastream->label = 'DS-COMPOSITE-MODEL'; @@ -195,12 +183,6 @@ function islandora_newspaper_islandora_required_objects(IslandoraTuque $connecti $newspaper_page_content_model->owner = 'fedoraAdmin'; $newspaper_page_content_model->label = 'Islandora Newspaper Page Content Model'; $newspaper_page_content_model->models = 'fedora-system:ContentModel-3.0'; - // ISLANDORACM datastream. - $datastream = $newspaper_page_content_model->constructDatastream('ISLANDORACM', 'X'); - $datastream->label = 'Islandora Newspaper Page Content Model'; - $datastream->mimetype = 'text/xml'; - $datastream->setContentFromFile("$module_path/xml/content_models/newspaperPageCModel.xml", FALSE); - $newspaper_page_content_model->ingestDatastream($datastream); // DS-COMPOSITE-MODEL datastream. $datastream = $newspaper_page_content_model->constructDatastream('DS-COMPOSITE-MODEL', 'X'); $datastream->label = 'DS-COMPOSITE-MODEL'; diff --git a/xml/collection/islandora_newspaper_collection_policy.xml b/xml/collection/islandora_newspaper_collection_policy.xml index 45720ce..6891582 100644 --- a/xml/collection/islandora_newspaper_collection_policy.xml +++ b/xml/collection/islandora_newspaper_collection_policy.xml @@ -3,11 +3,11 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Newspaper collection" xsi:schemaLocation="http://www.islandora.ca http://syn.lib.umanitoba.ca/collection_policy.xsd"> - - isMemberOfCollection - \ No newline at end of file + diff --git a/xml/content_models/newspaperCModel.xml b/xml/content_models/newspaperCModel.xml deleted file mode 100644 index 6916c1e..0000000 --- a/xml/content_models/newspaperCModel.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - text/xml - image/jpg - image/jpeg - application/xml - application/rdf+xml - - - - - - - - - - diff --git a/xml/content_models/newspaperIssueCModel.xml b/xml/content_models/newspaperIssueCModel.xml deleted file mode 100644 index 6916c1e..0000000 --- a/xml/content_models/newspaperIssueCModel.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - text/xml - image/jpg - image/jpeg - application/xml - application/rdf+xml - - - - - - - - - - diff --git a/xml/content_models/newspaperPageCModel.xml b/xml/content_models/newspaperPageCModel.xml deleted file mode 100644 index 844a7c6..0000000 --- a/xml/content_models/newspaperPageCModel.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - text/xml - image/tiff - image/tif - image/jp2 - image/jpg - image/jpeg - text/plain - application/xml - application/rdf+xml - - - - - - - - - - - - - - - -