Changeset 21657 for main/trunk
- Timestamp:
- 2010-01-27T12:21:08+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/collect/modelcol/etc/collectionConfig.xml
r21656 r21657 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 3 <OAI>4 <ListMetadataFormats>5 <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.6 The support of unqualified Dublin Core metadata set is mendatory in the oai specification.7 -->8 <metadataFormat metadataPrefix="oai_dc">9 <metadataPrefix>oai_dc</metadataPrefix>10 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>11 <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>12 <!--<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>13 -->14 <mappingList>15 <!--16 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>17 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and18 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the19 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;20 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.21 22 **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.23 24 **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.25 -->26 <mapping>dc.Title,Title</mapping>27 <!-- 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. -->28 </mappingList>29 </metadataFormat>30 </ListMetadataFormats>31 </OAI>32 3 <metadataList> 33 4 <metadata lang="en" name="creator">**creator**</metadata> … … 57 28 </index> 58 29 <defaultIndex name="text"/> 59 <format name="searchType">plain,form</format> 60 <format><gsf:template match="documentNode"> 30 <searchType name="plain"/> 31 <searchType name="simpleform"/> 32 <!-- <searchType name="advancedform"/> --> 33 <format> 34 <gsf:template match="documentNode"> 61 35 <td valign="top"> 62 36 <gsf:link type="document"> … … 182 156 </display> 183 157 <replaceListRef id="gs2-standard"/> 158 <OAI> 159 <ListMetadataFormats> 160 <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here. 161 The support of unqualified Dublin Core metadata set is mendatory in the oai specification. 162 --> 163 <metadataFormat metadataPrefix="oai_dc"> 164 <metadataPrefix>oai_dc</metadataPrefix> 165 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema> 166 <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace> 167 <!--<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> 168 --> 169 <mappingList> 170 <!-- 171 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B> 172 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and 173 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the 174 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value; 175 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database. 176 177 **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. 178 179 **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. 180 --> 181 <mapping>dc.Title,Title</mapping> 182 <!-- 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. --> 183 </mappingList> 184 </metadataFormat> 185 </ListMetadataFormats> 186 </OAI> 187 184 188 </CollectionConfig>
Note:
See TracChangeset
for help on using the changeset viewer.