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