Changeset 26011

Show
Ignore:
Timestamp:
24.07.2012 11:47:09 (7 years ago)
Author:
ak19
Message:

Added the OAIPMH ServiceRack? element, since all GS3 collections are to be OAI enabled out of the box and this element is present in the modelcol's collectionConfig.xml

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml

    r25836 r26011  
    183183    </display> 
    184184    <replaceListRef id="gs2-standard"/> 
     185    <serviceRackList> 
     186        <!-- comment out the following serviceRack if you want to disable OAI for this collection --> 
     187        <serviceRack name="OAIPMH"> 
     188            <ListMetadataFormats> 
     189                <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here. 
     190                    The support of unqualified Dublin Core metadata set is mandatory in the oai specification. 
     191                --> 
     192                <metadataFormat metadataPrefix="oai_dc"> 
     193                    <metadataPrefix>oai_dc</metadataPrefix> 
     194                    <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema> 
     195                    <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace> 
     196                    <!--<metadataElements>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</metadataElements>--> 
     197                    <mappingList> 
     198                        <!--  
     199                            The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>  
     200                            The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and 
     201                            searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the 
     202                            number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value; 
     203                            if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database. 
     204                     
     205                            **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. 
     206                     
     207                            **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names. 
     208                        --> 
     209                        <mapping>dc.Title,Title</mapping> 
     210                        <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. --> 
     211                    </mappingList> 
     212                </metadataFormat> 
     213            </ListMetadataFormats> 
     214        </serviceRack>  
     215    </serviceRackList> 
    185216</CollectionConfig>