Changeset 26010


Ignore:
Timestamp:
2012-07-24T11:44:37+12:00 (12 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/image-e/etc/collectionConfig.xml

    r26008 r26010  
    158158><replaceListRef id="gs2-standard"
    159159 /><replaceListRef id="gs2-image"
    160  /></CollectionConfig
     160 />
     161    <serviceRackList>
     162        <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
     163        <serviceRack name="OAIPMH">
     164            <ListMetadataFormats>
     165                <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
     166                    The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
     167                -->
     168                <metadataFormat metadataPrefix="oai_dc">
     169                    <metadataPrefix>oai_dc</metadataPrefix>
     170                    <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
     171                    <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
     172                    <!--<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>-->
     173                    <mappingList>
     174                        <!--
     175                            The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
     176                            The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
     177                            searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
     178                            number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
     179                            if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
     180                   
     181                            **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.
     182                   
     183                            **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.
     184                        -->
     185                        <mapping>dc.Title,Title</mapping>
     186                        <!-- 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. -->
     187                    </mappingList>
     188                </metadataFormat>
     189            </ListMetadataFormats>
     190        </serviceRack>
     191    </serviceRackList>
     192 </CollectionConfig
    161193>
Note: See TracChangeset for help on using the changeset viewer.