Browse Source

ISLANDORA-214 Update Newspaper issue content model to allow ingest.

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
74b204b5f8
  1. 9
      plugins/islandora_newspaper/islandora_newspaper.module
  2. 2
      plugins/islandora_newspaper/newspapers_issueCModel_islandoracm.xml

9
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",

2
plugins/islandora_newspaper/newspapers_issueCModel_islandoracm.xml

@ -1,4 +1,4 @@
<content_model name="Newspaper" xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.islandora.ca http://localhost/islandoracm.xsd">
<content_model name="Newspaper" xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.islandora.ca http://localhost/islandoracm.xsd" version="2">
<mimetypes>
<type>text/xml</type>
</mimetypes>

Loading…
Cancel
Save