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"
|
---|
29 | baseURL "your-own-baseURL-goes-here"
|
---|
30 |
|
---|
31 | # The OAI repository name - human readable
|
---|
32 | repositoryName ""
|
---|
33 |
|
---|
34 | # The central administrative email address for the repository.
|
---|
35 | maintainer ""
|
---|
36 |
|
---|
37 | # Which version of OAI the repository supports, 1.1 or 2.0
|
---|
38 | # (The server supports both)
|
---|
39 | oaiversion "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
|
---|
43 | resumeafter -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.
|
---|
56 | oaicollection 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
|
---|
83 | oaimapping demo:dls.Title dc.Title
|
---|
84 | oaimapping demo:dls.Subject dc.Subject
|
---|
85 | oaimapping demo:dls.Language dc.Language
|
---|
86 | oaimapping demo:dls.Organization dc.Publisher
|
---|
87 |
|
---|
88 | # mappings for the oai-e collection
|
---|
89 | oaimapping oai-e:Title dc.Title
|
---|
90 | oaimapping oai-e:Creator dc.Creator
|
---|
91 | oaimapping oai-e:Subject dc.Subject
|
---|
92 | oaimapping oai-e:Description dc.Description
|
---|
93 | oaimapping oai-e:Publisher dc.Publisher
|
---|
94 | oaimapping oai-e:Date dc.Date
|
---|
95 | oaimapping oai-e:Type dc.Type
|
---|
96 | oaimapping oai-e:Format dc.Format
|
---|
97 | oaimapping oai-e:Language dc.Language
|
---|
98 | oaimapping oai-e:Rights dc.Rights
|
---|