source: main/trunk/model-sites-dev/opotiki/collect/all-template-coll/etc/collectionConfig.xml@ 34314

Last change on this file since 34314 was 34314, checked in by ak19, 4 years ago
  1. As Dr Bainbridge/Kathy suggested, passing in buildOption remove_empty_classifications to empty classifiers on meta fields that have no values in a collection. 2. Adjusting WMTB collection templates' format statements to work with Section level searching, which Dr Bainbridge suggested should be the default level: display-metadata format statement template now uses select=root since they're all doc-level meta. The search format statement displays 'section level title' of 'doc level title' for section level results. The subsequent call-template=display-metadata now works for doclevel or section level searches as display-metadata uses select=root for all meta. 3. Adjusting collection title for collection templates.
File size: 24.2 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"><!--
4The following exception-documentSet PAIR says that any document where ONE of the meta
5 values for the wmtb.RestrictedToGroups meta field value is set to WMTB, should ONLY
6 be accessible to logged-in members in the WMTB group
7-->
8 <exception>
9 <documentSet name="wmtb-docset"/>
10 <group name="WMTB"/>
11 </exception>
12 <documentSet name="wmtb-docset">
13 <match field="wmtb.RestrictedToGroups" type="match">WMTB</match>
14 </documentSet><!--
15The following exception-documentSet PAIR says that any document where ONE of the metadata
16 values for the wmtb.RestrictedToGroups meta field is set to Ngati-Ira, should ONLY be
17 accessible to logged-in members in the Ngati-Ira group
18-->
19 <exception>
20 <documentSet name="ngati-ira-docset"/>
21 <group name="Ngati-Ira"/>
22 </exception>
23 <documentSet name="ngati-ira-docset">
24 <match field="wmtb.RestrictedToGroups" type="match">Ngati-Ira</match>
25 </documentSet><!--
26The following exception-documentSet PAIR says that any document where ONE of the
27 metadata values for the wmtb.RestrictedToGroups meta field is set to Ngati-Patumoana,
28 should ONLY be accessible to logged-in members in the Ngati-Patumoana group
29-->
30 <exception>
31 <documentSet name="ngati-patumoana-docset"/>
32 <group name="Ngati-Patumoana"/>
33 </exception>
34 <documentSet name="ngati-patumoana-docset">
35 <match field="wmtb.RestrictedToGroups" type="match">Ngati-Patumoana</match>
36 </documentSet>
37 </security>
38 <metadataList>
39 <metadata lang="en" name="creator"/>
40 <metadata lang="en" name="maintainer"/>
41 <metadata lang="en" name="public">true</metadata>
42 </metadataList>
43 <displayItemList>
44 <displayItem assigned="true" lang="en" name="description"><p>
45<b>This is the general template for all WMTB collections: if the collection COULD potentially contain any
46or all of waiata, whakaahua as well kōrero documents, use this template collection to base your new collection off.</b>
47</p>
48
49<p>However, if you know that your new WMTB collection will only contain whakaahua, you can
50base your new collection off the collection <b>img-template-coll</b>.</p>
51
52<p>Or, if you know that your new WMTB collection will only contain waiata, you can base your
53new collection off the collection <b>song-template-coll</b>.</p>
54
55<p>Or, if you know that your new WMTB collection will only contain kōrero materials, you can base
56your new collection off the collection <b>text-template-coll</b>.</p>
57</displayItem>
58 <displayItem assigned="true" lang="en" name="name">general collection template</displayItem>
59 <displayItem assigned="true" lang="en" name="allfields">all</displayItem>
60 <displayItem assigned="true" lang="en" name="text">text</displayItem>
61 <displayItem assigned="true" lang="en" name="wmtb.Title">titles</displayItem>
62 <displayItem assigned="true" lang="en" name="wmtb.HapuOrIwi">hapū or iwi</displayItem>
63 <displayItem assigned="true" lang="en" name="wmtb.Singer">singers</displayItem>
64 <displayItem assigned="true" lang="en" name="wmtb.Lyricist">lyricists</displayItem>
65 <displayItem assigned="true" lang="en" name="wmtb.Composer">composers</displayItem>
66 <displayItem assigned="true" lang="en" name="wmtb.Genre">genre</displayItem>
67 <displayItem assigned="true" lang="en" name="wmtb.Caption">captions</displayItem>
68 <displayItem assigned="true" lang="en" name="wmtb.Photographer">photographers</displayItem>
69 <displayItem assigned="true" lang="en" name="wmtb.BoardOrSubcollection">board or subcollection</displayItem>
70 <displayItem assigned="true" lang="en" name="wmtb.Author">authors</displayItem>
71 <displayItem assigned="true" lang="en" name="wmtb.Year">date</displayItem>
72 <displayItem assigned="true" lang="en" name="wmtb.Location">location</displayItem>
73 <displayItem assigned="true" lang="en" name="wmtb.Type">document types</displayItem>
74 <displayItem assigned="true" lang="en" name="wmtb.Other">comments</displayItem>
75 <displayItem assigned="true" lang="en" name="wmtb.AddedBy">added by</displayItem>
76 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
77 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
78 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
79 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
80 <displayItem assigned="true" lang="en" name="document">document</displayItem>
81 <displayItem assigned="true" lang="en" name="section">section</displayItem>
82 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
83 <displayItem assigned="true" lang="en" name="shortDescription">kohingak</displayItem>
84 <displayItem assigned="true" lang="en" name=".allfields">allfields</displayItem>
85 </displayItemList>
86 <format> <gsf:template name="choose-title">
87 <gsf:choose-metadata>
88 <gsf:metadata name="wmtb.Title"/>
89 <gsf:metadata name="Title"/>
90 <gsf:default>Untitled</gsf:default>
91 </gsf:choose-metadata>
92 </gsf:template>
93<!--
94CUSTOM TEMLPLATE display-metadata: Displaying WMTB document metadata meaningful to digital library visitors
95-->
96 <gsf:template name="display-metadata">
97<!--
98First some general WMTB collecton metadata
99-->
100 <gsf:switch>
101 <gsf:metadata name="wmtb.Author" select="root"/>
102 <gsf:when test="exists"><br/> Author(s): <gsf:metadata name="wmtb.Author" select="root"/></gsf:when>
103 </gsf:switch>
104 <gsf:switch>
105 <gsf:metadata name="wmtb.HapuOrIwi" select="root"/>
106 <gsf:when test="exists"><br/> Hapū or Iwi: <gsf:metadata name="wmtb.HapuOrIwi" select="root"/></gsf:when>
107 </gsf:switch>
108<!--
109Now any waiata-specific metadata
110-->
111 <gsf:switch>
112 <gsf:metadata name="wmtb.Singer" select="root"/>
113 <gsf:when test="exists"><br/> Singer(s): <gsf:metadata name="wmtb.Singer" select="root"/></gsf:when>
114 </gsf:switch>
115 <gsf:switch>
116 <gsf:metadata name="wmtb.Lyricist" select="root"/>
117 <gsf:when test="exists"><br/> Lyricist(s): <gsf:metadata name="wmtb.Lyricist" select="root"/></gsf:when>
118 </gsf:switch>
119 <gsf:switch>
120 <gsf:metadata name="wmtb.Composer" select="root"/>
121 <gsf:when test="exists"><br/> Composer(s): <gsf:metadata name="wmtb.Composer" select="root"/></gsf:when>
122 </gsf:switch>
123 <gsf:switch>
124 <gsf:metadata name="wmtb.Genre" select="root"/>
125 <gsf:when test="exists"><br/> Genre(s): <gsf:metadata name="wmtb.Genre" select="root"/></gsf:when>
126 </gsf:switch>
127 <gsf:switch>
128 <gsf:metadata name="wmtb.MediaType" select="root"/>
129 <gsf:when test="exists"><br/> MediaType(s): <gsf:metadata name="wmtb.MediaType" select="root"/></gsf:when>
130 </gsf:switch>
131<!--
132Any whakaahua-specific metadata
133-->
134 <gsf:switch>
135 <gsf:metadata name="wmtb.Caption" select="root"/>
136 <gsf:when test="exists"><br/> Caption(s): <gsf:metadata name="wmtb.Caption" select="root"/></gsf:when>
137 </gsf:switch>
138 <gsf:switch>
139 <gsf:metadata name="wmtb.Photographer" select="root"/>
140 <gsf:when test="exists"><br/> Photographer(s): <gsf:metadata name="wmtb.Photographer" select="root"/></gsf:when>
141 </gsf:switch>
142<!--
143Still whakaahua specific meta: If we have width meta for a photo, we display something like:"Dimensions: Width w x Height h Units (size: 100kb)" with question mark for unknown height
144-->
145 <gsf:switch>
146 <gsf:metadata name="wmtb.Width" select="root"/>
147 <gsf:when test="exists">
148 <br/>
149 <xsl:text>Dimensions: </xsl:text>
150 <gsf:metadata name="wmtb.Width" select="root"/>
151 <xsl:text> w x</xsl:text>
152 <gsf:switch>
153 <gsf:metadata name="wmtb.Height" select="root"/>
154 <gsf:when test="exists"> <gsf:metadata name="wmtb.Height" select="root"/>h</gsf:when>
155 <gsf:otherwise> ?h</gsf:otherwise>
156 </gsf:switch>
157 <gsf:switch>
158 <gsf:metadata name="wmtb.Units" select="root"/>
159 <gsf:when test="exists"> <gsf:metadata name="wmtb.Units" select="root"/> units</gsf:when>
160 </gsf:switch>
161 <gsf:switch>
162 <gsf:metadata name="wmtb.Size" select="root"/>
163 <gsf:when test="exists"> (size:<gsf:metadata name="wmtb.Size" select="root"/>)</gsf:when>
164 </gsf:switch>
165 </gsf:when>
166 </gsf:switch>
167<!--
168Back to general WMTB collecton metadata
169-->
170 <gsf:switch>
171 <gsf:metadata name="wmtb.Location" select="root"/>
172 <gsf:when test="exists"><br/> Location(s): <gsf:metadata name="wmtb.Location" select="root"/></gsf:when>
173 </gsf:switch>
174 <gsf:switch>
175 <gsf:metadata name="wmtb.DateType" select="root"/>
176 <gsf:when test="exists"><br/><gsf:metadata name="wmtb.DateType" select="root"/>: </gsf:when>
177 <gsf:otherwise><br/>Date: </gsf:otherwise>
178 </gsf:switch>
179 <gsf:switch>
180 <gsf:metadata name="wmtb.Day" select="root"/>
181 <gsf:when test="exists"><gsf:metadata name="wmtb.Day" select="root"/>/</gsf:when>
182 </gsf:switch>
183 <gsf:switch>
184 <gsf:metadata name="wmtb.Month" select="root"/>
185 <gsf:when test="exists"><gsf:metadata name="wmtb.Month" select="root"/>/</gsf:when>
186 </gsf:switch>
187 <gsf:switch>
188 <gsf:metadata name="wmtb.Year" select="root"/>
189 <gsf:when test="exists">
190 <gsf:metadata name="wmtb.Year" select="root"/>
191 </gsf:when>
192 </gsf:switch>
193 <gsf:switch>
194 <gsf:metadata name="wmtb.Type" select="root"/>
195 <gsf:when test="exists"><br/> Type: <gsf:metadata name="wmtb.Type" select="root"/></gsf:when>
196 </gsf:switch>
197 <gsf:switch>
198 <gsf:metadata name="Source" select="root"/>
199 <gsf:when test="exists">
200 <br/>
201 <i>(<gsf:metadata name="Source" select="root"/>)</i>
202 </gsf:when>
203 </gsf:switch>
204 </gsf:template>
205<!--
206END OF CUSTOM TEMPLATE display-metadata
207-->
208<!--
209modify the collection description template to output the "this collection contains X documents and was last built Y days ago" message
210-->
211 <xsl:template name="coll-description">
212 <p>
213 <gslib:collectionDescriptionTextAndServicesLinks/>
214 </p>
215 <xsl:variable name="raw_date">
216 <gslib:collectionMeta name="buildDate"/>
217 </xsl:variable>
218 <xsl:variable name="formatted_date">
219 <xsl:value-of select="util:formatTimeStamp($raw_date, 0, 3, /page/@lang)"/>
220 </xsl:variable>
221 <xsl:variable name="numdocs">
222 <gslib:collectionMeta name="numDocs"/>
223 </xsl:variable>
224 <p>
225 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.standarddescriptiondays', concat($numdocs, ';', $formatted_date))"/>
226 </p>
227 </xsl:template>
228
229</format>
230 <search type="lucene">
231 <level name="document">
232 <displayItem lang="en" name="name">document</displayItem>
233 </level>
234 <level name="section">
235 <displayItem lang="en" name="name">section</displayItem>
236 </level>
237 <defaultLevel name="section"/>
238 <index name="allfields">
239 <displayItem lang="en" name="name">all</displayItem>
240 </index>
241 <index name="text">
242 <displayItem lang="en" name="name">text</displayItem>
243 </index>
244 <index name="wmtb.Title">
245 <displayItem lang="en" name="name">titles</displayItem>
246 </index>
247 <index name="wmtb.HapuOrIwi">
248 <displayItem lang="en" name="name">hapū or iwi</displayItem>
249 </index>
250 <index name="wmtb.Singer">
251 <displayItem lang="en" name="name">singers</displayItem>
252 </index>
253 <index name="wmtb.Lyricist">
254 <displayItem lang="en" name="name">lyricists</displayItem>
255 </index>
256 <index name="wmtb.Composer">
257 <displayItem lang="en" name="name">composers</displayItem>
258 </index>
259 <index name="wmtb.Genre">
260 <displayItem lang="en" name="name">genre</displayItem>
261 </index>
262 <index name="wmtb.Caption">
263 <displayItem lang="en" name="name">captions</displayItem>
264 </index>
265 <index name="wmtb.Photographer">
266 <displayItem lang="en" name="name">photographers</displayItem>
267 </index>
268 <index name="wmtb.BoardOrSubcollection">
269 <displayItem lang="en" name="name">board or subcollection</displayItem>
270 </index>
271 <index name="wmtb.Author">
272 <displayItem lang="en" name="name">authors</displayItem>
273 </index>
274 <index name="wmtb.Year">
275 <displayItem lang="en" name="name">date</displayItem>
276 </index>
277 <index name="wmtb.Location">
278 <displayItem lang="en" name="name">location</displayItem>
279 </index>
280 <index name="wmtb.Type">
281 <displayItem lang="en" name="name">document types</displayItem>
282 </index>
283 <index name="wmtb.Other">
284 <displayItem lang="en" name="name">comments</displayItem>
285 </index>
286 <index name="wmtb.AddedBy">
287 <displayItem lang="en" name="name">added by</displayItem>
288 </index>
289 <index name="Source">
290 <displayItem lang="en" name="name">filenames</displayItem>
291 </index>
292 <defaultIndex name="allfields"/>
293 <sort name="rank">
294 <displayItem lang="en" name="name">rank</displayItem>
295 </sort>
296 <sort name="none">
297 <displayItem lang="en" name="name">natural (build) order</displayItem>
298 </sort>
299 <searchType name="plain"/>
300 <searchType name="simpleform"/>
301 <searchType name="advancedform"/>
302 <format>
303 <gsf:template match="documentNode">
304 <gsf:switch>
305 <gsf:metadata name="FileFormat"/>
306 <gsf:when test="equals" test-value="video"/>
307 <gsf:otherwise>
308 <td valign="top">
309 <gsf:link type="document">
310 <gsf:icon type="document"/>
311 </gsf:link>
312 </td>
313 </gsf:otherwise>
314 </gsf:switch>
315 <td valign="top">
316 <gsf:link type="source">
317 <gsf:choose-metadata>
318 <gsf:metadata name="thumbicon"/>
319 <gsf:metadata name="srcicon"/>
320 </gsf:choose-metadata>
321 </gsf:link>
322 </td>
323 <td>
324 <gsf:switch>
325 <gsf:metadata name="Title" select="parent"/>
326 <gsf:when test="exists"><gsf:link type="document"><xsl:call-template name="choose-title"/></gsf:link> of <gsf:link select="root" type="document"><gsf:metadata name="wmtb.Title" select="root"/></gsf:link></gsf:when>
327 <gsf:otherwise>
328 <gsf:link type="document">
329 <xsl:call-template name="choose-title"/>
330 </gsf:link>
331 </gsf:otherwise>
332 </gsf:switch>
333 <xsl:call-template name="display-metadata"/>
334 </td>
335 </gsf:template>
336 </format>
337 </search>
338 <infodb type="jdbm"/>
339 <import>
340 <pluginList>
341 <plugin name="ZIPPlugin"/>
342 <plugin name="GreenstoneXMLPlugin"/>
343 <plugin name="TextPlugin">
344 <option name="-associate_ext" value="mp3"/>
345 </plugin>
346 <plugin name="HTMLPlugin"/>
347 <plugin name="EmailPlugin"/>
348 <plugin name="PDFv2Plugin"/>
349 <plugin name="UnknownConverterPlugin">
350 <option name="-exec_cmd" value="java -jar $GSDLHOME/ext/tika/tika-app-*.jar --html --pretty-print --encoding=UTF-8 %%INPUT_FILE > %%OUTPUT"/>
351 <option name="-convert_to" value="html"/>
352 <option name="-mime_type" value="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
353 <option name="-srcicon" value="icondocx"/>
354 <option name="-process_extension" value="docx"/>
355 </plugin>
356 <plugin name="RTFPlugin"/>
357 <plugin name="WordPlugin"/>
358 <plugin name="PostScriptPlugin"/>
359 <plugin name="PowerPointPlugin"/>
360 <plugin name="MetadataCSVPlugin">
361 <option name="-metadata_value_separator" value="\|"/>
362 </plugin>
363 <plugin name="ExcelPlugin"/>
364 <plugin name="ImagePlugin"/>
365 <plugin name="ISISPlugin"/>
366 <plugin name="NulPlugin"/>
367 <plugin name="OAIPlugin"/>
368 <plugin name="MP3Plugin"/>
369 <plugin name="UnknownPlugin">
370 <option name="-file_format" value="video"/>
371 <option name="-mime_type" value="video/mp4"/>
372 <option name="-srcicon" value="iconmp4"/>
373 <option name="-process_extension" value="mp4"/>
374 </plugin>
375 <plugin name="MetadataXMLPlugin"/>
376 <plugin name="ArchivesInfPlugin"/>
377 <plugin name="DirectoryPlugin"/>
378 </pluginList>
379 </import>
380 <browse>
381 <classifier name="List">
382 <option name="-metadata" value="wmtb.HapuOrIwi"/>
383 <option name="-bookshelf_type" value="always"/>
384 <option name="-partition_type_within_level" value="none"/>
385 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
386 <option name="-buttonname" value="Hapū or Iwi"/>
387 </classifier>
388 <classifier name="List">
389 <option name="-metadata" value="wmtb.Title"/>
390 <option name="-metadata_sort_mode_within_level" value="alphanumeric"/>
391 <option name="-partition_type_within_level" value="per_letter"/>
392 <option name="-buttonname" value="Title"/>
393 </classifier>
394 <classifier name="List">
395 <option name="-metadata" value="wmtb.Singer"/>
396 <option name="-bookshelf_type" value="always"/>
397 <option name="-partition_type_within_level" value="per_letter"/>
398 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
399 <option name="-buttonname" value="Singer"/>
400 </classifier>
401 <classifier name="List">
402 <option name="-metadata" value="wmtb.Lyricist"/>
403 <option name="-bookshelf_type" value="always"/>
404 <option name="-partition_type_within_level" value="per_letter"/>
405 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
406 <option name="-buttonname" value="Lyricist"/>
407 </classifier>
408 <classifier name="List">
409 <option name="-metadata" value="wmtb.Composer"/>
410 <option name="-bookshelf_type" value="always"/>
411 <option name="-partition_type_within_level" value="per_letter"/>
412 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
413 <option name="-buttonname" value="Composer"/>
414 </classifier>
415 <classifier name="List">
416 <option name="-metadata" value="wmtb.Genre"/>
417 <option name="-bookshelf_type" value="always"/>
418 <option name="-partition_type_within_level" value="none"/>
419 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
420 <option name="-buttonname" value="Genre"/>
421 </classifier>
422 <classifier name="List">
423 <option name="-metadata" value="wmtb.MediaType"/>
424 <option name="-bookshelf_type" value="always"/>
425 <option name="-partition_type_within_level" value="none"/>
426 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
427 <option name="-buttonname" value="Media Type"/>
428 </classifier>
429 <classifier name="List">
430 <option name="-metadata" value="wmtb.Caption"/>
431 <option name="-bookshelf_type" value="never"/>
432 <option name="-partition_type_within_level" value="per_letter"/>
433 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
434 <option name="-buttonname" value="Caption"/>
435 </classifier>
436 <classifier name="List">
437 <option name="-metadata" value="wmtb.Photographer"/>
438 <option name="-bookshelf_type" value="always"/>
439 <option name="-partition_type_within_level" value="per_letter"/>
440 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
441 <option name="-buttonname" value="Photographer"/>
442 </classifier>
443 <classifier name="List">
444 <option name="-metadata" value="wmtb.Year"/>
445 <option name="-metadata_sort_mode_within_level" value="alphanumeric"/>
446 <option name="-numeric_partition_type_within_level" value="per_number"/>
447 <option name="-numeric_partition_name_length_within_level" value="4"/>
448 <option name="-numeric_partition_sort_mode_within_level" value="alphanumeric"/>
449 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
450 <option name="-buttonname" value="Year"/>
451 </classifier>
452 <classifier name="List">
453 <option name="-metadata" value="wmtb.Author"/>
454 <option name="-bookshelf_type" value="always"/>
455 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
456 <option name="-buttonname" value="Author"/>
457 </classifier>
458 <classifier name="List">
459 <option name="-metadata" value="wmtb.Location"/>
460 <option name="-bookshelf_type" value="always"/>
461 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
462 <option name="-buttonname" value="Location"/>
463 </classifier>
464 <classifier name="List">
465 <option name="-metadata" value="wmtb.Type"/>
466 <option name="-bookshelf_type" value="always"/>
467 <option name="-partition_type_within_level" value="none"/>
468 <option name="-sort_leaf_nodes_using" value="wmtb.Title"/>
469 <option name="-buttonname" value="Document Type"/>
470 </classifier>
471 <classifier name="List">
472 <option name="-metadata" value="Source"/>
473 <option name="-partition_type_within_level" value="approximate_size"/>
474 <option name="-numeric_partition_type_within_level" value="approximate_size"/>
475 <option name="-buttonname" value="Source"/>
476 </classifier>
477 <format>
478 <gsf:template match="documentNode">
479 <gsf:switch>
480 <gsf:metadata name="FileFormat"/>
481 <gsf:when test="equals" test-value="video"/>
482 <gsf:otherwise>
483 <td valign="top">
484 <gsf:link type="document">
485 <gsf:icon type="document"/>
486 </gsf:link>
487 </td>
488 </gsf:otherwise>
489 </gsf:switch>
490 <td valign="top">
491 <gsf:link type="source">
492 <gsf:choose-metadata>
493 <gsf:metadata name="thumbicon"/>
494 <gsf:metadata name="srcicon"/>
495 </gsf:choose-metadata>
496 </gsf:link>
497 </td>
498 <td valign="top">
499 <gsf:metadata name="equivDocLink"/>
500 <gsf:metadata name="equivDocIcon"/>
501 <gsf:metadata name="/equivDocLink"/>
502 </td>
503 <td valign="top">
504 <gsf:link type="document">
505<!--
506Defined in the global format statement
507-->
508 <xsl:call-template name="choose-title"/>
509 </gsf:link>
510 <xsl:call-template name="display-metadata"/>
511 </td>
512 </gsf:template>
513 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
514 <td valign="top">
515 <gsf:link style="static" type="classifier">
516 <gsf:icon type="classifier"/>
517 </gsf:link>
518 </td>
519 <td valign="top">
520 <gsf:link type="classifier">
521 <gsf:metadata name="Title"/>
522 </gsf:link>
523 </td>
524 </gsf:template>
525 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
526 <gsf:link style="static" type="classifier">
527 <gsf:metadata name="Title"/>
528 </gsf:link>
529 </gsf:template>
530 </format>
531 </browse>
532 <display>
533 <format>
534 <gsf:option name="TOC" value="true"/>
535 <gsf:option name="allowUserComments" value="false"/>
536 <gsf:option name="allowDocumentEditing" value="true"/>
537 <gsf:option name="allowMapGPSEditing" value="true"/>
538<!--
539Overwriting this template allows you to change the heading of the document.
540-->
541<!--
542<gsf:template name="documentHeading">
543<span style="font-weight:bold; font-size: 120%;">
544<xsl:call-template name="choose-title"/>
545</span>
546</gsf:template>
547-->
548<!--
549Overwriting 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.
550-->
551<!--
552<gsf:template name="documentContent">
553<div id="gs-document">
554<xsl:call-template name="documentPre"/>
555<xsl:call-template name="wrappedSectionImage"/>
556<div id="gs-document-text">
557<xsl:call-template name="documentNodeText"/>
558</div>
559</div>
560</gsf:template>
561-->
562<!--
563Overwriting this template can be used to change the content of section headings.
564-->
565<!--
566<gsf:template name="sectionHeading">
567<xsl:call-template name="choose-title"/>
568</gsf:template>
569-->
570<!--
571Overwriting this template can be used to change the content of the top-level section.
572-->
573<!--
574<gsf:template name="topLevelSectionContent">
575<xsl:call-template name="wrappedSectionImage"/>
576<xsl:call-template name="wrappedSectionText"/>
577</gsf:template>
578-->
579<!--
580Overwriting this template can be used to change the content of sections.
581-->
582<!--
583<gsf:template name="sectionContent">
584<xsl:call-template name="wrappedSectionImage"/>
585<xsl:call-template name="wrappedSectionText"/>
586</gsf:template>
587-->
588 </format>
589 </display>
590 <replaceListRef id="gs2-standard"/>
591 <replaceListRef id="gs2-image"/>
592 <serviceRackList><!--
593comment out the following serviceRack if you want to disable RSS for this collection
594-->
595 <serviceRack name="RSSRetrieve"/><!--
596comment out the following serviceRack if you want to disable OAI for this collection
597-->
598 <serviceRack name="OAIPMH">
599 <setName>kohingak</setName>
600 <setDescription/><!--
601uncomment the following and set the name attribute if
602 you want this collection to be part of a super set.
603--><!--
604<oaiSuperSet name="xxx"/>
605-->
606 <ListMetadataFormats><!--
607What 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:
608 <metadataFormat metadataPrefix="prefix"/>
609-->
610 <metadataFormat metadataPrefix="oai_dc"><!--
611you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format
612--></metadataFormat>
613 </ListMetadataFormats>
614 </serviceRack>
615 </serviceRackList>
616 <buildOption name="remove_empty_classifications"/>
617</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.