Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DESTROY ISLANDORACM!!! #90

Merged
merged 3 commits into from
Sep 22, 2014
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions islandora_newspaper.module
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand All @@ -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';
Expand Down
12 changes: 2 additions & 10 deletions xml/collection/islandora_newspaper_collection_policy.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<collection_policy xmlns="http://www.islandora.ca"
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">
<content_models>
<content_model dsid="ISLANDORACM" name="New TIFF" namespace="islandora:collection"
pid="islandora:newspaperCModel"/>
<content_model dsid="ISLANDORACM" name="New TIFF" namespace="islandora:collection"
pid="islandora:collectionCModel"/>
</content_models>
<collection_policy xmlns="http://www.islandora.ca" 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">
<search_terms/>
<relationship>isMemberOfCollection</relationship>
</collection_policy>
</collection_policy>
18 changes: 0 additions & 18 deletions xml/content_models/newspaperCModel.xml

This file was deleted.

18 changes: 0 additions & 18 deletions xml/content_models/newspaperIssueCModel.xml

This file was deleted.

28 changes: 0 additions & 28 deletions xml/content_models/newspaperPageCModel.xml

This file was deleted.