Ignore:
Timestamp:
2015-08-03T11:47:04+12:00 (9 years ago)
Author:
kjdon
Message:

updated the OAI configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.