source: main/trunk/greenstone3/web/WEB-INF/classes/OAIConfig.xml@ 21766

Last change on this file since 21766 was 21766, checked in by kjdon, 12 years ago

made the defaults a bit better and removed greenstone.org from here

File size: 4.0 KB
Line 
1<!--
2 This is the configuration file for the OAI server. The property values in this file are repository-wise
3-->
4<OAIConfig>
5 <!-- The name of this oai repository, which is human readable. -->
6 <repositoryName></repositoryName>
7 <!-- The base url to request metadata from this repository.
8 TODO: this element should be determined and overriden dynamically given the osi request url in OAIServer.java. -->
9 <baseURL>http://your-domain-name/greenstone3/oaiserver</baseURL>
10 <!-- The version of OAI specification this repository supports. -->
11 <protocolVersion>2.0</protocolVersion>
12 <!-- A UTC date time that is the guaranteed lower limit of all datestamps recording changes, midifications etc. in the repository
13 This element is not necessary in this file since the earliest datestamp is dynamically found out by searching thru all oai collections in the repository to get the earliest built time amongst the collections.
14 <earliestDatestamp>1970-01-01</earliestDatestamp>
15 -->
16 <!-- The manner in which the repository supports the notion of deleted records -->
17 <deletedRecord>no</deletedRecord>
18 <!-- The granularity of the datestamp -->
19 <granularity>YYYY-MM-DDThh:mm:ssZ</granularity>
20 <!-- The repository maintainer email address -->
21 <adminEmail></adminEmail>
22 <!-- Information above this line goes into the response to the Identify request -->
23
24 <!-- The time period in which a newly generated resumption token will remain valid, specified in second. Hence, the default
25 value 7200 is equivalent to 2 hours.
26 If the resumeAfter parameter is less than 0, this value will not be used.
27 -->
28 <resumptionTokenExpiration>7200</resumptionTokenExpiration>
29 <!-- How many sets/identifiers/records to send for the request before issuing a resumption token. A value less than 0 indicates that a complete list of records will be returned. -->
30 <resumeAfter>250</resumeAfter>
31 <!-- These field names will be used when there is no any mapping provided in the collectionConfig.xml and OAIConfig.xml -->
32 <DCmetadataNames>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</DCmetadataNames>
33 <!-- a list of metadata formats supported by this repository -->
34 <ListMetadataFormats>
35 <metadataFormat metadataPrefix="oai_dc">
36 <metadataPrefix>oai_dc</metadataPrefix>
37 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
38 <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
39 <mappingList>
40 <!--
41 This mapping will be used when there is no mapping provided in the collectionConfig.xml for the oai_dc metadata format.
42 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
43 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
44 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
45 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
46 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
47
48 **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.
49 -->
50 <mapping>dc.Title,dls.Title</mapping>
51 <mapping>dc.Subject,dls.Subject</mapping>
52 <mapping>dc.Language,dls.Language</mapping>
53 <mapping>dc.Organization,dls.Organization</mapping>
54 </mappingList>
55 </metadataFormat>
56 </ListMetadataFormats>
57</OAIConfig>
Note: See TracBrowser for help on using the repository browser.