1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
3 | <metadataList>
|
---|
4 | <metadata lang="en" name="creator"/>
|
---|
5 | <metadata lang="en" name="maintainer"/>
|
---|
6 | <metadata lang="en" name="public">true</metadata>
|
---|
7 | </metadataList>
|
---|
8 | <displayItemList>
|
---|
9 | <displayItem assigned="true" lang="en" name="name">Demo-MGPP</displayItem>
|
---|
10 | <displayItem assigned="true" lang="en" name="allfields">all fields</displayItem>
|
---|
11 | <displayItem assigned="true" lang="en" name="text">text</displayItem>
|
---|
12 | <displayItem assigned="true" lang="en" name="dc.Title,Title">titles</displayItem>
|
---|
13 | <displayItem assigned="true" lang="en" name="dc.Subject">subjects</displayItem>
|
---|
14 | <displayItem assigned="true" lang="en" name="dls.Organization">organisations</displayItem>
|
---|
15 | <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
|
---|
16 | <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
|
---|
17 | <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
|
---|
18 | <displayItem assigned="true" lang="en" name="section">chapter</displayItem>
|
---|
19 | <displayItem assigned="true" lang="en" name="document">book</displayItem>
|
---|
20 | <displayItem assigned="true" lang="en" name="shortDescription">
|
---|
21 | Demonstration collection containing a few books from the Humanitarian and Development
|
---|
22 | Libraries. Uses Lucene and JDBM.
|
---|
23 | </displayItem>
|
---|
24 | </displayItemList>
|
---|
25 | <format>
|
---|
26 | <!--
|
---|
27 | Define any global format statements here
|
---|
28 | -->
|
---|
29 | <!--
|
---|
30 | Setting the RSS option to true here will display a link to the collection's RSS feed on all
|
---|
31 | pages of the collection. Can include the RSS feed link in section specific format statements
|
---|
32 | too, such as search, if wishing to display the link only in particular sections.
|
---|
33 | -->
|
---|
34 | <gsf:option name="RSS" value="true"/>
|
---|
35 | </format>
|
---|
36 | <search type="mgpp">
|
---|
37 | <level name="section">
|
---|
38 | <displayItem lang="en" name="name">chapter</displayItem>
|
---|
39 | </level>
|
---|
40 | <level name="document">
|
---|
41 | <displayItem lang="en" name="name">book</displayItem>
|
---|
42 | </level>
|
---|
43 | <defaultLevel name="document"/>
|
---|
44 | <index name="allfields">
|
---|
45 | <displayItem lang="en" name="name">all fields</displayItem>
|
---|
46 | </index>
|
---|
47 | <index name="text">
|
---|
48 | <displayItem lang="en" name="name">text</displayItem>
|
---|
49 | </index>
|
---|
50 | <index name="dc.Title,Title">
|
---|
51 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
52 | </index>
|
---|
53 | <index name="dc.Subject">
|
---|
54 | <displayItem lang="en" name="name">subjects</displayItem>
|
---|
55 | </index>
|
---|
56 | <index name="dls.Organization">
|
---|
57 | <displayItem lang="en" name="name">organisations</displayItem>
|
---|
58 | </index>
|
---|
59 | <indexOption name="casefold"/>
|
---|
60 | <indexOption name="stem"/>
|
---|
61 | <indexOption name="accentfold"/>
|
---|
62 | <indexOption name=""/>
|
---|
63 | <searchType name="plain"/>
|
---|
64 | <searchType name="simpleform"/>
|
---|
65 | <searchType name="advancedform"/>
|
---|
66 | <format>
|
---|
67 | <gsf:template match="documentNode">
|
---|
68 | <td valign="top">
|
---|
69 | <gsf:link type="document">
|
---|
70 | <gsf:icon type="document"/>
|
---|
71 | </gsf:link>
|
---|
72 | </td>
|
---|
73 | <td>
|
---|
74 | <gsf:link type="document">
|
---|
75 | <gsf:choose-metadata>
|
---|
76 | <gsf:metadata name="dc.Title"/>
|
---|
77 | <gsf:metadata name="exp.Title"/>
|
---|
78 | <gsf:metadata name="ex.dc.Title"/>
|
---|
79 | <gsf:metadata name="Title"/>
|
---|
80 | <gsf:default>Untitled</gsf:default>
|
---|
81 | </gsf:choose-metadata>
|
---|
82 | </gsf:link>
|
---|
83 | </td>
|
---|
84 | </gsf:template>
|
---|
85 | </format>
|
---|
86 | </search>
|
---|
87 | <infodb type="jdbm"/>
|
---|
88 | <import>
|
---|
89 | <pluginList>
|
---|
90 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
91 | <plugin name="HTMLPlugin">
|
---|
92 | <option name="-description_tags"/>
|
---|
93 | </plugin>
|
---|
94 | <plugin name="ImagePlugin"/>
|
---|
95 | <plugin name="MetadataXMLPlugin"/>
|
---|
96 | <plugin name="ArchivesInfPlugin">
|
---|
97 | <option name="-sort"/>
|
---|
98 | </plugin>
|
---|
99 | <plugin name="DirectoryPlugin"/>
|
---|
100 | </pluginList>
|
---|
101 | </import>
|
---|
102 | <browse>
|
---|
103 | <classifier name="List">
|
---|
104 | <option name="-metadata" value="dc.Title"/>
|
---|
105 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
106 | </classifier>
|
---|
107 | <classifier name="Hierarchy">
|
---|
108 | <option name="-metadata" value="dc.Subject"/>
|
---|
109 | <option name="-sort" value="dc.Title"/>
|
---|
110 | </classifier>
|
---|
111 | <classifier name="List">
|
---|
112 | <option name="-metadata" value="dls.Organization"/>
|
---|
113 | <option name="-sort_leaf_nodes_using" value="dc.Title"/>
|
---|
114 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
115 | <option name="-bookshelf_type" value="always"/>
|
---|
116 | <option name="-buttonname" value="Organization"/>
|
---|
117 | </classifier>
|
---|
118 | <classifier name="List">
|
---|
119 | <option name="-metadata" value="dls.Keyword"/>
|
---|
120 | <option name="-buttonname" value="Howto"/>
|
---|
121 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
122 | <format>
|
---|
123 | <gsf:template match="documentNode">
|
---|
124 | <td>
|
---|
125 | <gsf:link type="document">
|
---|
126 | <gsf:metadata name="dls.Keyword"/>
|
---|
127 | </gsf:link>
|
---|
128 | </td>
|
---|
129 | </gsf:template>
|
---|
130 | <gsf:template match="classifierNode">
|
---|
131 | <td>
|
---|
132 | <gsf:link type="classifier">
|
---|
133 | <gsf:metadata name="Title"/>
|
---|
134 | </gsf:link>
|
---|
135 | </td>
|
---|
136 | </gsf:template>
|
---|
137 | </format>
|
---|
138 | </classifier>
|
---|
139 | <format>
|
---|
140 | <gsf:template match="documentNode">
|
---|
141 | <td valign="top">
|
---|
142 | <gsf:link type="document">
|
---|
143 | <gsf:icon type="document"/>
|
---|
144 | </gsf:link>
|
---|
145 | </td>
|
---|
146 | <td valign="top">
|
---|
147 | <gsf:link type="source">
|
---|
148 | <gsf:choose-metadata>
|
---|
149 | <gsf:metadata name="thumbicon"/>
|
---|
150 | <gsf:metadata name="srcicon"/>
|
---|
151 | </gsf:choose-metadata>
|
---|
152 | </gsf:link>
|
---|
153 | </td>
|
---|
154 | <td valign="top">
|
---|
155 | <gsf:link type="document">
|
---|
156 | <gsf:choose-metadata>
|
---|
157 | <gsf:metadata name="dc.Title"/>
|
---|
158 | <gsf:metadata name="exp.Title"/>
|
---|
159 | <gsf:metadata name="ex.dc.Title"/>
|
---|
160 | <gsf:metadata name="Title"/>
|
---|
161 | <gsf:default>Untitled</gsf:default>
|
---|
162 | </gsf:choose-metadata>
|
---|
163 | </gsf:link>
|
---|
164 | <gsf:switch>
|
---|
165 | <gsf:metadata name="Source"/>
|
---|
166 | <gsf:when test="exists">
|
---|
167 | <br/>
|
---|
168 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
169 | </gsf:when>
|
---|
170 | </gsf:switch>
|
---|
171 | </td>
|
---|
172 | </gsf:template>
|
---|
173 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
174 | <td valign="top">
|
---|
175 | <gsf:link type="classifier">
|
---|
176 | <gsf:icon type="classifier"/>
|
---|
177 | </gsf:link>
|
---|
178 | </td>
|
---|
179 | <td valign="top">
|
---|
180 | <gsf:choose-metadata>
|
---|
181 | <gsf:metadata name="dc.Title"/>
|
---|
182 | <gsf:metadata name="exp.Title"/>
|
---|
183 | <gsf:metadata name="ex.dc.Title"/>
|
---|
184 | <gsf:metadata name="Title"/>
|
---|
185 | <gsf:default>Untitled</gsf:default>
|
---|
186 | </gsf:choose-metadata>
|
---|
187 | <gsf:switch>
|
---|
188 | <gsf:metadata name="Source"/>
|
---|
189 | <gsf:when test="exists">
|
---|
190 | <br/>
|
---|
191 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
192 | </gsf:when>
|
---|
193 | </gsf:switch>
|
---|
194 | </td>
|
---|
195 | </gsf:template>
|
---|
196 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
197 | <gsf:link type="classifier">
|
---|
198 | <gsf:metadata name="Title"/>
|
---|
199 | </gsf:link>
|
---|
200 | </gsf:template>
|
---|
201 | </format>
|
---|
202 | </browse>
|
---|
203 | <display>
|
---|
204 | <format>
|
---|
205 | <gsf:option name="TOC" value="true"/>
|
---|
206 | <gsf:headMetaTags>
|
---|
207 | <gsf:metadata name="dc.Title"/>
|
---|
208 | <gsf:metadata name="dc.Subject"/>
|
---|
209 | <gsf:metadata name="dls.Organization"/>
|
---|
210 | </gsf:headMetaTags>
|
---|
211 | </format>
|
---|
212 | </display>
|
---|
213 | <replaceListRef id="gs2-standard"/>
|
---|
214 | <serviceRackList>
|
---|
215 | <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
216 | <serviceRack name="OAIPMH">
|
---|
217 | <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
218 | The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
|
---|
219 | -->
|
---|
220 | <metadataFormat metadataPrefix="oai_dc">
|
---|
221 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
222 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
223 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace><!-- a custom mapping as this collection doesn't have dc metadata -->
|
---|
224 | <mappingList>
|
---|
225 | <mapping>dc:title,dc.Title</mapping>
|
---|
226 | <mapping>dc:subject,dc.Subject</mapping>
|
---|
227 | <mapping>dc:language,dc.Language</mapping>
|
---|
228 | <mapping>dc:publisher,dls.Organization</mapping>
|
---|
229 | </mappingList>
|
---|
230 | </metadataFormat>
|
---|
231 | </ListMetadataFormats>
|
---|
232 | </serviceRack>
|
---|
233 | </serviceRackList>
|
---|
234 | <importOption name="OIDtype" value="hash_on_full_filename"/>
|
---|
235 | <importOption name="sortmeta" value="OID"/>
|
---|
236 | </CollectionConfig>
|
---|