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

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

indented it with smaller indent, and changed a few comments

File size: 4.1 KB
2 This is the configuration file for the OAI server. The property values in this file are repository-wise
5 <!-- The name of this oai repository, which is human readable. -->
6 <repositoryName>Greenstone3 OAI repository</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 -->
9 <baseURL>http://your-domain-name/greenstone3/oaiserver</baseURL>
10 <!-- The version of OAI specification this repository supports. Can be 2.0 or 1.0 -->
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 <!-- set the following to no if you don't want a stylesheet to be specified in the OAI output -->
24 <useOAIStylesheet>yes</useOAIStylesheet>
25 <!-- uncomment and set value if you want to use a different stylesheet to the default interfaces/oai/oai2.xsl -->
26 <!--<OAIStylesheet></OAIStylesheet> -->
28 <!-- The time period in which a newly generated resumption token will remain valid, specified in second. Hence, the default
29 value 7200 is equivalent to 2 hours.
30 If the resumeAfter parameter is less than 0, this value will not be used.
31 -->
32 <resumptionTokenExpiration>7200</resumptionTokenExpiration>
33 <!-- How many sets/identifiers/records to send for the request before issuing a resumption token. A value less than 0 (e.g. -1) indicates that a complete list of records will be returned. -->
34 <resumeAfter>250</resumeAfter>
35 <!-- These field names will be used when there is no any mapping provided in the collectionConfig.xml and OAIConfig.xml -->
36 <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>
37 <!-- a list of metadata formats supported by this repository -->
38 <ListMetadataFormats>
39 <metadataFormat metadataPrefix="oai_dc">
40 <metadataPrefix>oai_dc</metadataPrefix>
41 <schema></schema>
42 <metadataNamespace></metadataNamespace>
43 <mappingList>
44 <!--
45 This mapping will be used when there is no mapping provided in the collectionConfig.xml for the oai_dc metadata format.
46 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
47 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
48 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
49 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
50 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
52 **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.
53 -->
54 <mapping>dc.Title,dls.Title</mapping>
55 <mapping>dc.Subject,dls.Subject</mapping>
56 <mapping>dc.Language,dls.Language</mapping>
57 <mapping>dc.Organization,dls.Organization</mapping>
58 </mappingList>
59 </metadataFormat>
60 </ListMetadataFormats>
Note: See TracBrowser for help on using the repository browser.