Changeset 21784


Ignore:
Timestamp:
2010-03-15T11:54:57+13:00 (14 years ago)
Author:
kjdon
Message:

changed OAI element to proper serviceRack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/collect/modelcol/etc/collectionConfig.xml

    r21657 r21784  
    156156  </display>
    157157  <replaceListRef id="gs2-standard"/>
    158   <OAI>
    159     <ListMetadataFormats>
    160       <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
    161       The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
    162       -->
    163       <metadataFormat metadataPrefix="oai_dc">
    164         <metadataPrefix>oai_dc</metadataPrefix>
    165         <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
    166         <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
    167         <!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>             
    168         -->
    169         <mappingList>
    170       <!--
    171       The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
    172       The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
    173       searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
    174       number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
    175       if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
    176      
    177       **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
    178          
    179       **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
     158  <serviceRackList>
     159    <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
     160    <serviceRack name="OAIPMH">
     161      <ListMetadataFormats>
     162    <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
     163    The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
     164    -->
     165    <metadataFormat metadataPrefix="oai_dc">
     166      <metadataPrefix>oai_dc</metadataPrefix>
     167      <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
     168      <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
     169      <!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>             
    180170      -->
    181       <mapping>dc.Title,Title</mapping>
    182       <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
    183         </mappingList>
    184       </metadataFormat>
    185     </ListMetadataFormats>
    186   </OAI>   
    187 
     171      <mappingList>
     172        <!--
     173        The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
     174        The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
     175        searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
     176        number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
     177        if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
     178       
     179        **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
     180       
     181        **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
     182        -->
     183        <mapping>dc.Title,Title</mapping>
     184        <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
     185      </mappingList>
     186    </metadataFormat>
     187      </ListMetadataFormats>
     188    </serviceRack>
     189  </serviceRackList>
    188190</CollectionConfig>
Note: See TracChangeset for help on using the changeset viewer.