Changeset 30085

Show
Ignore:
Timestamp:
03.08.2015 11:46:25 (4 years ago)
Author:
kjdon
Message:

updated the OAI configuration

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/collect/solr-jdbm-demo/etc/collectionConfig.xml

    r29417 r30085  
    217217    <replaceListRef id="gs2-standard"/> 
    218218    <serviceRackList> 
    219         <serviceRack name="RSSRetrieve"/> 
    220         <!-- comment out the following serviceRack if you want to disable OAI for this collection --> 
    221         <serviceRack name="OAIPMH"> 
    222             <ListMetadataFormats> 
    223                 <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here. 
    224                     The support of unqualified Dublin Core metadata set is mandatory in the oai specification. 
    225                 --> 
    226                 <metadataFormat metadataPrefix="oai_dc"> 
    227                     <metadataPrefix>oai_dc</metadataPrefix> 
    228                     <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema> 
    229                     <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace> 
    230                     <!--   a custom mapping as this collection doesn't have dc metadata -->                     
    231                     <mappingList>                        
    232                         <mapping>dc:title,dc.Title</mapping> 
    233                         <mapping>dc:subject,dc.Subject</mapping> 
    234                         <mapping>dc:language,dc.Language</mapping> 
    235                         <mapping>dc:publisher,dls.Organization</mapping>                     
    236                     </mappingList> 
    237                 </metadataFormat> 
    238             </ListMetadataFormats> 
    239         </serviceRack> 
     219      <serviceRack name="RSSRetrieve"/> 
     220      <!-- comment out the following serviceRack if you want to disable OAI for this collection --> 
     221      <serviceRack name="OAIPMH"> 
     222        <setName>SOLR demo collection</setName> 
     223        <setDescription>A demo collection for greenstone, using SOLR and JDBM.</setDescription> 
     224        <!-- uncomment the following and set the name attribute if you want this 
     225         collection to be part of a super set. --> 
     226        <!--<oaiSuperSet name="xxx"/>--> 
     227        <ListMetadataFormats> 
     228          <!--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: 
     229               <metadataFormat metadataPrefix="prefix"/> --> 
     230          <metadataFormat metadataPrefix="oai_dc"> 
     231        <!--   a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set --> 
     232        <element name="dc:publisher"> 
     233          <mapping elements="dls.Organization"/> 
     234        </element> 
     235          </metadataFormat> 
     236        </ListMetadataFormats> 
     237      </serviceRack> 
    240238    </serviceRackList> 
    241239</CollectionConfig>