Changeset 32211


Ignore:
Timestamp:
2018-06-26T13:28:28+12:00 (3 years ago)
Author:
kjdon
Message:

moving hardcoded dc:identifier output to dynamic based on config file. gsflink.source, gsflink.document are new keywords that map to srclink and link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/resources/oai/OAIConfig.xml.in

    r31237 r32211  
    5555      <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
    5656      <elementList>
    57     <!-- <element name="oai name"/> - will look for this oai-name metadata in the document
    58         <element name="oai-name"><mapping select="allvalues|firstvalue|firstvalidmetadata" elements="comma-separated-list-of-gs-metadata"/></element> - will map gs-metadata to oai-name metadata.
     57    <!-- <element name="oai name"/> - will look for this oai-name metadata in the document and output it -->
     58    <!-- <element name="oai-name"><mapping select="allvalues|firstvalue|firstvalidmetadata" elements="comma-separated-list-of-gs-metadata"/></element> - will map gs-metadata to oai-name metadata.
    5959         allvalues: will display all values of each metadata element
    6060         firstvalue: will go through each metadata element until it finds a value, and will return only one value.
     
    7171    <element name="dc:format"><mapping elements="dc.Format"/></element>
    7272    <element name="dc:identifier"><mapping elements="dc.Identifier,Identifier" select="firstvalue"/></element>
     73    <element name="dc:identifier"><mapping elements="gs.OAIResourceURL,gsflink.source,gsflink.document" select="allvalues"/></element>
    7374    <element name="dc:source"><mapping elements="dc.Source"/></element>
    7475    <element name="dc:language"><mapping elements="dc.Language"/></element>
Note: See TracChangeset for help on using the changeset viewer.