From 74b204b5f8426946ad65815d05ecdf2c4ddd6171 Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Mon, 28 Mar 2011 05:27:46 -0300 Subject: [PATCH] ISLANDORA-214 Update Newspaper issue content model to allow ingest. --- plugins/islandora_newspaper/islandora_newspaper.module | 9 +++++---- .../newspapers_issueCModel_islandoracm.xml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/islandora_newspaper/islandora_newspaper.module b/plugins/islandora_newspaper/islandora_newspaper.module index e70e3882..91116323 100644 --- a/plugins/islandora_newspaper/islandora_newspaper.module +++ b/plugins/islandora_newspaper/islandora_newspaper.module @@ -12,11 +12,12 @@ function islandora_newspaper_required_fedora_objects() { 'title' => 'Islandora Newspaper', 'objects' => array( array( - 'foxml_file' => "$module_path/newspapers_issueCModel.xml", + //'foxml_file' => "$module_path/newspapers_issueCModel.xml", 'pid' => 'newspapers:issueCModel', - 'dsid' => NULL, - 'datastream_file' => NULL, - 'dsversion' => NULL, + 'dsid' => 'ISLANDORACM', + 'cmodel' => 'fedora-system:ContentModel-3.0', + 'datastream_file' => "$module_path/islandora_issueCModel_islandoracm.xml", + 'dsversion' => 2, ), array( 'foxml_file' => "$module_path/newspapers_pageCModel.xml", diff --git a/plugins/islandora_newspaper/newspapers_issueCModel_islandoracm.xml b/plugins/islandora_newspaper/newspapers_issueCModel_islandoracm.xml index 83b95dd3..81a8f894 100644 --- a/plugins/islandora_newspaper/newspapers_issueCModel_islandoracm.xml +++ b/plugins/islandora_newspaper/newspapers_issueCModel_islandoracm.xml @@ -1,4 +1,4 @@ - + text/xml