Changeset 26095 for main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml
- Timestamp:
- 2012-08-09T21:09:58+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml
r26011 r26095 194 194 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema> 195 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. --> 196 <!-- a custom mapping as this collection doesn't have dc metadata --> 197 <mappingList> 198 <mapping>dc:title,dls.Title</mapping> 199 <mapping>dc:subject,dls.Subject</mapping> 200 <mapping>dc:language,dls.Language</mapping> 201 <mapping>dc:publisher,dls.Organization</mapping> 211 202 </mappingList> 212 203 </metadataFormat> 213 204 </ListMetadataFormats> 214 </serviceRack> 205 </serviceRack> 215 206 </serviceRackList> 216 207 </CollectionConfig>
Note:
See TracChangeset
for help on using the changeset viewer.