Changeset 18887


Ignore:
Timestamp:
2009-04-06T11:47:55+12:00 (15 years ago)
Author:
kjdon
Message:

changed the demo mapping to be a global dls mapping, and added mapping for gsdl_qdc as well. Mappings now use the set name instead of the prefix (ie oai_dc instead of dc). Added a new field, oaimetadata, which lists the metadata sets the server should support - eg might only want to support oai_dc not rfc1807

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/etc/oai.cfg

    r18863 r18887  
    6161oaicollection demo oai-e
    6262
    63 # Metadata mapping information. At present, Greenstone's OAI server only
    64 # supports the Dublin Core metadata format. Metadata in other formats must
    65 # be mapped to Dublin Core. This can be done in this file, or for a
    66 # particular collection, in its collect.cfg file.
     63# Metadata mapping information. At present, Greenstone's OAI server
     64# supports the following metadata formats.
     65# oai_dc (OAI standard for Dublin Core)
     66# gsdl_qdc (Greenstone format for Qualified Dublin Core)
     67# rfc1807 (OAI standard for RFC 1807 format)
     68
     69# the list of metadata formats this server should support (Choose from the
     70# above list)
     71oaimetadata oai_dc gsdl_qdc
     72
     73# Metadata in other formats must be mapped to these formats. This can be done
     74# in this file, or for a particular collection, in its collect.cfg file.
    6775
    6876# The format is like
    69 # oaimapping <greenstone fieldname> <oaifieldname>
     77# oaimapping <greenstone fieldname> <metadataPrefix.fieldname>
    7078
    71 # As Greenstone's OAI server only supports Dublin Core, the oai fieldnames
    72 # should be like dc.Title, dc.Subject etc.
    7379# The Greenstone field names can be unqualified (Title, Subject) or
    7480# qualified by a namespace (dc.Title, dls.Subject). These mapping rules
     
    8591# Relation, Coverage, Rights
    8692
    87 # mappings for the demo collection
    88 oaimapping demo:dls.Title dc.title
    89 oaimapping demo:dls.Subject dc.subject
    90 oaimapping demo:dls.Language dc.language
    91 oaimapping demo:dls.Organization dc.publisher
     93# mappings for the dls metadata set
     94# for dublin core (oai_dc metadata prefix)
     95oaimapping dls.Title oai_dc.title
     96oaimapping dls.Subject oai_dc.subject
     97oaimapping dls.Language oai_dc.language
     98oaimapping dls.Organization oai_dc.publisher
     99# for qualified dublin core (gsdl_qdc metadata prefix)
     100oaimapping dls.Title gsdl_qdc.title
     101oaimapping dls.Subject gsdl_qdc.subject
     102oaimapping dls.Language gsdl_qdc.language
     103oaimapping dls.Organization gsdl_qdc.publisher
    92104
    93105
Note: See TracChangeset for help on using the changeset viewer.