Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
repo:jpglr [2013/06/18 10:47]
giancarlo
repo:jpglr [2013/06/18 10:49] (current)
giancarlo
Line 103: Line 103:
 </WRAP> </WRAP>
  
-===== Fedora Commons bookCModel =====+===== Fedora Commons pageCModel =====
 Add the new service to RELS-EXT datastream: Add the new service to RELS-EXT datastream:
 <WRAP prewrap center> <WRAP prewrap center>
 <code xml> <code xml>
-<?xml version="1.0"?> 
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-  <rdf:Description rdf:about="info:fedora/islandora:bookCModel"> +  <rdf:Description rdf:about="info:fedora/islandora:pageCModel"> 
-    <hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/fedora-system:ContentModel-3.0"/> +    <hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/fedora-system:ContentModel-3.0"></hasModel
-    <hasService xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/islandora:viewerSdef"/> +    <hasService xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/islandora:viewerSdef"></hasService> 
-    <hasService xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/openbess:dc2picoSdef"/>+    <hasService xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/islandora:jp2Sdef"></hasService> 
 +    <hasService xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/islandora:tei2htmlSdef"></hasService
 +    <hasService xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/openbess:jpgldSdef"></hasService>
   </rdf:Description>   </rdf:Description>
 </rdf:RDF> </rdf:RDF>
-</code> 
-</WRAP> 
-===== Oaiprovider (proai) configuration =====  
-Add new metada format to proai.properties: 
-<WRAP prewrap center> 
-<code> 
-... 
-driver.fedora.md.formats = oai_dc pico 
-driver.fedora.md.format.oai_dc.loc = http://www.openarchives.org/OAI/2.0/oai_dc.xsd 
-driver.fedora.md.format.pico.loc = http://www.culturaitalia.it/opencms/export/sites/culturaitalia/attachments/schemas/1.0/pico.xsd 
-driver.fedora.md.format.oai_dc.uri = http://www.openarchives.org/OAI/2.0/oai_dc/ 
-driver.fedora.md.format.pico.uri = http://purl.org/pico/1.0/ 
-driver.fedora.md.format.oai_dc.dissType = info:fedora/*/DC 
-driver.fedora.md.format.pico.dissType = info:fedora/*/openbess:dc2picoSdef/dc2pico 
-... 
 </code> </code>
 </WRAP> </WRAP>
  
-===== Result example =====  
-Harvesting fron this URL 
-<code> 
-http://fc1.to.cnr.it/oaiprovider/?verb=GetRecord&identifier=oai:fc1.to.cnr.it:openbess:TO043-00057&metadataPrefix=pico  
-</code> 
-return this: 
-<WRAP prewrap center> 
-<code xml> 
-<?xml version="1.0" encoding="UTF-8"?> 
-<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/                              http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"> 
-  <responseDate>2012-07-11T10:03:19Z</responseDate> 
-  <request verb="GetRecord" identifier="oai:fc1.to.cnr.it:openbess:TO043-00057" metadataPrefix="pico">http://fc1.to.cnr.it/oaiprovider/</request> 
-  <GetRecord> 
-    <record> 
-      <header> 
-        <identifier>oai:fc1.to.cnr.it:openbess:TO043-00057</identifier> 
-        <datestamp>2012-07-11T10:02:03Z</datestamp> 
-        <setSpec>digibess:openbess:cognetti:directors</setSpec> 
-      </header> 
-      <metadata> 
-        <pico:record xmlns:pico="http://purl.org/pico/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xsi:schemaLocation="http://purl.org/pico/1.0/ http://www.culturaitalia.it/opencms/export/sites/culturaitalia/attachments/schemas/1.0/pico.xsd"> 
-          <dc:title>Monografie di soci e allievi del laboratorio di economia politica : 1909-911</dc:title> 
-          <dc:creator>R. Università di Torino</dc:creator> 
-          <dc:subject>Economia, lavoro, società</dc:subject> 
-          <dc:subject xsi:type="pico:Thesaurus">http://culturaitalia.it/pico/thesaurus/4.2#libri</dc:subject> 
-          <dc:publisher>s.n.</dc:publisher> 
-          <dc:date>2012-01-16</dc:date> 
-          <dc:type xsi:type="dcterms:DCMIType">Text</dc:type> 
-          <dc:identifier>openbess:TO043-00057</dc:identifier> 
-          <dcterms:isReferencedBy xsi:type="pico:Anchor">title=visualizza la scheda esterna; url=http://www.digibess.it/fedora/repository/openbess:TO043-00057</dcterms:isReferencedBy> 
-          <pico:preview xsi:type="dcterms:URI">http://www.digibess.it/fedora/repository/openbess:TO043-00057/TN</pico:preview> 
-          <dc:language>it</dc:language> 
-        </pico:record> 
-      </metadata> 
-    </record> 
-  </GetRecord> 
-</OAI-PMH> 
-</code> 
-</WRAP> 
  
 
 
repo/jpglr.txt · Last modified: 2013/06/18 10:49 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki