source: main/trunk/greenstone3/resources/oai/ 29269

Last change on this file since 29269 was 29269, checked in by kjdon, 10 years ago

just a couple of comment changes

File size: 5.5 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 unique id of this repository - if using version 2.0 should correspond to your domain 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. This will be used if the
17 collections all have 0 earliest datestamp, or if there are no collections. -->
18 <earliestDatestamp>1970-01-01</earliestDatestamp>
19 <!-- The manner in which the repository supports the notion of deleted records -->
20 <deletedRecord>no</deletedRecord>
21 <!-- The granularity of the datestamp. May be YYYY-MM-DD (day granularity) or YYYY-MM-DDThh:mm:ssZ (seconds granularity) -->
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>
53 <metadataPrefix>oai_dc</metadataPrefix>
54 <schema></schema>
55 <metadataNamespace></metadataNamespace>
56 <elementList>
57 <!-- <element name="oai name"/> - will look for this oai-name metadata in the document
58 <element name="oai-name"><mapping select="allvalues|firstvalue|firstvalidmetadata" elements="comma-separated-list-of-gs-metadata"/></element> - will map gs-metadata to oai-name metadata.
59 allvalues: will display all values of each metadata element
60 firstvalue: will go through each metadata element until it finds a value, and will return only one value.
61 firstvalidmetadata: will go through each element until it finds one that has a value, then output all values of that element.
62 default is allvalues -->
63 <element name="dc:title"><mapping select="firstvalidmetadata" elements="dc.Title,Title"/></element>
64 <element name="dc:creator"><mapping elements="dc.Creator"/></element>
65 <element name="dc:subject"><mapping elements="dc.Subject"/></element>
66 <element name="dc:description"><mapping elements="dc.Description"/></element>
67 <element name="dc:publisher"><mapping elements="dc.Publisher"/></element>
68 <element name="dc:contributor"><mapping elements="dc.Contributor"/></element>
69 <element name="dc:date"><mapping elements="dc.Date"/></element>
70 <element name="dc:type"><mapping elements="dc.Type"/></element>
71 <element name="dc:format"><mapping elements="dc.Format"/></element>
72 <element name="dc:identifier"><mapping elements="dc.Identifier,Identifier" select="firstvalue"/></element>
73 <element name="dc:source"><mapping elements="dc.Source"/></element>
74 <element name="dc:language"><mapping elements="dc.Language"/></element>
75 <element name="dc:relation"><mapping elements="dc.Relation"/></element>
76 <element name="dc:coverage"><mapping elements="dc.Coverage"/></element>
77 <element name="dc:rights"><mapping elements="dc.Rights"/></element>
78 </elementList>
79 </metadataFormat>
80 </ListMetadataFormats>
Note: See TracBrowser for help on using the repository browser.