Islandora Newspaper and Paged content

NOTE: we need islandora main module fron Git with Newspaper from Git.

cd github/islandora
git clone git://github.com/Islandora/islandora.git
git clone git://github.com/Islandora/islandora_solution_pack_collection.git
rm -R /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora_solution_pack_collection
mv islandora_solution_pack_collection /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/
cp -R islandora/* /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/islandora/
cd github/islandora
git clone git://github.com/Islandora/islandora_paged_content.git
mv islandora_paged_content /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/

Browse to DRUPAL/admin/modules and enable Coreā†’File

Then enable Paged content and configure it browsing to DRUPAL/admin/islandora/paged_content

cd github/islandora
git clone git://github.com/Islandora/islandora_solution_pack_newspaper.git
mv islandora_solution_pack_newspaper /usr/share/v2p2.to.cnr.it/sites/all/modules/islandora/

Browse to DRUPAL/admin/modules and enable it.
Then configure it browsing to DRUPAL/admin/islandora/newspaper

Verify object ingesting browsing to DRUPAL/admin/islandora/solution_packs

NOTE: for this git version some RELS-EXT relations are needed.

Main node: islandora:newspaper_collection
RELS-EXT

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:fedora="info:fedora/fedora-system:def/relations-external#" xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:islandora="http://islandora.ca/ontology/relsext#">
  <rdf:Description rdf:about="info:fedora/islandora:newspaper_collection">
    <fedora-model:hasModel rdf:resource="info:fedora/islandora:collectionCModel"></fedora-model:hasModel>
    <fedora:isMemberOfCollection rdf:resource="info:fedora/islandora:root"></fedora:isMemberOfCollection>
  </rdf:Description>
</rdf:RDF>


Paper collection (child of main node): islandora:1314
RELS-EXT

<rdf:RDF xmlns:fedora="info:fedora/fedora-system:def/relations-external#" xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:islandora="http://islandora.ca/ontology/relsext#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="info:fedora/islandora:1314">
    <fedora-model:hasModel rdf:resource="info:fedora/islandora:newspaperCModel"></fedora-model:hasModel>
    <fedora:isMemberOfCollection rdf:resource="info:fedora/islandora:newspaper_collection"></fedora:isMemberOfCollection>
  </rdf:Description>
</rdf:RDF>


Issue 1 (member of Paper collection): guardian:19110103
RELS-EXT

<rdf:RDF xmlns:fedora="info:fedora/fedora-system:def/relations-external#" xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:islandora="http://islandora.ca/ontology/relsext#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="info:fedora/guardian:19110103">
    <fedora-model:hasModel rdf:resource="info:fedora/islandora:newspaperIssueCModel"></fedora-model:hasModel>
    <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/islandora:1314"></isMemberOf>
    <isSequenceNumber xmlns="http://islandora.ca/ontology/relsext#">1</isSequenceNumber>
    <dateIssued xmlns="http://islandora.ca/ontology/relsext#">2010-10-05</dateIssued>
  </rdf:Description>
</rdf:RDF>


Issue 2 (member of Paper collection): islandora:1234
RELS-EXT

<rdf:RDF xmlns:fedora="info:fedora/fedora-system:def/relations-external#" xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:islandora="http://islandora.ca/ontology/relsext#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="info:fedora/islandora:1234">
    <fedora-model:hasModel rdf:resource="info:fedora/islandora:newspaperIssueCModel"></fedora-model:hasModel>
    <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/islandora:1314"></isMemberOf>
    <isSequenceNumber xmlns="http://islandora.ca/ontology/relsext#">2</isSequenceNumber>
    <dateIssued xmlns="http://islandora.ca/ontology/relsext#">2012-04-10</dateIssued>
  </rdf:Description>
</rdf:RDF>


Page example: islandora:1234-1
RELS-EXT

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="info:fedora/islandora:1234-1">
    <hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/islandora:newspaperPageCModel"></hasModel>
    <isSequenceNumber xmlns="http://islandora.ca/ontology/relsext#" rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</isSequenceNumber>
    <isPageNumber xmlns="http://islandora.ca/ontology/relsext#" rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</isPageNumber>
    <isPageOf xmlns="http://islandora.ca/ontology/relsext#" rdf:resource="info:fedora/islandora:1234"></isPageOf>
    <isSection xmlns="http://islandora.ca/ontology/relsext#" rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</isSection>
    <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/islandora:1234"></isMemberOf>
  </rdf:Description>
</rdf:RDF>