Changeset 30086

Show
Ignore:
Timestamp:
03.08.2015 11:47:04 (4 years ago)
Author:
kjdon
Message:

updated the OAI configuration

Location:
main/trunk/greenstone3/web/sites/localsite/collect
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/collect/gs2mgdemo/etc/collectionConfig.xml

    r27136 r30086  
    8282    </display> 
    8383    <replaceListRef id="gs2-standard"/> 
    84         <serviceRackList> 
    85         <!-- comment out the following serviceRack if you want to disable OAI for this collection --> 
    86         <serviceRack name="OAIPMH"> 
    87             <ListMetadataFormats> 
    88             <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here. 
    89             The support of unqualified Dublin Core metadata set is mendatory in the oai specification. 
    90             --> 
    91                 <metadataFormat metadataPrefix="oai_dc"> 
    92                     <metadataPrefix>oai_dc</metadataPrefix> 
    93                     <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema> 
    94                     <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace> 
    95                     <!--   a custom mapping as this collection doesn't have dc metadata --> 
    96                     <mappingList> 
    97                         <mapping>dc:title,dc.Title</mapping> 
    98                         <mapping>dc:subject,dc.Subject</mapping> 
    99                         <mapping>dc:language,dc.Language</mapping> 
    100                         <mapping>dc:publisher,dls.Organization</mapping> 
    101                     </mappingList> 
    102                 </metadataFormat> 
    103             </ListMetadataFormats> 
    104         </serviceRack>  
    105     </serviceRackList> 
     84    <serviceRackList> 
     85      <!-- comment out the following serviceRack if you want to disable OAI for this collection --> 
     86      <serviceRack name="OAIPMH"> 
     87    <setName>MG demo collection</setName> 
     88    <setDescription>A demo collection for greenstone, using MG and GDBM.</setDescription> 
     89    <!-- uncomment the following and set the name attribute if you want this 
     90         collection to be part of a super set. --> 
     91    <!--<oaiSuperSet name="xxx"/>--> 
     92    <ListMetadataFormats> 
     93      <!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like: 
     94           <metadataFormat metadataPrefix="prefix"/> --> 
     95      <metadataFormat metadataPrefix="oai_dc"> 
     96        <!--   a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set --> 
     97        <element name="dc:publisher"> 
     98          <mapping elements="dls.Organization"/> 
     99        </element> 
     100      </metadataFormat> 
     101    </ListMetadataFormats> 
     102      </serviceRack> 
     103    </serviceRackList> 
    106104</CollectionConfig> 
  • main/trunk/greenstone3/web/sites/localsite/collect/gs2mgppdemo/etc/collectionConfig.xml

    r27096 r30086  
    8787    <replaceListRef id="gs2-standard"/> 
    8888    <serviceRackList> 
    89         <!-- comment out the following serviceRack if you want to disable OAI for this collection --> 
    90         <serviceRack name="OAIPMH"> 
    91             <ListMetadataFormats> 
    92                 <!--What metadata sets to support is collection specific. To support other metadata schema, add another metadataFormat element here. 
    93             The support of unqualified Dublin Core metadata set is mandatory in the oai specification. 
    94             --> 
    95                 <metadataFormat metadataPrefix="oai_dc"> 
    96                     <metadataPrefix>oai_dc</metadataPrefix> 
    97                     <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema> 
    98                     <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace> 
    99                     <!--   a custom mapping as this collection doesn't have dc metadata --> 
    100                     <mappingList> 
    101                         <mapping>dc:title,dc.Title</mapping> 
    102                         <mapping>dc:subject,dc.Subject</mapping> 
    103                         <mapping>dc:language,dc.Language</mapping> 
    104                         <mapping>dc:publisher,dls.Organization</mapping> 
    105                     </mappingList> 
    106                 </metadataFormat> 
    107             </ListMetadataFormats> 
    108         </serviceRack> 
     89      <!-- comment out the following serviceRack if you want to disable OAI for this collection --> 
     90      <serviceRack name="OAIPMH"> 
     91    <setName>MGPP demo collection</setName> 
     92    <setDescription>A demo collection for greenstone, using MGPP and GDBM.</setDescription> 
     93    <!-- uncomment the following and set the name attribute if you want this 
     94         collection to be part of a super set. --> 
     95    <!--<oaiSuperSet name="xxx"/>--> 
     96    <ListMetadataFormats> 
     97      <!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like: 
     98           <metadataFormat metadataPrefix="prefix"/> --> 
     99      <metadataFormat metadataPrefix="oai_dc"> 
     100        <!--   a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set --> 
     101        <element name="dc:publisher"> 
     102          <mapping elements="dls.Organization"/> 
     103        </element> 
     104      </metadataFormat> 
     105    </ListMetadataFormats> 
     106      </serviceRack> 
    109107    </serviceRackList> 
    110108</CollectionConfig> 
  • main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml

    r29538 r30086  
    193193    <serviceRack name="OAIPMH"> 
    194194      <setName>Lucene demo collection</setName> 
    195       <setDescription>A demo collection for greenstone</setDescription> 
     195      <setDescription>A demo collection for greenstone, using Lucene and JDBM.</setDescription> 
    196196      <!-- uncomment the following and set the name attribute if you want this 
    197197       collection to be part of a super set. -->