root/gsdl/trunk/etc/oai.cfg @ 14281

Revision 14281, 4.1 KB (checked in by xiao, 12 years ago)

add a parameter baseURL

  • Property svn:keywords set to Author Date Id Revision
Line 
1# OAI Server Configuration
2
3# This is the main configuration file for configuring your Greenstone oai server.
4# The server is a cgi program called oaiserver (oaiserver.exe on Windows).
5# Some basic commands that you can send it are:
6# ....cgi-bin/oaiserver?verb=Identify
7# ....cgi-bin/oaiserver?verb=ListSets
8# ....cgi-bin/oaiserver?verb=ListIdentifiers&set=xxx (1.1 only)
9# ....cgi-bin/oaiserver?verb=ListIdentifiers&set=xxx&metadataPrefix=oai_dc (2.0 only)
10# ....cgi-bin/oaiserver?verb=ListRecords&set=xxx&metadataPrefix=oai_dc
11# ....cgi-bin/oaiserver?verb=GetRecord&identifier=xxx&metadataPrefix=oai_dc
12
13#The List verbs (ListSets, ListIdentifiers, ListRecords) all return a
14#sequence of items. The 'resumeafter' paramter below indicates how many
15#records to return - if this number is less than the number matching the
16#request, then a resumption token is returned. To use this to get the
17#next set of documents, you need to issue the same request again, with
18#an additional parameter: resumptionToken=xxx
19#For example,
20# ....cgi-bin/oaiserver?verb=ListRecords&set=demo&metadataPrefix=oai_dc&resumptionToken=gsdloai:demo,,11-
21
22# For more information about the OAI-PMH protocol, see
23# http://www.openarchives.org/
24
25# Strings containing spaces should be enclosed in double quotes ""
26
27#the baseURL used by the oaiserver
28#Example: baseURL "http://your-domain-name/cgi-bin/oaiserver"
29baseURL "your-own-baseURL-goes-here"
30
31# The OAI repository name - human readable
32repositoryName ""
33
34# The central administrative email address for the repository.
35maintainer  ""
36
37# Which version of OAI the repository supports, 1.1 or 2.0
38# (The server supports both)
39oaiversion "2.0"
40
41# How many records to output before needing a resumption token
42# A value of -1 will return all records for a request
43resumeafter  -1
44
45# Other free text items describing the repository. There is no restriction
46# on the number of items, or item names
47# The format is like the following:
48# oaiinfo "item name" "item value"
49# Examples may include sponsor, purpose, size...
50
51# A list of collections that should be made available to OAI clients. By
52# default, collections are not available.
53# There can be more than one line: each line must start with oaicollection,
54# and this is followed by one or more collection names. The collection name
55# is the name of the collection's folder in the collect directory.
56oaicollection demo oai-e
57
58# Metadata mapping information. At present, Greenstone's OAI server only
59# supports the Dublin Core metadata format. Metadata in other formats must
60# be mapped to Dublin Core. This can be done in this file, or for a
61# particular collection, in its collect.cfg file.
62
63# The format is like
64# oaimapping <greenstone fieldname> <oaifieldname>
65
66# As Greenstone's OAI server only supports Dublin Core, the oai fieldnames
67# should be like dc.Title, dc.Subject etc.
68# The Greenstone field names can be unqualified (Title, Subject) or
69# qualified by a namespace (dc.Title, dls.Subject). These mapping rules
70# will apply to the entire repository. Collection specific rules can also
71# be specified in this file using a collection name qualifier. This is
72# the collection name followed by a colon (demo:Title, demo:dls.Title).
73# Mappings specified in a collect.cfg file do not need the collection
74# qualifier.
75
76# Details about the Dublin Core metadata format can be found at
77# http://dublincore.org/
78# Elements include Title, Creator, Subject, Description, Publisher,
79# Contributor, Date, Type, Format, Identifier, Source, Language,
80# Relation, Coverage, Rights
81
82# mappings for the demo collection
83oaimapping demo:dls.Title dc.Title
84oaimapping demo:dls.Subject dc.Subject
85oaimapping demo:dls.Language dc.Language
86oaimapping demo:dls.Organization dc.Publisher
87
88# mappings for the oai-e collection
89oaimapping oai-e:Title dc.Title
90oaimapping oai-e:Creator dc.Creator
91oaimapping oai-e:Subject dc.Subject
92oaimapping oai-e:Description dc.Description
93oaimapping oai-e:Publisher dc.Publisher
94oaimapping oai-e:Date dc.Date
95oaimapping oai-e:Type dc.Type
96oaimapping oai-e:Format dc.Format
97oaimapping oai-e:Language dc.Language
98oaimapping oai-e:Rights dc.Rights
Note: See TracBrowser for help on using the browser.