root/main/trunk/greenstone3/web/WEB-INF/classes/ @ 28848

Revision 28848, 4.8 KB (checked in by kjdon, 7 years ago)

adding in super set info, and a couple of syntax changes

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 unique id of this repository - if using version 2.0 should correspond to your domaine name -->
8  <repositoryIdentifier></repositoryIdentifier>
9  <!-- The base url to request metadata from this repository.
10  TODO: this element should be determined and overriden dynamically given the osi request url in
11    WHAT'S DONE: when ant start is called, it writes out the default oaiserver URL to this file. -->
12  <baseURL>http://your-domain-name/greenstone3/oaiserver</baseURL>
13  <!-- The version of OAI specification this repository supports. Can be 2.0 or 1.0 -->
14  <protocolVersion>2.0</protocolVersion>
15  <!-- A UTC date time that is the guaranteed lower limit of all datestamps recording changes, midifications etc. in the repository
16  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.
17  <earliestDatestamp>1970-01-01</earliestDatestamp>
18  -->
19  <!-- The manner in which the repository supports the notion of deleted records -->
20  <deletedRecord>no</deletedRecord>
21  <!-- The granularity of the datestamp -->
22  <granularity>YYYY-MM-DDThh:mm:ssZ</granularity>
23  <!-- The repository maintainer email address. There can be more than one. -->
24  <adminEmail></adminEmail>
25  <!-- Metadata describing the repository. Any metadata can go here -->
26  <oaiInfo>
27    <!-- <metadata name="meta-name">meta-value</metadata>-->
28  </oaiInfo>
29  <!-- Information above this line goes into the response to the Identify request -->
30  <!-- OAI super sets. This exposes a group of collections as a single OAI set.
31  Copy and fill in the values for each super set you want. This sets up a super set, then each collection for this super set must state in its OAIPMH service element that it belongs to the super set (<oaiSuperSet name="xxx"/> where xxx is the setSpec)-->
32<!--  <oaiSuperSet>
33    <setSpec>oai set identifier</setSpec>
34    <setName>Human readable set name</setName>
35    <setDescription>Set description</setDescription>
36  </oaiSuperSet>-->
38  <!-- set the following to no if you don't want a stylesheet to be specified in the OAI output -->
39  <useOAIStylesheet>yes</useOAIStylesheet>
40  <!-- uncomment and set value if you want to use a different stylesheet to the default interfaces/oai/oai2.xsl -->
41  <!--<OAIStylesheet></OAIStylesheet> -->
43  <!-- The time period in which a newly generated resumption token will remain valid, specified in second. Hence, the default
44  value 7200 is equivalent to 2 hours.       
45  If the resumeAfter parameter is less than 0, this value will not be used.
46  -->
47  <resumptionTokenExpiration>7200</resumptionTokenExpiration>
48  <!-- 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. -->
49  <resumeAfter>250</resumeAfter>
50  <!-- a list of metadata formats supported by this repository -->
51  <ListMetadataFormats>
52    <metadataFormat metadataPrefix="oai_dc">
53      <metadataPrefix>oai_dc</metadataPrefix>
54      <schema></schema>
55      <metadataNamespace></metadataNamespace>
56      <mappingList>
57        <!--
58        This is the default mapping for dc metadata. It can be overridden for a collection by adding a mappingList into the oai_dc metadataFormat element in the collection's collectionConfig.xml file.
59        The mapping is in the form: <publicly supported metadata name>,<greenstone metadata name>, (<A>,<B>). B metadata from a document will be mapped to A.
60        The first metadata name is mandatory; if there is no greenstone name following, then the first name will be looked for in the documents.
61        -->
62    <mapping>dc:title,dc.Title</mapping>
63    <mapping>dc:creator,dc.Creator</mapping>
64    <mapping>dc:subject,dc.Subject</mapping>
65    <mapping>dc:description,dc.Description</mapping>
66    <mapping>dc:publisher,dc.Publisher</mapping>
67    <mapping>dc:contributor,dc.Contributor</mapping>
68    <mapping>dc:date,dc.Date</mapping>
69    <mapping>dc:type,dc.Type</mapping>
70    <mapping>dc:format,dc.Format</mapping>
71    <mapping>dc:identifier,dc.Identifier</mapping>
72    <mapping>dc:source,dc.Source</mapping>
73    <mapping>dc:language,dc.Language</mapping>
74    <mapping>dc:relation,dc.Relation</mapping>
75    <mapping>dc:coverage,dc.Coverage</mapping>
76    <mapping>dc:rights,dc.Rights</mapping>
77      </mappingList>
78    </metadataFormat>
79  </ListMetadataFormats>
Note: See TracBrowser for help on using the browser.