source: main/trunk/model-sites-dev/opotiki/collect/waiatade/etc/collectionConfig.xml@ 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.9 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="private" scope="collection">
4 <exception>
5 <group name="group"/>
6 </exception>
7 </security>
8 <metadataList>
9 <metadata lang="en" name="creator"/>
10 <metadata lang="en" name="maintainer"/>
11 <metadata lang="en" name="public">true</metadata>
12 </metadataList>
13 <displayItemList>
14 <displayItem assigned="true" lang="en" name="description">A Collection of Waiata.
15Songs (waiata) are sung solo, in unison or at the octave.
16Types of song include lullabies (oriori), love songs (waitata aroha) and laments (waiata tangi).
17Traditionally all formal speeches are followed by a waiata sung by the speaker and their group of supporters.
18Some of the smaller wind instruments are also sung into, and the sound of the poi (raupo ball swung on the end of a flax cord) provides a rhythmic accompaniment to waiata poi.</displayItem>
19 <displayItem assigned="true" lang="en" name="name">Waiata Kohinga</displayItem>
20 <displayItem assigned="true" lang="en" name="text">text</displayItem>
21 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
22 <displayItem assigned="true" lang="en" name="dc.Format">format</displayItem>
23 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
24 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
25 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
26 <displayItem assigned="true" lang="en" name="document">document</displayItem>
27 <displayItem assigned="true" lang="en" name="section">section</displayItem>
28 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
29 <displayItem assigned="true" lang="en" name="shortDescription">demow</displayItem>
30 <displayItem assigned="true" lang="en" name=".dc.Format">_labelFormat_</displayItem>
31 </displayItemList>
32 <format>
33 <gsf:template name="choose-title">
34 <gsf:choose-metadata>
35 <gsf:metadata name="dc.Title"/>
36 <gsf:default>Untitled</gsf:default>
37 </gsf:choose-metadata>
38 </gsf:template>
39 </format>
40 <search type="mgpp">
41 <level name="document">
42 <displayItem lang="en" name="name">document</displayItem>
43 </level>
44 <level name="section">
45 <displayItem lang="en" name="name">section</displayItem>
46 </level>
47 <defaultLevel name="document"/>
48 <index name="text">
49 <displayItem lang="en" name="name">text</displayItem>
50 </index>
51 <index name="dc.Title,ex.dc.Title,Title">
52 <displayItem lang="en" name="name">titles</displayItem>
53 </index>
54 <index name="dc.Format">
55 <displayItem lang="en" name="name">format</displayItem>
56 </index>
57 <defaultIndex name="text"/>
58 <indexOption name="separate_cjk"/>
59 <indexOption name="accentfold"/>
60 <indexOption name="casefold"/>
61 <indexOption name="stem"/>
62 <searchType name="plain"/>
63 <searchType name="simpleform"/>
64 <searchType name="advancedform"/>
65 <format>
66 <gsf:template match="documentNode">
67 <td valign="top">
68 <gsf:link type="document">
69 <gsf:icon type="document"/>
70 </gsf:link>
71 </td>
72 <td>
73 <gsf:link type="document">
74 <xsl:call-template name="choose-title"/>
75 </gsf:link>
76 </td>
77 </gsf:template>
78 </format>
79 </search>
80 <infodb type="jdbm"/>
81 <import>
82 <pluginList>
83 <plugin name="ZIPPlugin"/>
84 <plugin name="GreenstoneXMLPlugin"/>
85 <plugin name="TextPlugin"/>
86 <plugin name="HTMLPlugin"/>
87 <plugin name="EmailPlugin"/>
88 <plugin name="PDFv2Plugin">
89 <option name="-convert_to" value="pagedimg_jpg"/>
90 <option name="-process_exp" value="notext.*\.pdf"/>
91 </plugin>
92 <plugin name="PDFv2Plugin">
93 <option name="-convert_to" value="paged_pretty_html"/>
94 </plugin>
95 <plugin name="RTFPlugin"/>
96 <plugin name="WordPlugin"/>
97 <plugin name="PostScriptPlugin"/>
98 <plugin name="PowerPointPlugin"/>
99 <plugin name="ExcelPlugin"/>
100 <plugin name="ImagePlugin"/>
101 <plugin name="ISISPlugin"/>
102 <plugin name="NulPlugin"/>
103 <plugin name="OAIPlugin"/>
104 <plugin name="MP3Plugin"/>
105 <plugin name="UnknownPlugin"/>
106 <plugin name="MetadataXMLPlugin"/>
107 <plugin name="ArchivesInfPlugin"/>
108 <plugin name="DirectoryPlugin"/>
109 </pluginList>
110 </import>
111 <browse>
112 <classifier name="List">
113 <option name="-metadata" value="dc.Title;Title"/>
114 <option name="-partition_type_within_level" value="approximate_size"/>
115 <option name="-bookshelf_type" value="always"/>
116 <option name="-sort_leaf_nodes_using" value="ex.Title"/>
117 <format>
118 <gsf:template match="documentNode">
119 <td valign="top">
120 <gsf:switch>
121 <gsf:metadata name="dc.Format"/>
122 <gsf:when test="equals" test-value="Audio"><!--
123<gsf:link type="document">
124<gsf:icon file="download.png" select="collection"/>
125</gsf:link>
126-->
127 </gsf:when> <gsf:when test="equals" test-value="Lyrics">
128 <gsf:link type="document">
129 <gsf:icon file="lyrics.png" select="collection"/>
130 </gsf:link>
131 </gsf:when>
132 <gsf:when test="equals" test-value="Song sheet">
133 <gsf:link type="document">
134 <gsf:icon file="tab.gif" select="collection"/>
135 </gsf:link>
136 </gsf:when>
137 <gsf:otherwise>
138 <gsf:link type="document">
139 <gsf:icon type="document"/>
140 </gsf:link>
141 </gsf:otherwise>
142 </gsf:switch>
143 </td>
144 <td valign="top">
145 <gsf:link type="source">
146 <gsf:choose-metadata>
147 <gsf:metadata name="thumbicon"/>
148 <gsf:metadata name="srcicon"/>
149 </gsf:choose-metadata>
150 </gsf:link>
151 </td>
152 <td valign="top">
153 <gsf:link type="document">
154 <xsl:call-template name="choose-title"/>
155 </gsf:link>
156 <gsf:switch>
157 <gsf:metadata name="Source"/>
158 <gsf:when test="exists">
159 <br/>
160 <i>(<gsf:metadata name="dc.Format"/>/<gsf:metadata name="FileFormat"/>)</i>
161 </gsf:when>
162 </gsf:switch>
163 </td>
164 </gsf:template>
165 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
166 <td valign="top">
167 <gsf:link style="static" type="classifier">
168 <gsf:icon type="classifier"/>
169 </gsf:link>
170 </td>
171 <td valign="top">
172 <gsf:link type="classifier">
173 <gsf:metadata name="Title"/>
174 </gsf:link>
175 </td>
176 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
177 </gsf:template>
178 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
179 <gsf:link type="classifier">
180 <gsf:metadata name="Title"/>
181 </gsf:link>
182 </gsf:template>
183 </format>
184 </classifier>
185 <classifier name="List">
186 <option name="-metadata" value="dc.Format"/>
187 <option name="-bookshelf_type" value="always"/>
188 <option name="-partition_type_within_level" value="none"/>
189 <option name="-sort_leaf_nodes_using" value="ex.Title"/>
190 <option name="-buttonname" value="Browse"/>
191 <option name="-filter_metadata" value="dc.Title"/>
192 <format>
193 <gsf:template match="documentNode">
194 <td valign="top">
195 <gsf:switch>
196 <gsf:metadata name="dc.Format"/>
197 <gsf:when test="equals" test-value="Audio"><!--
198<gsf:link type="document">
199 <gsf:icon file="download.png" select="collection"/>
200 </gsf:link>
201-->
202 </gsf:when> <gsf:when test="equals" test-value="Lyrics">
203 <gsf:link type="document">
204 <gsf:icon file="lyrics.png" select="collection"/>
205 </gsf:link>
206 </gsf:when>
207 <gsf:when test="equals" test-value="Song sheet">
208 <gsf:link type="document">
209 <gsf:icon file="tab.gif" select="collection"/>
210 </gsf:link>
211 </gsf:when>
212 <gsf:otherwise>
213 <gsf:link type="document">
214 <gsf:icon type="document"/>
215 </gsf:link>
216 </gsf:otherwise>
217 </gsf:switch>
218 </td>
219 <td valign="top">
220 <gsf:link type="source">
221 <gsf:choose-metadata>
222 <gsf:metadata name="thumbicon"/>
223 <gsf:metadata name="srcicon"/>
224 </gsf:choose-metadata>
225 </gsf:link>
226 </td>
227 <td valign="top">
228 <gsf:link type="document">
229 <xsl:call-template name="choose-title"/>
230 </gsf:link>
231 <gsf:switch>
232 <gsf:metadata name="Source"/>
233 <gsf:when test="exists">
234 <br/>
235 <i>(<gsf:metadata name="dc.Format"/>/<gsf:metadata name="FileFormat"/>)</i>
236 </gsf:when>
237 </gsf:switch>
238 </td>
239 </gsf:template>
240 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
241 <td valign="top">
242 <gsf:link style="static" type="classifier">
243 <gsf:icon type="classifier"/>
244 </gsf:link>
245 </td>
246 <td valign="top">
247 <gsf:link type="classifier">
248 <gsf:metadata name="Title"/>
249 </gsf:link>
250 </td>
251 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
252 </gsf:template>
253 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
254 <gsf:link type="classifier">
255 <gsf:metadata name="Title"/>
256 </gsf:link>
257 </gsf:template>
258 </format>
259 </classifier>
260 <classifier name="Hierarchy">
261 <option name="-metadata" value="dc.Subject"/>
262 <option name="-sort" value="dc.Title"/>
263 <option name="-buttonname" value="Genre"/>
264 <format>
265 <gsf:template match="documentNode">
266 <td valign="top">
267 <gsf:switch>
268 <gsf:metadata name="dc.Format"/>
269 <gsf:when test="equals" test-value="Audio"><!--
270<gsf:link type="document">
271<gsf:icon file="download.png" select="collection"/>
272</gsf:link>
273-->
274 </gsf:when> <gsf:when test="equals" test-value="Lyrics">
275 <gsf:link type="document">
276 <gsf:icon file="lyrics.png" select="collection"/>
277 </gsf:link>
278 </gsf:when>
279 <gsf:when test="equals" test-value="Song sheet">
280 <gsf:link type="document">
281 <gsf:icon file="tab.gif" select="collection"/>
282 </gsf:link>
283 </gsf:when>
284 <gsf:otherwise>
285 <gsf:link type="document">
286 <gsf:icon type="document"/>
287 </gsf:link>
288 </gsf:otherwise>
289 </gsf:switch>
290 </td>
291 <td valign="top">
292 <gsf:link type="source">
293 <gsf:choose-metadata>
294 <gsf:metadata name="thumbicon"/>
295 <gsf:metadata name="srcicon"/>
296 </gsf:choose-metadata>
297 </gsf:link>
298 </td>
299 <td valign="top">
300 <gsf:link type="document">
301 <xsl:call-template name="choose-title"/>
302 </gsf:link>
303 <gsf:switch>
304 <gsf:metadata name="Source"/>
305 <gsf:when test="exists">
306 <br/>
307 <i>(<gsf:metadata name="Source"/>)</i>
308 </gsf:when>
309 </gsf:switch>
310 </td>
311 </gsf:template>
312 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
313 <td valign="top">
314 <gsf:link style="static" type="classifier">
315 <gsf:icon type="classifier"/>
316 </gsf:link>
317 </td>
318 <td valign="top">
319 <gsf:link type="classifier">
320 <gsf:metadata name="Title"/>
321 </gsf:link>
322 </td>
323 </gsf:template>
324 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
325 <gsf:link type="classifier">
326 <gsf:metadata name="Title"/>
327 </gsf:link>
328 </gsf:template>
329 </format>
330 </classifier>
331 <format>
332 <gsf:template match="documentNode">
333 <td valign="top">
334 <gsf:link type="document">
335 <gsf:icon type="document"/>
336 </gsf:link>
337 </td>
338 <td valign="top">
339 <gsf:link type="source">
340 <gsf:choose-metadata>
341 <gsf:metadata name="thumbicon"/>
342 <gsf:metadata name="srcicon"/>
343 </gsf:choose-metadata>
344 </gsf:link>
345 </td>
346 <td valign="top">
347 <gsf:link type="document">
348 <xsl:call-template name="choose-title"/>
349 </gsf:link>
350 <gsf:switch>
351 <gsf:metadata name="Source"/>
352 <gsf:when test="exists">
353 <br/>
354 <i>(<gsf:metadata name="Source"/>)</i>
355 </gsf:when>
356 </gsf:switch>
357 </td>
358 </gsf:template>
359 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
360 <td valign="top">
361 <gsf:link style="static" type="classifier">
362 <gsf:icon type="classifier"/>
363 </gsf:link>
364 </td>
365 <td valign="top">
366 <gsf:link type="classifier">
367 <gsf:metadata name="Title"/>
368 </gsf:link>
369 </td>
370 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
371 </gsf:template>
372 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
373 <gsf:link type="classifier">
374 <gsf:metadata name="Title"/>
375 </gsf:link>
376 </gsf:template>
377 </format>
378 </browse>
379 <display>
380 <format>
381 <gsf:template name="additionalHeaderContent-collection">
382 <style>span.tocSectionTitle{display:none;}</style>
383 </gsf:template>
384 <gsf:option name="TOC" value="true"/>
385 <gsf:option name="AllowUserComments" value="false"/>
386<!--
387Overwriting this template allows you to change the heading of the document.
388-->
389<!--
390<gsf:template name="documentHeading">
391<span style="font-weight:bold; font-size: 120%;">
392<xsl:call-template name="choose-title"/>
393</span>
394</gsf:template>
395-->
396<!--
397Overwriting 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.
398-->
399<!--
400<gsf:template name="documentContent">
401<div id="gs-document">
402<xsl:call-template name="documentPre"/>
403<xsl:call-template name="wrappedSectionImage"/>
404<div id="gs-document-text">
405<xsl:call-template name="documentNodeText"/>
406</div>
407</div>
408</gsf:template>
409-->
410<!--
411Overwriting this template can be used to change the content of section headings.
412-->
413<!--
414<gsf:template name="sectionHeading">
415<xsl:call-template name="choose-title"/>
416</gsf:template>
417-->
418<!--
419Overwriting this template can be used to change the content of the top-level section.
420-->
421<!--
422<gsf:template name="topLevelSectionContent">
423<xsl:call-template name="wrappedSectionImage"/>
424<xsl:call-template name="wrappedSectionText"/>
425</gsf:template>
426-->
427<!--
428Overwriting this template can be used to change the content of sections.
429-->
430<!--
431<gsf:template name="sectionContent">
432<xsl:call-template name="wrappedSectionImage"/>
433<xsl:call-template name="wrappedSectionText"/>
434</gsf:template>
435-->
436 </format>
437 </display>
438 <replaceListRef id="gs2-standard"/>
439 <replaceListRef id="gs2-image"/>
440 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
441 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
442 <serviceRack name="OAIPMH">
443 <setName>demow</setName>
444 <setDescription/><!-- uncomment the following and set the name attribute if
445 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
446 <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:
447 <metadataFormat metadataPrefix="prefix"/> -->
448 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
449 </ListMetadataFormats>
450 </serviceRack>
451 </serviceRackList>
452</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.