source: main/trunk/model-sites-dev/opotiki/collect/textdemo/etc/collectionConfig.bak@ 34088

Last change on this file since 34088 was 34088, checked in by ak19, 4 years ago

Cher (Chai Lin): Adding the Opotiki site, with its 3 collections. The 3 collections' import contents are zipped up with 7zip and password protected (lab pwd). Remember to also grab the correspoding Opotiki interface and then edit the servlets.xml in GS3/web/WEB-INF to add 1. a new servlet element referring to the Opotiki site and Opotiki interface, and 2. a servlet-mapping element.

File size: 14.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:gslib="http://www.greenstone.org/skinning" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <security default_access="public" scope="document">
4 <exception>
5 <documentSet name="bostid"/>
6 <group name="X"/>
7 </exception>
8 <documentSet name="bostid">
9 <match field="dc.Type" type="match">letters</match>
10 </documentSet>
11 </security>
12 <metadataList>
13 <metadata lang="en" name="creator"/>
14 <metadata lang="en" name="maintainer"/>
15 <metadata lang="en" name="public">true</metadata>
16 </metadataList>
17 <displayItemList>
18 <displayItem assigned="true" lang="en" name="description">A Collection of Text.
19The Whakatōhea Māori Trust Board was established in 1952 and is constituted under the Māori Trust Board Act 1955.
20The purpose of the Trust Board is to administer its assets in accordance with the Act for the benefit of its members.
21These benefits include:
22The promotion of health.
23The promotion of social and economic welfare.
24The promotion of education and vocational training.
25Such other additional purposes as the Trust Board from time to time determines.
26The Trust Board has twelve members elected from the six hapū of Whakatōhea.
27These elections take place every three years, the next election is due October 2021.</displayItem>
28 <displayItem assigned="true" lang="en" name="name">Documents Collection</displayItem>
29 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">title</displayItem>
30 <displayItem assigned="true" lang="en" name="text">text</displayItem>
31 <displayItem assigned="true" lang="en" name="dc.Date">date</displayItem>
32 <displayItem assigned="true" lang="en" name="dc.Publisher">author</displayItem>
33 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
34 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
35 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
36 <displayItem assigned="true" lang="en" name="document">document</displayItem>
37 <displayItem assigned="true" lang="en" name="section">section</displayItem>
38 <displayItem assigned="true" lang="en" name="dc.Format">format</displayItem>
39 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
40 <displayItem assigned="true" lang="en" name="shortDescription">demow</displayItem>
41 <displayItem assigned="true" lang="en" name=".dc.Publisher">_labelPublisher_</displayItem>
42 <displayItem assigned="true" lang="en" name=".dc.Date">_labelDate_</displayItem>
43 </displayItemList>
44 <format>
45 <gsf:template name="choose-title">
46 <gsf:choose-metadata>
47 <gsf:metadata name="dc.Title"/>
48 <gsf:default>Untitled</gsf:default>
49 </gsf:choose-metadata>
50 </gsf:template>
51 </format>
52 <search type="mgpp">
53 <level name="document">
54 <displayItem lang="en" name="name">document</displayItem>
55 </level>
56 <level name="section">
57 <displayItem lang="en" name="name">section</displayItem>
58 </level>
59 <defaultLevel name="document"/>
60 <index name="dc.Title,ex.dc.Title,Title">
61 <displayItem lang="en" name="name">title</displayItem>
62 </index>
63 <index name="text">
64 <displayItem lang="en" name="name">text</displayItem>
65 </index>
66 <index name="dc.Date">
67 <displayItem lang="en" name="name">date</displayItem>
68 </index>
69 <index name="dc.Publisher">
70 <displayItem lang="en" name="name">author</displayItem>
71 </index>
72 <defaultIndex name="dc.Title,ex.dc.Title,Title"/>
73 <indexOption name="separate_cjk"/>
74 <indexOption name="accentfold"/>
75 <indexOption name="casefold"/>
76 <indexOption name="stem"/>
77 <searchType name="plain"/>
78 <searchType name="simpleform"/>
79 <searchType name="advancedform"/>
80 <format>
81 <gsf:template match="documentNode">
82 <td valign="top">
83 <gsf:link type="document">
84 <gsf:icon type="document"/>
85 </gsf:link>
86 </td>
87 <td>
88 <gsf:link type="document">
89 <xsl:call-template name="choose-title"/>
90 </gsf:link>
91 </td>
92 </gsf:template>
93 </format>
94 </search>
95 <infodb type="jdbm"/>
96 <import>
97 <pluginList>
98 <plugin name="ZIPPlugin"/>
99 <plugin name="GreenstoneXMLPlugin"/>
100 <plugin name="TextPlugin"/>
101 <plugin name="HTMLPlugin"/>
102 <plugin name="EmailPlugin"/>
103 <plugin name="PDFv2Plugin">
104 <option name="-convert_to" value="pagedimg_jpg"/>
105 <option name="-process_exp" value="notext.*\.pdf"/>
106 </plugin>
107 <plugin name="PDFv2Plugin">
108 <option name="-convert_to" value="paged_pretty_html"/>
109 </plugin>
110 <plugin name="RTFPlugin"/>
111 <plugin name="WordPlugin"/>
112 <plugin name="PostScriptPlugin"/>
113 <plugin name="PowerPointPlugin"/>
114 <plugin name="ExcelPlugin"/>
115 <plugin name="ImagePlugin"/>
116 <plugin name="ISISPlugin"/>
117 <plugin name="NulPlugin"/>
118 <plugin name="OAIPlugin"/>
119 <plugin name="MP3Plugin"/>
120 <plugin name="MetadataXMLPlugin"/>
121 <plugin name="ArchivesInfPlugin"/>
122 <plugin name="DirectoryPlugin"/>
123 </pluginList>
124 </import>
125 <browse>
126 <classifier name="List">
127 <option name="-metadata" value="dc.Title;Title"/>
128 <option name="-partition_type_within_level" value="approximate_size"/>
129 <option name="-bookshelf_type" value="always"/>
130 <option name="-sort_leaf_nodes_using" value="ex.Title"/>
131 <format> <gsf:template match="documentNode">
132 <td valign="top">
133 <gsf:switch>
134 <gsf:metadata name="dc.Format"/>
135 <gsf:when test="equals" test-value="Audio">
136 <gsf:link type="document">
137 <gsf:icon file="mp3.png" select="collection"/>
138 </gsf:link>
139 </gsf:when>
140 <gsf:when test="equals" test-value="Lyrics">
141 <gsf:link type="document">
142 <gsf:icon file="lyrics.gif" select="collection"/>
143 </gsf:link>
144 </gsf:when>
145 <gsf:when test="equals" test-value="Song sheet">
146 <gsf:link type="document">
147 <gsf:icon file="tab.gif" select="collection"/>
148 </gsf:link>
149 </gsf:when>
150 <gsf:otherwise>
151 <gsf:link type="document">
152 <gsf:icon type="document"/>
153 </gsf:link>
154 </gsf:otherwise>
155 </gsf:switch>
156 </td>
157 <td valign="top">
158 <gsf:link type="source">
159 <gsf:choose-metadata>
160 <gsf:metadata name="thumbicon"/>
161 <gsf:metadata name="srcicon"/>
162 </gsf:choose-metadata>
163 </gsf:link>
164 </td>
165 <td valign="top">
166 <gsf:link type="document">
167 <xsl:call-template name="choose-title"/>
168 </gsf:link>
169 <gsf:switch>
170 <gsf:metadata name="Source"/>
171 <gsf:when test="exists">
172 <br/>
173 <i>(Author : <gsf:metadata name="dc.Publisher"/>/<gsf:metadata name="FileFormat"/>)</i>
174 </gsf:when>
175 </gsf:switch>
176 </td>
177 </gsf:template>
178 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
179 <td valign="top">
180 <gsf:link style="static" type="classifier">
181 <gsf:icon type="classifier"/>
182 </gsf:link>
183 </td>
184 <td valign="top">
185 <gsf:link type="classifier">
186 <gsf:metadata name="Title"/>
187 </gsf:link>
188 </td>
189 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
190 </gsf:template>
191 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
192 <gsf:link type="classifier">
193 <gsf:metadata name="Title"/>
194 </gsf:link>
195 </gsf:template>
196
197</format>
198 </classifier>
199 <classifier name="Hierarchy">
200 <option name="-metadata" value="dc.Type"/>
201 <option name="-sort" value="dc.Title"/>
202 <option name="-buttonname" value="Types"/>
203 <format>
204 <gsf:template match="documentNode">
205 <td valign="top">
206 <gsf:link type="document">
207 <gsf:icon type="document"/>
208 </gsf:link>
209 </td>
210 <td valign="top">
211 <gsf:link type="source">
212 <gsf:choose-metadata>
213 <gsf:metadata name="thumbicon"/>
214 <gsf:metadata name="srcicon"/>
215 </gsf:choose-metadata>
216 </gsf:link>
217 </td>
218 <td valign="top">
219 <gsf:link type="document">
220 <xsl:call-template name="choose-title"/>
221 </gsf:link>
222 <gsf:switch>
223 <gsf:metadata name="Source"/>
224 <gsf:when test="exists">
225 <br/>
226 <i>(<gsf:metadata name="Source"/>)</i>
227 </gsf:when>
228 </gsf:switch>
229 </td>
230 </gsf:template>
231 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
232 <td valign="top">
233 <gsf:link style="static" type="classifier">
234 <gsf:icon type="classifier"/>
235 </gsf:link>
236 </td>
237 <td valign="top">
238 <gsf:link type="classifier">
239 <gsf:metadata name="Title"/>
240 </gsf:link>
241 </td>
242 </gsf:template>
243 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
244 <gsf:link type="classifier">
245 <gsf:metadata name="Title"/>
246 </gsf:link>
247 </gsf:template>
248 </format>
249 </classifier>
250 <classifier name="Hierarchy">
251 <option name="-metadata" value="dc.Date"/>
252 <option name="-buttonname" value="Date"/>
253 <format>
254 <gsf:template match="documentNode">
255 <td valign="top">
256 <gsf:link type="document">
257 <gsf:icon type="document"/>
258 </gsf:link>
259 </td>
260 <td valign="top">
261 <gsf:link type="source">
262 <gsf:choose-metadata>
263 <gsf:metadata name="thumbicon"/>
264 <gsf:metadata name="srcicon"/>
265 </gsf:choose-metadata>
266 </gsf:link>
267 </td>
268 <td valign="top">
269 <gsf:link type="document">
270 <xsl:call-template name="choose-title"/>
271 </gsf:link>
272 <gsf:switch>
273 <gsf:metadata name="Source"/>
274 <gsf:when test="exists">
275 <br/>
276 <i>(<gsf:metadata name="Source"/>)</i>
277 </gsf:when>
278 </gsf:switch>
279 </td>
280 </gsf:template>
281 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
282 <td valign="top">
283 <gsf:link style="static" type="classifier">
284 <gsf:icon type="classifier"/>
285 </gsf:link>
286 </td>
287 <td valign="top">
288 <gsf:link type="classifier">
289 <gsf:metadata name="Title"/>
290 </gsf:link>
291 </td>
292 </gsf:template>
293 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
294 <gsf:link type="classifier">
295 <gsf:metadata name="Title"/>
296 </gsf:link>
297 </gsf:template>
298 </format>
299 </classifier>
300 <format>
301 <gsf:template match="documentNode">
302 <td valign="top">
303 <gsf:link type="document">
304 <gsf:icon type="document"/>
305 </gsf:link>
306 </td>
307 <td valign="top">
308 <gsf:link type="source">
309 <gsf:choose-metadata>
310 <gsf:metadata name="thumbicon"/>
311 <gsf:metadata name="srcicon"/>
312 </gsf:choose-metadata>
313 </gsf:link>
314 </td>
315 <td valign="top">
316 <gsf:link type="document">
317 <xsl:call-template name="choose-title"/>
318 </gsf:link>
319 <gsf:switch>
320 <gsf:metadata name="Source"/>
321 <gsf:when test="exists">
322 <br/>
323 <i>(<gsf:metadata name="Source"/>)</i>
324 </gsf:when>
325 </gsf:switch>
326 </td>
327 </gsf:template>
328 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
329 <td valign="top">
330 <gsf:link style="static" type="classifier">
331 <gsf:icon type="classifier"/>
332 </gsf:link>
333 </td>
334 <td valign="top">
335 <gsf:link type="classifier">
336 <gsf:metadata name="Title"/>
337 </gsf:link>
338 </td>
339 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
340 </gsf:template>
341 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
342 <gsf:link type="classifier">
343 <gsf:metadata name="Title"/>
344 </gsf:link>
345 </gsf:template>
346 </format>
347 </browse>
348 <display>
349 <format>
350 <gsf:template name="additionalHeaderContent-collection">
351 <style>span.tocSectionTitle{display:none;}</style>
352 </gsf:template>
353 <gsf:option name="TOC" value="true"/>
354 <gsf:option name="AllowUserComments" value="false"/>
355<!--
356Overwriting this template allows you to change the heading of the document.
357-->
358<!--
359<gsf:template name="documentHeading">
360<span style="font-weight:bold; font-size: 120%;">
361<xsl:call-template name="choose-title"/>
362</span>
363</gsf:template>
364-->
365<!--
366Overwriting this template can be used to redefine the content of the whole document. This is useful for simple documents, but not recommended for more complex documents (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
367-->
368<!--
369<gsf:template name="documentContent">
370<div id="gs-document">
371<xsl:call-template name="documentPre"/>
372<xsl:call-template name="wrappedSectionImage"/>
373<div id="gs-document-text">
374<xsl:call-template name="documentNodeText"/>
375</div>
376</div>
377</gsf:template>
378-->
379<!--
380Overwriting this template can be used to change the content of section headings.
381-->
382<!--
383<gsf:template name="sectionHeading">
384<xsl:call-template name="choose-title"/>
385</gsf:template>
386-->
387<!--
388Overwriting this template can be used to change the content of the top-level section.
389-->
390<!--
391<gsf:template name="topLevelSectionContent">
392<xsl:call-template name="wrappedSectionImage"/>
393<xsl:call-template name="wrappedSectionText"/>
394</gsf:template>
395-->
396<!--
397Overwriting this template can be used to change the content of sections.
398-->
399<!--
400<gsf:template name="sectionContent">
401<xsl:call-template name="wrappedSectionImage"/>
402<xsl:call-template name="wrappedSectionText"/>
403</gsf:template>
404-->
405 </format>
406 </display>
407 <replaceListRef id="gs2-standard"/>
408 <replaceListRef id="gs2-image"/>
409 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
410 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
411 <serviceRack name="OAIPMH">
412 <setName>demow</setName>
413 <setDescription/><!-- uncomment the following and set the name attribute if
414 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
415 <ListMetadataFormats><!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like:
416 <metadataFormat metadataPrefix="prefix"/> -->
417 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
418 </ListMetadataFormats>
419 </serviceRack>
420 </serviceRackList>
421</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.