source: main/trunk/model-sites-dev/opotiki/collect/imagesco/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: 18.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 <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="description">A Collection of Images. The Tānewhirinaki Meeting-house was opened in 1886, at Waioeka pa in the 1920’s, however today it no longer stands. The carvings on display are those that were brought back from the Auckland Museum and the complete collection stands at Ngāti Ira Marae. The first meeting –house stood at Waioeka pa. It was named Tānewhirinaki after the eldest son of Muriwai, ancestress of Whakatōhea.</displayItem>
10 <displayItem assigned="true" lang="en" name="name">Whakaahua Kohinga</displayItem>
11 <displayItem assigned="true" lang="en" name="text">text</displayItem>
12 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
13 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
14 <displayItem assigned="true" lang="en" name="dc.Caption">caption</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="document">document</displayItem>
19 <displayItem assigned="true" lang="en" name="section">section</displayItem>
20 <displayItem assigned="true" lang="en" name="sub1">sub1</displayItem>
21 <displayItem assigned="true" lang="en" name="sub10">sub10</displayItem>
22 <displayItem assigned="true" lang="en" name="sub2">sub2</displayItem>
23 <displayItem assigned="true" lang="en" name="sub3">sub3</displayItem>
24 <displayItem assigned="true" lang="en" name="sub4">sub4</displayItem>
25 <displayItem assigned="true" lang="en" name="sub5">sub5</displayItem>
26 <displayItem assigned="true" lang="en" name="sub6">sub6</displayItem>
27 <displayItem assigned="true" lang="en" name="sub7">sub7</displayItem>
28 <displayItem assigned="true" lang="en" name="sub8">sub8</displayItem>
29 <displayItem assigned="true" lang="en" name="sub1,sub10,sub2,sub3,sub4,sub5,sub6,sub7,sub8">all</displayItem>
30 <displayItem assigned="true" lang="en" name="shortDescription">imagesco</displayItem>
31 <displayItem assigned="true" lang="en" name=".sub1">sub1</displayItem>
32 <displayItem assigned="true" lang="en" name=".sub10">sub10</displayItem>
33 <displayItem assigned="true" lang="en" name=".sub2">sub2</displayItem>
34 <displayItem assigned="true" lang="en" name=".sub3">sub3</displayItem>
35 <displayItem assigned="true" lang="en" name=".sub4">sub4</displayItem>
36 <displayItem assigned="true" lang="en" name=".sub5">sub5</displayItem>
37 <displayItem assigned="true" lang="en" name=".sub6">sub6</displayItem>
38 <displayItem assigned="true" lang="en" name=".sub7">sub7</displayItem>
39 <displayItem assigned="true" lang="en" name=".sub8">sub8</displayItem>
40 <displayItem assigned="true" lang="en" name=".sub1,sub10,sub2,sub3,sub4,sub5,sub6,sub7,sub8">sub1,sub10,sub2,sub3,sub4,sub5,sub6,sub7,sub8</displayItem>
41 <displayItem assigned="true" lang="en" name=".dc.Caption">dc.Caption</displayItem>
42 </displayItemList>
43 <format>
44 <gsf:template name="choose-title">
45 <gsf:choose-metadata>
46 <gsf:metadata name="dc.Title"/>
47 <gsf:metadata name="exp.Title"/>
48 <gsf:metadata name="ex.dc.Title"/>
49 <gsf:metadata name="Title"/>
50 <gsf:default>Untitled</gsf:default>
51 </gsf:choose-metadata>
52 </gsf:template>
53<!--
54modify the collection description template to output the "this collection contains X documents and was last built Y days ago" message
55-->
56 <xsl:template name="coll-description">
57 <p>
58 <gslib:collectionDescriptionTextAndServicesLinks/>
59 </p>
60 <xsl:variable name="raw_date">
61 <gslib:collectionMeta name="buildDate"/>
62 </xsl:variable>
63 <xsl:variable name="formatted_date">
64 <xsl:value-of select="util:formatTimeStamp($raw_date, 0, 3, /page/@lang)"/>
65 </xsl:variable>
66 <xsl:variable name="numdocs">
67 <gslib:collectionMeta name="numDocs"/>
68 </xsl:variable>
69 <p>
70 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.standarddescriptiondays', concat($numdocs, ';', $formatted_date))"/>
71 </p>
72 </xsl:template>
73 </format>
74 <search type="mgpp">
75 <level name="document">
76 <displayItem lang="en" name="name">document</displayItem>
77 </level>
78 <level name="section">
79 <displayItem lang="en" name="name">section</displayItem>
80 </level>
81 <defaultLevel name="document"/>
82 <index name="dc.Title,ex.dc.Title,Title">
83 <displayItem lang="en" name="name">titles</displayItem>
84 </index>
85 <index name="dc.Caption">
86 <displayItem lang="en" name="name">caption</displayItem>
87 </index>
88 <defaultIndex name="dc.Title,ex.dc.Title,Title"/>
89 <indexOption name="accentfold"/>
90 <indexOption name="casefold"/>
91 <indexOption name="stem"/>
92 <indexSubcollection name="sub1">
93 <displayItem lang="en" name="name">sub1</displayItem>
94 </indexSubcollection>
95 <indexSubcollection name="sub10">
96 <displayItem lang="en" name="name">sub10</displayItem>
97 </indexSubcollection>
98 <indexSubcollection name="sub2">
99 <displayItem lang="en" name="name">sub2</displayItem>
100 </indexSubcollection>
101 <indexSubcollection name="sub3">
102 <displayItem lang="en" name="name">sub3</displayItem>
103 </indexSubcollection>
104 <indexSubcollection name="sub4">
105 <displayItem lang="en" name="name">sub4</displayItem>
106 </indexSubcollection>
107 <indexSubcollection name="sub5">
108 <displayItem lang="en" name="name">sub5</displayItem>
109 </indexSubcollection>
110 <indexSubcollection name="sub6">
111 <displayItem lang="en" name="name">sub6</displayItem>
112 </indexSubcollection>
113 <indexSubcollection name="sub7">
114 <displayItem lang="en" name="name">sub7</displayItem>
115 </indexSubcollection>
116 <indexSubcollection name="sub8">
117 <displayItem lang="en" name="name">sub8</displayItem>
118 </indexSubcollection>
119 <indexSubcollection name="sub1,sub10,sub2,sub3,sub4,sub5,sub6,sub7,sub8">
120 <displayItem lang="en" name="name">all</displayItem>
121 </indexSubcollection>
122 <subcollection filter="dc.Subcollection/1" name="sub1"/>
123 <subcollection filter="dc.Subcollection/2" name="sub2"/>
124 <subcollection filter="dc.Subcollection/3" name="sub3"/>
125 <subcollection filter="dc.Subcollection/4" name="sub4"/>
126 <subcollection filter="dc.Subcollection/5" name="sub5"/>
127 <subcollection filter="dc.Subcollection/6" name="sub6"/>
128 <subcollection filter="dc.Subcollection/7" name="sub7"/>
129 <subcollection filter="dc.Subcollection/8" name="sub8"/>
130 <subcollection filter="dc.Subcollection/10" name="sub10"/>
131 <subcollection filter="Filename/9" name="sub9"/>
132 <searchType name="plain"/>
133 <searchType name="simpleform"/>
134 <searchType name="advancedform"/>
135 <format>
136 <gsf:template match="documentNode">
137 <td valign="top">
138 <gsf:link type="document">
139 <gsf:icon type="document"/>
140 </gsf:link>
141 </td>
142 <td>
143 <gsf:link type="document">
144 <xsl:call-template name="choose-title"/>
145 </gsf:link>
146 </td>
147 </gsf:template>
148 </format>
149 </search>
150 <infodb type="jdbm"/>
151 <import>
152 <pluginList>
153 <plugin name="ZIPPlugin"/>
154 <plugin name="GreenstoneXMLPlugin"/>
155 <plugin name="TextPlugin"/>
156 <plugin name="HTMLPlugin"/>
157 <plugin name="EmailPlugin"/>
158 <plugin name="PDFv2Plugin"/>
159 <plugin name="RTFPlugin"/>
160 <plugin name="WordPlugin"/>
161 <plugin name="PostScriptPlugin"/>
162 <plugin name="PowerPointPlugin"/>
163 <plugin name="ExcelPlugin"/>
164 <plugin name="ImagePlugin"/>
165 <plugin name="ISISPlugin"/>
166 <plugin name="NulPlugin"/>
167 <plugin name="OAIPlugin"/>
168 <plugin name="MetadataXMLPlugin"/>
169 <plugin name="ArchivesInfPlugin"/>
170 <plugin name="DirectoryPlugin"/>
171 </pluginList>
172 </import>
173 <browse>
174 <classifier name="List">
175 <option name="-metadata" value="dc.Title;Title"/>
176 <option name="-partition_type_within_level" value="approximate_size"/>
177 <option name="-numeric_partition_type_within_level" value="approximate_size"/>
178 <format>
179 <gsf:template match="documentNode">
180<!--
181comment out document incons here
182-->
183<!--
184<td valign="top">
185<gsf:link type="document">
186<gsf:icon type="document"/>
187</gsf:link>
188</td>
189-->
190 <td valign="top">
191 <gsf:link type="source">
192 <gsf:choose-metadata>
193 <gsf:metadata name="thumbicon"/>
194 <gsf:metadata name="srcicon"/>
195 </gsf:choose-metadata>
196 </gsf:link>
197 </td>
198 <td valign="top">
199 <gsf:link type="document">
200 <xsl:call-template name="choose-title"/>
201 </gsf:link>
202 <gsf:switch>
203 <gsf:metadata name="Source"/>
204 <gsf:when test="exists">
205 <br/>
206 <i>(<gsf:metadata name="Source"/>)</i>
207 </gsf:when>
208 </gsf:switch>
209 </td>
210 </gsf:template>
211 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
212 <td valign="top">
213 <gsf:link style="static" type="classifier">
214 <gsf:icon type="classifier"/>
215 </gsf:link>
216 </td>
217 <td valign="top">
218 <gsf:link type="classifier">
219 <gsf:metadata name="Title"/>
220 </gsf:link>
221 </td>
222 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
223 </gsf:template>
224 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
225 <gsf:link type="classifier">
226 <gsf:metadata name="Title"/>
227 </gsf:link>
228 </gsf:template>
229 </format>
230 </classifier>
231 <classifier name="AZCompactList">
232 <option name="-metadata" value="dc.Subcollection"/>
233 <option name="-sort" value="dc.Title"/>
234 <option name="-buttonname" value="subcollection"/>
235 <format>
236 <gsf:template match="documentNode">
237<!--
238<td valign="top">
239<gsf:link type="document">
240<gsf:icon type="document"/>
241</gsf:link>
242</td>
243-->
244 <td valign="top">
245 <gsf:link type="source">
246 <gsf:choose-metadata>
247 <gsf:metadata name="thumbicon"/>
248 <gsf:metadata name="srcicon"/>
249 </gsf:choose-metadata>
250 </gsf:link>
251 </td>
252 <td valign="top">
253 <gsf:link type="Source">
254<!--
255<gsf:metadata name="Source"/>
256-->
257 <xsl:call-template name="choose-title"/>
258 </gsf:link>
259<!--
260<gsf:switch>
261<gsf:metadata name="Source"/>
262<gsf:when test="exists">
263<br/>
264<i>(
265<gsf:metadata name="Source"/>)
266</i>
267</gsf:when>
268</gsf:switch>
269-->
270 </td>
271 </gsf:template>
272 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
273 <td valign="top">
274 <gsf:link style="static" type="classifier">
275 <gsf:icon type="classifier"/>
276 </gsf:link>
277 </td>
278 <td valign="top">
279 <gsf:link type="classifier">
280 <gsf:metadata name="Title"/>
281 </gsf:link>
282 </td>
283 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
284 </gsf:template>
285 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
286 <gsf:link type="classifier">
287 <gsf:metadata name="Title"/>
288 </gsf:link>
289 </gsf:template>
290 </format>
291 </classifier>
292 <classifier name="AZCompactList">
293 <option name="-metadata" value="dc.Location"/>
294 <option name="-sort" value="dc.Title"/>
295 <option name="-buttonname" value="location"/>
296 <format>
297 <gsf:template match="documentNode">
298<!--
299<td valign="top">
300<gsf:link type="document">
301<gsf:icon type="document"/>
302</gsf:link>
303</td>
304-->
305 <td valign="top">
306 <gsf:link type="source">
307 <gsf:choose-metadata>
308 <gsf:metadata name="thumbicon"/>
309 <gsf:metadata name="srcicon"/>
310 </gsf:choose-metadata>
311 </gsf:link>
312 </td>
313 <td valign="top">
314 <gsf:link type="document">
315 <xsl:call-template name="choose-title"/>
316 </gsf:link>
317 <gsf:switch>
318 <gsf:metadata name="Source"/>
319 <gsf:when test="exists">
320 <br/>
321 <i>(<gsf:metadata name="Source"/>)</i>
322 </gsf:when>
323 </gsf:switch>
324 </td>
325 </gsf:template>
326 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
327 <td valign="top">
328 <gsf:link style="static" type="classifier">
329 <gsf:icon type="classifier"/>
330 </gsf:link>
331 </td>
332 <td valign="top">
333 <gsf:link type="classifier">
334 <gsf:metadata name="Title"/>
335 </gsf:link>
336 </td>
337 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
338 </gsf:template>
339 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
340 <gsf:link type="classifier">
341 <gsf:metadata name="Title"/>
342 </gsf:link>
343 </gsf:template>
344 </format>
345 </classifier>
346 <classifier name="AZCompactList">
347 <option name="-metadata" value="dc.Date"/>
348 <option name="-sort" value="dc.Title"/>
349 <option name="-buttonname" value="time"/>
350 <format>
351 <gsf:template match="documentNode">
352<!--
353<td valign="top">
354<gsf:link type="document">
355<gsf:icon type="document"/>
356</gsf:link>
357</td>
358-->
359 <td valign="top">
360 <gsf:link type="source">
361 <gsf:choose-metadata>
362 <gsf:metadata name="thumbicon"/>
363 <gsf:metadata name="srcicon"/>
364 </gsf:choose-metadata>
365 </gsf:link>
366 </td>
367 <td valign="top">
368<!--
369<gsf:link type="document">
370<xsl:call-template name="choose-title"/>
371</gsf:link>
372-->
373 <gsf:switch>
374 <gsf:metadata name="Source"/>
375 <gsf:when test="exists">
376 <br/>
377 <i>
378<!--
379(
380-->
381 <gsf:metadata name="Source"/>
382<!--
383)
384-->
385 </i>
386 </gsf:when>
387 </gsf:switch>
388 </td>
389 </gsf:template>
390 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
391 <td valign="top">
392 <gsf:link style="static" type="classifier">
393 <gsf:icon type="classifier"/>
394 </gsf:link>
395 </td>
396 <td valign="top">
397 <gsf:link type="classifier">
398 <gsf:metadata name="Title"/>
399 </gsf:link>
400 </td>
401 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
402 </gsf:template>
403 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
404 <gsf:link type="classifier">
405 <gsf:metadata name="Title"/>
406 </gsf:link>
407 </gsf:template>
408 </format>
409 </classifier>
410 <format>
411 <gsf:template match="documentNode">
412 <td valign="top">
413 <gsf:link type="document">
414 <gsf:icon type="document"/>
415 </gsf:link>
416 </td>
417 <td valign="top">
418 <gsf:link type="source">
419 <gsf:choose-metadata>
420 <gsf:metadata name="thumbicon"/>
421 <gsf:metadata name="srcicon"/>
422 </gsf:choose-metadata>
423 </gsf:link>
424 </td>
425 <td valign="top">
426 <gsf:link type="document">
427<!--
428Defined in the global format statement
429-->
430 <xsl:call-template name="choose-title"/>
431 <gsf:switch>
432 <gsf:metadata name="Source"/>
433 <gsf:when test="exists">
434 <br/>
435 <i>(<gsf:metadata name="Source"/>)</i>
436 </gsf:when>
437 </gsf:switch>
438 </gsf:link>
439 </td>
440 </gsf:template>
441 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
442 <td valign="top">
443 <gsf:link style="static" type="classifier">
444 <gsf:icon type="classifier"/>
445 </gsf:link>
446 </td>
447 <td valign="top">
448 <gsf:link type="classifier">
449 <gsf:metadata name="Title"/>
450 </gsf:link>
451 </td>
452 <td valign="top">(<gsf:metadata name="numleafdocs"/>)</td>
453 </gsf:template>
454 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
455 <gsf:link style="static" type="classifier">
456 <gsf:metadata name="Title"/>
457 </gsf:link>
458 </gsf:template>
459 </format>
460 </browse>
461 <display>
462 <format>
463 <gsf:option name="TOC" value="true"/>
464 <gsf:option name="allowUserComments" value="false"/>
465 <gsf:option name="allowDocumentEditing" value="true"/>
466 <gsf:option name="allowMapGPSEditing" value="true"/>
467<!--
468Overwriting this template allows you to change the heading of the document.
469-->
470<!--
471<gsf:template name="documentHeading">
472 <span style="font-weight:bold; font-size: 120%;">
473 <xsl:call-template name="choose-title"/>
474 </span>
475 </gsf:template>
476-->
477<!--
478Overwriting this template can be used to redefine the content of the whole document.
479 This is useful for simple documents, but not recommended for more complex documents
480 (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
481-->
482<!--
483<gsf:template name="documentContent">
484 <div id="gs-document">
485 <xsl:call-template name="documentPre"/>
486 <xsl:call-template name="wrappedSectionImage"/>
487 <div id="gs-document-text">
488 <xsl:call-template name="documentNodeText"/>
489 </div>
490 </div>
491 </gsf:template>
492-->
493<!--
494Overwriting this template can be used to change the content of section headings.
495-->
496<!--
497<gsf:template name="sectionHeading">
498 <xsl:call-template name="choose-title"/>
499 </gsf:template>
500-->
501<!--
502Overwriting this template can be used to change the content of the top-level section.
503-->
504<!--
505<gsf:template name="topLevelSectionContent">
506 <xsl:call-template name="wrappedSectionImage"/>
507 <xsl:call-template name="wrappedSectionText"/>
508 </gsf:template>
509-->
510<!--
511Overwriting this template can be used to change the content of sections.
512-->
513<!--
514<gsf:template name="sectionContent">
515 <xsl:call-template name="wrappedSectionImage"/>
516 <xsl:call-template name="wrappedSectionText"/>
517 </gsf:template>
518-->
519 </format>
520 </display>
521 <replaceListRef id="gs2-standard"/>
522 <replaceListRef id="gs2-image"/>
523 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
524 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
525 <serviceRack name="OAIPMH">
526 <setName>imagesco</setName>
527 <setDescription/><!-- uncomment the following and set the name attribute if
528 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
529 <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:
530 <metadataFormat metadataPrefix="prefix"/> -->
531 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
532 </ListMetadataFormats>
533 </serviceRack>
534 </serviceRackList>
535</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.