source: main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/etc/collectionConfig.xml@ 36605

Last change on this file since 36605 was 36605, checked in by anupama, 20 months ago

more options for DateList

  • Property svn:mime-type set to text/plain
File size: 23.0 KB
Line 
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" xmlns:gslib="http://www.greenstone.org/skinning">
3 <metadataList>
4 <metadata name="creator"></metadata>
5 <metadata name="maintainer"></metadata>
6 <metadata name="public">true</metadata>
7 </metadataList>
8 <displayItemList>
9<!--
10 (&lt;gsf:metaname name="numdocs"/&gt; to be precise, and growing)
11-->
12
13 <displayItem assigned="true" lang="en" name="name">Digital Library Home</displayItem>
14 <displayItem assigned="true" lang="en" name="description">_about:aboutthiscollection_</displayItem>
15<!--
16 <displayItem assigned="true" lang="en" name="description">
17 &lt;h1&gt;(Unofficial) Archaeological Reports Digital Library&lt;/h1&gt;
18 &lt;b&gt;(Experimental demonstration using Greenstone3)&lt;/b&gt;
19
20 &lt;p&gt;
21 Heritage New Zealand holds an extensive collection
22 of unpublished archaeological reports resulting from
23 site surveys, excavations, research programmes and
24 archaeological authorities. There are over 7000
25 volumes dating from the early 1970s to the present
26 in the collection.
27 &lt;/p&gt;
28
29 &lt;figure class=""&gt;
30 &lt;img src="http://www.heritage.org.nz/-/media/heritage/images/protect/archaeology/digital-library-page.jpg?useCustomFunctions=1&amp;mw=920" width="220" alt="Archaeological digital library" /&gt;
31 &lt;/figure&gt;
32
33 &lt;p&gt;Should you prefer, you may contact us as follows:&lt;/p&gt;
34 &lt;p&gt;Archaeological Digital Library&lt;br&gt;
35 Heritage New Zealand&lt;br&gt;
36 National Office&lt;br&gt;
37 P O Box 2629&lt;br&gt;
38 Wellington 6140&lt;/p&gt;
39 &lt;p&gt;tel: (04) 472 4341&lt;/p&gt;
40
41
42 </displayItem>
43-->
44 <!-- shortDescription is used as a tooltip for collection icon on home page-->
45 <displayItem assigned="true" lang="en" name="shortDescription">Archaeological Reports Digital Library</displayItem>
46 </displayItemList>
47 <!-- Global format statement -->
48 <format>
49 <gsf:template name="choose-title">
50 <gsf:choose-metadata>
51 <gsf:metadata name="dc.Title"/>
52 <gsf:metadata name="exp.Title"/>
53 <gsf:metadata name="ex.dc.Title"/>
54 <gsf:metadata name="Title"/>
55 <gsf:default>Untitled</gsf:default>
56 </gsf:choose-metadata>
57 </gsf:template>
58
59 <gsf:template name="document-node-display">
60 <xsl:variable name="clNode"><xsl:value-of select="/page/pageRequest/paramList/param[@name = 'cl']/@value"/></xsl:variable>
61 <xsl:variable name="SourceFile"><xsl:value-of disable-output-escaping="yes"
62 select="metadataList/metadata[@name='SourceFile']" /></xsl:variable>
63
64 <gsf:switch>
65 <gsf:metadata name="Plugin"/>
66 <gsf:when test="equals" test-value="CSVPlugin">
67 <td valign="top">
68 <gsf:link type="document">
69 <gsf:icon type="document"/>
70 </gsf:link>
71 </td>
72 <td valign="top">
73 <gsf:link type="document">
74 <xsl:if test="starts-with($clNode,'CL5')">
75 <i><gsf:metadata name="AuthorityNo"/>:</i>
76 </xsl:if>
77 <xsl:if test="starts-with($clNode,'CL6')">
78 <i><gsf:metadata name="SiteNo"/>:</i>
79 </xsl:if>
80
81 <xsl:call-template name="choose-title"/>
82
83 <gsf:switch>
84 <gsf:metadata name="Date"/>
85 <gsf:when test="exists">&#160;<i>(<gsf:metadata name="Date"/>)</i></gsf:when>
86 </gsf:switch>
87
88 </gsf:link>
89 </td>
90
91 </gsf:when>
92 <gsf:otherwise>
93 <td valign="top">
94 <gsf:link type="source" target="_blank" onclick="gtag_trigger_download_event(this,'{$SourceFile}');">
95 <gsf:choose-metadata>
96 <gsf:metadata name="thumbicon"/>
97 <gsf:metadata name="srcicon"/>
98 </gsf:choose-metadata>
99 </gsf:link>
100 </td>
101 <td valign="top">
102 <gsf:link type="document">
103 <xsl:if test="starts-with($clNode,'CL5')">
104 <i><gsf:metadata name="AuthorityNo"/>:</i>
105 </xsl:if>
106 <xsl:if test="starts-with($clNode,'CL6')">
107 <i><gsf:metadata name="SiteNo"/>:</i>
108 </xsl:if>
109
110 <xsl:call-template name="choose-title"/>
111
112 <gsf:switch>
113 <gsf:metadata name="Date"/>
114 <gsf:when test="exists">&#160;<i>(<gsf:metadata name="Date"/>)</i></gsf:when>
115 </gsf:switch>
116
117 </gsf:link>
118 </td>
119
120 </gsf:otherwise>
121 </gsf:switch>
122
123 </gsf:template>
124
125 </format>
126 <search type="solr">
127 <level name="document">
128 <displayItem lang="en" name="name">document</displayItem>
129 </level>
130<!--
131 <level name="section">
132 <displayItem lang="en" name="name">section</displayItem>
133 </level>
134-->
135 <defaultLevel name="document"/>
136 <index name="text">
137 <displayItem lang="en" name="name">Text</displayItem>
138 </index>
139 <index name="dc.Title,ex.dc.Title,Title">
140 <displayItem lang="en" name="name">Titles</displayItem>
141 </index>
142 <index name="Author">
143 <displayItem lang="en" name="name">Authors</displayItem>
144 </index>
145 <index name="Date">
146 <displayItem lang="en" name="name">Year Published</displayItem>
147 </index>
148 <index name="TLA">
149 <displayItem lang="en" name="name">Territorial Authorities</displayItem>
150 </index>
151 <index name="AuthorityNo">
152 <displayItem lang="en" name="name">Authority Number</displayItem>
153 </index>
154 <index name="SiteNo">
155 <displayItem lang="en" name="name">NZAA Site Number</displayItem>
156 </index>
157 <index name="hnz.Identifier">
158 <displayItem lang="en" name="name">Identifier</displayItem>
159 </index>
160
161 <defaultIndex name="text"/>
162 <sort name="rank">
163 <displayItem lang="en" name="name">rank</displayItem>
164 </sort>
165 <sort name="Date">
166 <displayItem lang="en" name="name">year</displayItem>
167 </sort>
168<!-- <sort name="none">
169 <displayItem lang="en" name="name">natural (build) order</displayItem>
170 </sort>-->
171
172
173 <facet name="TLA">
174 <displayItem lang="en" name="name">Territorial Authorities</displayItem>
175 </facet>
176 <facet name="AuthorityNo">
177 <displayItem lang="en" name="name">Authority Number</displayItem>
178 </facet>
179 <facet name="SiteNo">
180 <displayItem lang="en" name="name">NZAA Site Number</displayItem>
181 </facet>
182
183 <searchType name="plain"/>
184 <!--
185 <searchType name="simpleform"/>
186 -->
187 <searchType name="advancedform"/>
188
189 <format>
190 <gsf:template match="documentNode">
191 <xsl:call-template name="document-node-display"/>
192 </gsf:template>
193 </format>
194 </search>
195
196 <infodb type="gdbm"/>
197
198 <import>
199 <pluginList>
200 <plugin name="ZIPPlugin"/>
201 <plugin name="GreenstoneXMLPlugin"/>
202 <plugin name="MetadataCSVPlugin">
203 <option name="-process_exp" value="\/?PDF-BOUND.*\.csv$"/>
204 <option name="-metadata_value_separator" value="\s*(?:\||\x{2502})\s*"/>
205 </plugin>
206 <plugin name="CSVPlugin">
207 <option name="-process_exp" value="\/?UNBOUND.*\.csv$"/>
208 <option name="-block_exp" value="\/?Archaeological.report.PDFs.*\.xlsx?$"/>
209 <option name="-metadata_value_separator" value="\s*\|\s*"/>
210 </plugin>
211 <plugin name="TextPlugin"/>
212 <plugin name="HTMLPlugin"/>
213 <plugin name="EmailPlugin"/>
214 <plugin name="PDFv2Plugin">
215 <option name="-keep_original_filename" />
216<!--
217 <option name="-convert_to" value="paged_pretty_html"/>
218-->
219<!--
220 <option name="-convert_to" value="pagedimg_png"/>
221-->
222<!--
223 <option name="-convert_to" value="paged_text"/>
224-->
225 <option name="-convert_to" value="text"/>
226 <option name="-enable_cache"/>
227 </plugin>
228 <plugin name="UnknownPlugin">
229 <option name="-process_extension" value="pdf"/>
230 <option name="-file_format" value="PDF"/>
231 <option name="-mime_type" value="application/pdf"/>
232 <option name="-srcicon" value="iconpdf"/>
233 </plugin>
234
235<!--
236The following PDFs do not get processed by xpdftools.
237'Bacquie1.pdf' for example has no text in it
238Presume the same is true for the other files
239
240Digital-Library-PDFs/Reports A - B/Bacquie1.pdf
241Digital-Library-PDFs/Reports A - B/Bacquie2.pdf
242Digital-Library-PDFs/Reports A - B/Bacquie3.pdf
243Digital-Library-PDFs/Reports A - B/Bacquie4.pdf
244Digital-Library-PDFs/Reports A - B/Bacquie5.pdf
245Digital-Library-PDFs/Reports A - B/Best105.pdf
246Digital-Library-PDFs/Reports A - B/Best50.pdf
247Digital-Library-PDFs/Reports A - B/Bulmer6.pdf
248Digital-Library-PDFs/Reports C - D/Challis4.pdf
249Digital-Library-PDFs/Reports C - D/Cuniliffe36.pdf
250Digital-Library-PDFs/Reports C - D/Daisley3.pdf
251Digital-Library-PDFs/Reports E - F/Frank23.pdf
252Digital-Library-PDFs/Reports E - F/Fredericksen11.pdf
253Digital-Library-PDFs/Reports G - H/Geometria4.pdf
254Digital-Library-PDFs/Reports G - H/Geometria5.pdf
255Digital-Library-PDFs/Reports G - H/Geometria6.pdf
256Digital-Library-PDFs/Reports G - H/Gillies2.pdf
257Digital-Library-PDFs/Reports G - H/Gillies4.pdf
258Digital-Library-PDFs/Reports G - H/Gillies6.pdf
259Digital-Library-PDFs/Reports G - H/Grouden17.pdf
260Digital-Library-PDFs/Reports G - H/Hennessey107.pdf
261Digital-Library-PDFs/Reports G - H/Hennessey108.pdf
262Digital-Library-PDFs/Reports G - H/Hennessey109.pdf
263Digital-Library-PDFs/Reports G - H/Hughes243.pdf
264Digital-Library-PDFs/Reports G - H/Hughes257.pdf
265Digital-Library-PDFs/Reports G - H/Hughes258.pdf
266Digital-Library-PDFs/Reports G - H/Hughes259.pdf
267Digital-Library-PDFs/Reports I - J/Jeal9.pdf
268Digital-Library-PDFs/Reports I - J/Johnson98.pdf
269Digital-Library-PDFs/Reports K - L/Lawler40.pdf
270Digital-Library-PDFs/Reports K - L/Lawlor18.pdf
271Digital-Library-PDFs/Reports M - N/Moyle5.pdf
272Digital-Library-PDFs/Reports M - N/Nichol59.pdf
273Digital-Library-PDFs/Reports O - P/Phillips237.pdf
274Digital-Library-PDFs/Reports S - T/Sims2.pdf
275Digital-Library-PDFs/Reports S - T/Trendafilov13.pdf
276Digital-Library-PDFs/Reports W - Z/Young38.pdf
277
278-->
279 <plugin name="RTFPlugin"/>
280 <plugin name="WordPlugin"/>
281 <plugin name="PostScriptPlugin"/>
282 <plugin name="PowerPointPlugin"/>
283 <plugin name="ExcelPlugin"/>
284 <plugin name="ImagePlugin"/>
285 <plugin name="ISISPlugin"/>
286 <plugin name="NulPlugin"/>
287 <plugin name="OAIPlugin"/>
288 <plugin name="MetadataXMLPlugin"/>
289 <plugin name="ArchivesInfPlugin"/>
290 <plugin name="DirectoryPlugin"/>
291 </pluginList>
292 <importOption name="OIDtype" value="assigned"/>
293 <importOption name="OIDmetadata" value="hnz.Identifier"/>
294 </import>
295 <browse>
296
297 <classifier name="AZCompactList">
298 <option name="-metadata" value="Author"/>
299 <option name="-buttonname" value="Authors"/>
300 <option name="-allvalues" />
301 </classifier>
302
303<!--
304 <classifier name="List">
305 <option name="-metadata" value="dc.Title;Title"/>
306 <option name="-partition_type_within_level" value="approximate_size"/>
307 </classifier>
308
309
310
311 -mingroup <int> The smallest value that will cause a group in the
312 hierarchy to form.
313 Default: 1
314
315 -minnesting <int> The smallest value that will cause a list to be
316 converted into a nested list.
317 Default: 20
318
319 -mincompact <int> Minimum number of documents to be displayed per page.
320 Default: 10
321
322 -maxcompact <int> Maximum number of documents to be displayed per page.
323 Default: 30
324
325-->
326
327
328 <classifier name="AZCompactList">
329 <option name="-metadata" value="dc.Title,Title"/>
330 <option name="-buttonname" value="Titles"/>
331 <option name="-removeprefix" value="(A )|(An )|(The )|.*?(?=[A-Z][a-z])"/>
332<!--
333 <option name="-removesuffix" value="((?&lt;=[Aa]rchaeological [Aa]ssessment)(.*)|(?&lt;=[Aa]rchaeological [Aa]uthority)(.*)|(?&lt;=[Aa]rchaeological [Ee]xcavation)(.*))|(?&lt;=[Aa]rchaeological [Ii]nspection)(.*)|(?&lt;=[Aa]rchaeological [Ii]nvestigation)(.*)|(?&lt;=[Aa]rchaeological [Mm]onitoring)(.*)|(?&lt;=[Aa]rchaeological [Rr]eport)(.*)|(?&lt;=[Aa]rchaeological [Ss]ite [Ss]urvey)(.*)|(?&lt;=[Aa]rchaeological [Ss]urvey)(.*)|(?&lt;=[Aa]rchaeological [Ss]ites)(.*)|(?&lt;=^[Aa]ssessment)(.*)"/>
334-->
335 <option name="-removesuffix" value="((?&lt;=[Aa]rchaeological [Aa]ssessment)(.*)|(?&lt;=[Aa]rchaeological [Aa]uthority)(.*)|(?&lt;=[Aa]rchaeological [Ee]xcavation)(.*))|(?&lt;=[Aa]rchaeological [Ii]nspection)(.*)|(?&lt;=[Aa]rchaeological [Ii]nvestigation)(.*)|(?&lt;=[Aa]rchaeological [Mm]onitoring)(.*)|(?&lt;=[Aa]rchaeological [Rr]eport)(.*)|(?&lt;=^[Aa]rchaeological [Ss]ite [Ss]urvey)(.*)|(?&lt;=^[Aa]rchaeological [Ss]urvey)(.*)|(?&lt;=^[Aa]rchaeological [Ss]ites)(.*)|(?&lt;=^[Aa]rchaeological [Ss]ite)(.*)"/>
336<!--
337 <option name="-removesuffix" value="((?&lt;=^([Aa]n\s+)[Aa]rchaeological [Aa]ssessment)(.*)|(?&lt;=^[Aa]rchaeological [Aa]uthority)(.*)|(?&lt;=^[Aa]rchaeological [Ee]xcavation)(.*))|(?&lt;=^[Aa]rchaeological [Ii]nspection)(.*)|(?&lt;=^[Aa]rchaeological [Ii]nvestigation)(.*)|(?&lt;=^[Aa]rchaeological [Mm]onitoring)(.*)|(?&lt;=^[Aa]rchaeological [Rr]eport)(.*)|(?&lt;=^[Aa]rchaeological [Ss]ite [Ss]urvey)(.*)|(?&lt;=^[Aa]rchaeological [Ss]urvey)(.*)|(?&lt;=^[Aa]rchaeological [Ss]ite(s)?)(.*)"/>
338-->
339
340 <option name="mingroup" value="2"/>
341 </classifier>
342
343<!--
344 <classifier name="AZList">
345 <option name="-metadata" value="dc.Title,Title"/>
346 <option name="-buttonname" value="Title"/>
347
348 <option name="-removeprefix" value=".*?(?=[A-Z][a-z])"/>
349 </classifier>
350-->
351
352<!--
353 <classifier name="AZCompactList">
354 <option name="-metadata" value="dc.Title,Title"/>
355 <option name="-removeprefix" value="\&quot;|\'|\(|(\d+\s*)|(\d+\s+and\d+)"/>
356 <option name="-removesuffix" value="\s*:.*$"/>
357 <option name="-mingroup" value="2"/>
358 <option name="-maxcompact" value="100"/>
359 </classifier>
360-->
361
362
363 <classifier name="DateList">
364 <option name="-metadata" value="Date"/>
365 <option name="-buttonname" value="Year Published"/>
366 <option name="-sort" value="dc.Title"/>
367 <option name="-no_special_formatting"/>
368 <option name="-allow_invalid_dates"/>
369 <option name="-invalid_date_partition_name" value="no date"/>
370 </classifier>
371
372 <classifier name="AZCompactList">
373 <option name="-metadata" value="TLA"/>
374 <option name="-buttonname" value="Territorial Authorities"/>
375 <option name="-maxcompact" value="200"/>
376 </classifier>
377
378<!--
379 <classifier name="AZCompactList">
380 <option name="-metadata" value="AuthorityNo"/>
381 <option name="-buttonname" value="Authority Number"/>
382 </classifier>
383-->
384
385<!--
386 <classifier name="DateList">
387 <option name="-metadata" value="AuthorityNo"/>
388 <option name="-buttonname" value="Authority Number"/>
389 <option name="-removesuffix" value="(-|/).*$"/>
390-->
391
392 <classifier name="AZCompactList">
393 <option name="-metadata" value="AuthorityNo"/>
394 <option name="-buttonname" value="Authority Number"/>
395 <option name="-removeprefix" value="^(various|no number|Appln ).*"/>
396 <option name="-removesuffix" value="((-|/).*)|( 84)|(685eq)$"/>
397
398 <format>
399 <gsf:template match="documentNode">
400 <xsl:call-template name="document-node-display"/>
401 </gsf:template>
402 </format>
403 </classifier>
404
405
406 <classifier name="AZCompactList">
407<!--
408 <option name="-metadata" value="SiteNo"/>
409 <option name="-sorttype" value="alphanumerical"/>
410-->
411 <option name="-metadata" value="SiteNoOrdering"/>
412<!--
413 <option name="-sort" value="SiteNoOrdering"/>
414-->
415 <option name="-buttonname" value="NZAA Site Number"/>
416 <option name="-removesuffix" value="(-|/|,|\.| ).*$"/>
417
418
419 <format>
420 <gsf:template match="documentNode">
421 <xsl:call-template name="document-node-display"/>
422 </gsf:template>
423 </format>
424
425 </classifier>
426
427 <format>
428 <gsf:template match="documentNode">
429 <xsl:call-template name="document-node-display"/>
430 </gsf:template>
431
432 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
433 <td valign="top">
434 <gsf:link type="classifier">
435 <gsf:icon type="classifier"/>
436 </gsf:link>
437 </td>
438 <td valign="top">
439 <gsf:metadata name="Title"/>
440 </td>
441 </gsf:template>
442 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
443 <gsf:link type="classifier">
444 <gsf:metadata name="Title"/>
445 </gsf:link>
446 </gsf:template>
447 </format>
448 </browse>
449
450 <display>
451 <format>
452 <gsf:option name="TOC" value="true"/>
453
454 <!--
455 Overwriting this template allows you to change the heading of the document.
456 -->
457 <gsf:template name="documentHeading">
458<!--
459 <gsf:switch>
460 <gsf:metadata name="srcicon"/>
461 <gsf:when test="exists">
462 <gsf:link type="source">
463 <gsf:metadata name="srcicon"/>
464 </gsf:link>
465 </gsf:when>
466 </gsf:switch>
467-->
468 <span style="font-weight:bold; font-size: 120%;">
469 <xsl:call-template name="choose-title"/>
470 </span>
471 </gsf:template>
472
473
474 <!--
475 Overwriting this template can be used to redefine the content of the whole document.
476 This is useful for simple documents, but not recommended for more complex documents
477 (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
478 -->
479
480 <gsf:template name="documentContentMetadataTable">
481 <style>
482 tr:nth-child(odd) {background: #dddddd}
483 tr:nth-child(even) {background: #f5f3e5}
484 i { font-style: italic; }
485 td { padding: 2px; }
486 </style>
487 <table>
488 <tbody>
489 <tr>
490 <td>
491 Identifier:
492 </td>
493 <td>
494 <i><gsf:metadata name="hnz.Identifier"/></i>
495 </td>
496 </tr>
497
498 <tr>
499 <td>
500 Title:
501 </td>
502 <td>
503 <i>
504 <!--
505 <gsf:link type="source">
506 <gsf:metadata name="srcicon"/>
507 </gsf:link>
508 -->
509 <gsf:metadata name="dc.Title" highlight="true"/>
510
511 </i>
512 </td>
513 </tr>
514
515 <tr>
516 <td>
517 Author(s):
518 </td>
519 <td>
520<!-- <gsf:foreach-metadata name="Author" separator="; " highlight="true">
521 <i><gsf:meta-value/></i>
522 </gsf:foreach-metadata>
523-->
524 <i><gsf:metadata name="Author" separator="; " highlight="true"/></i>
525 </td>
526 </tr>
527
528 <tr>
529 <td>
530 Year Published:
531 </td>
532 <td>
533 <i><gsf:metadata name="Date" highlight="true"/></i>
534 </td>
535 </tr>
536
537 <tr>
538 <td>
539 Territorial Authorities:
540 </td>
541 <td>
542 <i><gsf:metadata name="TLA" highlight="true"/></i>
543 </td>
544 </tr>
545
546 <tr>
547 <td>
548 Authority No:
549 </td>
550 <td>
551 <i><gsf:metadata name="AuthorityNo" highlight="true"/></i>
552 </td>
553 </tr>
554
555 <tr>
556 <td>
557 NZAA Site Number:
558 </td>
559 <td>
560 <i><gsf:metadata name="SiteNo" highlight="true"/></i>
561 </td>
562 </tr>
563
564
565 <gsf:switch>
566 <gsf:metadata name="srcicon"/>
567 <gsf:when test="exists">
568
569 <tr>
570 <td>
571 Report:
572 </td>
573 <td>
574 <!--
575 <xsl:template call="downloadLink">
576 Download <span class="ui-icon ui-icon-circle-arrow-s"></span>
577 </xsl:template>
578 -->
579 <xsl:variable name="SourceFile"><xsl:value-of disable-output-escaping="yes"
580 select="/page/pageResponse/document/metadataList/metadata[@name='SourceFile']" /></xsl:variable>
581<!--
582 <gsf:link type="source" downloadXXX="{$SourceFile}">
583-->
584<!--
585 <gsf:link type="source" target="_blank" onclick="_gaq.push(['_trackEvent','Download','PDF',this.href]);'">
586-->
587 <gsf:link type="source" target="_blank" onclick="gtag_trigger_download_event(this,'{$SourceFile}');">
588
589 <!--
590 <span class="ui-icon ui-icon-circle-arrow-s" style="display:inline;"></span>
591 -->
592 <gsf:metadata name="srcicon"/> Download
593 </gsf:link>
594
595 </td>
596 </tr>
597
598 </gsf:when>
599 <gsf:otherwise>
600 <tr>
601 <td>
602 <xsl:comment>filler</xsl:comment>
603 </td>
604 <td>
605 No electronic version of the report available
606 </td>
607 </tr>
608
609 </gsf:otherwise>
610
611 </gsf:switch>
612
613
614 </tbody>
615 </table>
616
617 </gsf:template>
618
619 <gsf:template name="documentContent">
620 <gsf:switch>
621 <gsf:metadata name="Plugin"/>
622 <gsf:when test="equals" test-value="CSVPlugin">
623 <xsl:call-template name="documentContentMetadataTable" />
624 </gsf:when>
625 <gsf:otherwise>
626
627 <gsf:switch>
628 <gsf:metadata name="Plugin"/>
629 <gsf:when test="equals" test-value="PDFv2Plugin">
630 <xsl:call-template name="documentContentMetadataTable" />
631 </gsf:when>
632 <gsf:otherwise>
633
634 <gsf:switch>
635 <gsf:metadata name="Plugin"/>
636 <gsf:when test="equals" test-value="UnknownPlugin">
637 <xsl:call-template name="documentContentMetadataTable" />
638 </gsf:when>
639 <gsf:otherwise>
640 <xsl:call-template name="wrappedSectionImage"/>
641 <xsl:call-template name="wrappedSectionText"/>
642 </gsf:otherwise>
643 </gsf:switch>
644 </gsf:otherwise>
645 </gsf:switch>
646
647 </gsf:otherwise>
648 </gsf:switch>
649 </gsf:template>
650<!--
651 <gsf:template name="wrappedDocument">
652 <xsl:call-template name="documentHeading"/><br/>
653 <xsl:call-template name="documentContent"/>
654 </gsf:template>
655-->
656 <!--
657 Overwriting this template can be used to change the content of section headings.
658 -->
659 <!--
660 <gsf:template name="sectionHeading">
661 <xsl:call-template name="choose-title"/>
662 </gsf:template>
663 -->
664
665 <!--
666 Overwriting this template can be used to change the content of the top-level section.
667 -->
668 <!--
669 <gsf:template name="topLevelSectionContent">
670
671 <xsl:call-template name="wrappedSectionImage"/>
672 <xsl:call-template name="wrappedSectionText"/>
673 </gsf:template>
674 -->
675
676 <!--
677 Overwriting this template can be used to change the content of sections.
678 -->
679 <!--
680 <gsf:template name="sectionContent">
681 <xsl:call-template name="wrappedSectionImage"/>
682 <xsl:call-template name="wrappedSectionText"/>
683 </gsf:template>
684 -->
685 </format>
686 </display>
687 <replaceListRef id="gs2-standard"/>
688 <replaceListRef id="gs2-image" />
689 <security default_access="public" scope="document" humanVerify="true" useRecaptcha="true"/>
690
691 <serviceRackList>
692 <!-- comment out the following serviceRack if you want to disable RSS for this collection -->
693 <serviceRack name="RSSRetrieve"/>
694 <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
695 <serviceRack name="OAIPMH">
696 <setName>reports</setName>
697 <setDescription></setDescription>
698 <!-- uncomment the following and set the name attribute if
699 you want this collection to be part of a super set. -->
700 <!--<oaiSuperSet name="xxx"/>-->
701 <ListMetadataFormats>
702 <!--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:
703 <metadataFormat metadataPrefix="prefix"/> -->
704
705 <metadataFormat metadataPrefix="oai_dc">
706 <!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format-->
707 </metadataFormat>
708 </ListMetadataFormats>
709 </serviceRack>
710 </serviceRackList>
711</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.