User Tools

Site Tools


en:user_advanced:oai_server_gs3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:user_advanced:oai_server_gs3 [2018/07/30 23:27] – [Metadata Formats] kjdonen:user_advanced:oai_server_gs3 [2018/07/30 23:32] – [OAI Identifiers] kjdon
Line 159: Line 159:
 <code><element name="dc:date"><mapping select="allvalues" elements="dc.Date,gs.Date"/></element></code> <code><element name="dc:date"><mapping select="allvalues" elements="dc.Date,gs.Date"/></element></code>
 This will output all dc.Dates and gs.Dates as dc:date. This will output all dc.Dates and gs.Dates as dc:date.
 +
 +=== OAI Identifiers ===
 +
 +Prior to July 2018, an extra oai_dc:identifier element was automatically added to the metadata list, containing a link to the document. The values used would be chosen from the following list, using the first available value:
 +  * gs.OAIResourceURL - if this metadata was set for a document, this would be used as the identifier URL. This enables you to link to the document outside of Greenstone.
 +  * a link to the source document, eg PDF, Word files. (gsf:link type="source">)
 +  * a link to the Greenstone version of the document. (<gsf:link>)
 +
 +After July 2018, this was modified to be specified via the OAIConfig in the same way as other metadata mappings are specified.
 +<code><element name="dc:identifier"><mapping elements="gs.OAIResourceURL,gsflink.source,gsflink.document" select="allvalues"/></element>
 +</code>
 +This way, users can customize further which identifiers they want - they can use all of them, as the above mapping specifies.
  
  
en/user_advanced/oai_server_gs3.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1