Changeset 21792

Show
Ignore:
Timestamp:
15.03.2010 15:10:41 (10 years ago)
Author:
kjdon
Message:

added the full dc mapping as the default. no longer use DCMetadataFormat

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/WEB-INF/classes/OAIConfig.xml

    r21791 r21792  
    3333  <!-- How many sets/identifiers/records to send for the request before issuing a resumption token. A value less than 0 (e.g. -1) indicates that a complete list of records will be returned. --> 
    3434  <resumeAfter>250</resumeAfter> 
    35   <!-- These field names will be used when there is no any mapping provided in the collectionConfig.xml and OAIConfig.xml --> 
    36   <DCmetadataNames>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</DCmetadataNames> 
    3735  <!-- a list of metadata formats supported by this repository --> 
    3836  <ListMetadataFormats> 
     
    4341      <mappingList> 
    4442        <!--  
    45         This mapping will be used when there is no mapping provided in the collectionConfig.xml for the oai_dc metadata format. 
    46         The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>  
    47         The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and 
    48         searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the 
    49         number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value; 
    50         if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database. 
    51          
    52         **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. 
     43        This is the default mapping for dc metadata. It can be overridden for a collection by adding a mappingList into the oai_dc metadataFormat element in the collection's collectionConfig.xml file. 
     44        The mapping is in the form: <publicly supported metadata name>,<greenstone metadata name>, (<A>,<B>). B metadata from a document will be mapped to A.  
     45        The first metadata name is mandatory; if there is no greenstone name following, then the first name will be looked for in the documents.  
    5346        --> 
    54     <mapping>dc.Title,dls.Title</mapping> 
    55     <mapping>dc.Subject,dls.Subject</mapping>   
    56     <mapping>dc.Language,dls.Language</mapping>   
    57     <mapping>dc.Organization,dls.Organization</mapping>   
     47    <mapping>dc:title,dc.Title</mapping> 
     48    <mapping>dc:creator,dc.Creator</mapping> 
     49    <mapping>dc:subject,dc.Subject</mapping> 
     50    <mapping>dc:description,dc.Description</mapping> 
     51    <mapping>dc:publisher,dc.Publisher</mapping> 
     52    <mapping>dc:contributor,dc.Contributor</mapping> 
     53    <mapping>dc:date,dc.Date</mapping> 
     54    <mapping>dc:type,dc.Type</mapping> 
     55    <mapping>dc:format,dc.Format</mapping> 
     56    <mapping>dc:identifier,dc.Identifier</mapping> 
     57    <mapping>dc:source,dc.Source</mapping> 
     58    <mapping>dc:language,dc.Language</mapping> 
     59    <mapping>dc:relation,dc.Relation</mapping> 
     60    <mapping>dc:coverage,dc.Coverage</mapping> 
     61    <mapping>dc:rights,dc.Rights</mapping> 
    5862      </mappingList> 
    5963    </metadataFormat>