Ignore:
Timestamp:
2010-03-15T15:41:11+13:00 (12 years ago)
Author:
kjdon
Message:

tidied up the oai stuff again

File:
1 edited

Legend:

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

    r21788 r21793  
    8181    <serviceRack name="OAIPMH">
    8282        <ListMetadataFormats>
    83             <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
    84       The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
     83    <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
     84    The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
    8585      -->
    86             <metadataFormat metadataPrefix="oai_dc">
    87                 <metadataPrefix>oai_dc</metadataPrefix>
    88                 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
    89                 <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
    90                 <mappingList>
    91                     <!--
    92       The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
    93       The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
    94       searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
    95       number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
    96       if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
    97      
    98       **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.
    99       -->
    100                     <mapping>dc.Title,dls.Title</mapping>
    101                     <mapping>dc.Subject,dls.Subject</mapping>
    102                     <mapping>dc.Language,dls.Language</mapping>
    103                     <mapping>dc.Organization,dls.Organization</mapping>
    104                 </mappingList>
    105             </metadataFormat>
    106         </ListMetadataFormats>
     86    <metadataFormat metadataPrefix="oai_dc">
     87      <metadataPrefix>oai_dc</metadataPrefix>
     88      <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
     89      <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
     90      <!--   a custom mapping as this collection doesn't have dc metadata -->     <mappingList>
     91        <mapping>dc:title,dls.Title</mapping>
     92        <mapping>dc:subject,dls.Subject</mapping>
     93        <mapping>dc:language,dls.Language</mapping>
     94        <mapping>dc:publisher,dls.Organization</mapping>
     95      </mappingList>
     96    </metadataFormat>
     97      </ListMetadataFormats>
    10798    </serviceRack>
    10899  </serviceRackList>
Note: See TracChangeset for help on using the changeset viewer.