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 | (<gsf:metaname name="numdocs"/> 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 | <h1>(Unofficial) Archaeological Reports Digital Library</h1>
|
---|
18 | <b>(Experimental demonstration using Greenstone3)</b>
|
---|
19 |
|
---|
20 | <p>
|
---|
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 | </p>
|
---|
28 |
|
---|
29 | <figure class="">
|
---|
30 | <img src="http://www.heritage.org.nz/-/media/heritage/images/protect/archaeology/digital-library-page.jpg?useCustomFunctions=1&mw=920" width="220" alt="Archaeological digital library" />
|
---|
31 | </figure>
|
---|
32 |
|
---|
33 | <p>Should you prefer, you may contact us as follows:</p>
|
---|
34 | <p>Archaeological Digital Library<br>
|
---|
35 | Heritage New Zealand<br>
|
---|
36 | National Office<br>
|
---|
37 | P O Box 2629<br>
|
---|
38 | Wellington 6140</p>
|
---|
39 | <p>tel: (04) 472 4341</p>
|
---|
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"> <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"> <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 | <!--
|
---|
236 | The following PDFs do not get processed by xpdftools.
|
---|
237 | 'Bacquie1.pdf' for example has no text in it
|
---|
238 | Presume the same is true for the other files
|
---|
239 |
|
---|
240 | Digital-Library-PDFs/Reports A - B/Bacquie1.pdf
|
---|
241 | Digital-Library-PDFs/Reports A - B/Bacquie2.pdf
|
---|
242 | Digital-Library-PDFs/Reports A - B/Bacquie3.pdf
|
---|
243 | Digital-Library-PDFs/Reports A - B/Bacquie4.pdf
|
---|
244 | Digital-Library-PDFs/Reports A - B/Bacquie5.pdf
|
---|
245 | Digital-Library-PDFs/Reports A - B/Best105.pdf
|
---|
246 | Digital-Library-PDFs/Reports A - B/Best50.pdf
|
---|
247 | Digital-Library-PDFs/Reports A - B/Bulmer6.pdf
|
---|
248 | Digital-Library-PDFs/Reports C - D/Challis4.pdf
|
---|
249 | Digital-Library-PDFs/Reports C - D/Cuniliffe36.pdf
|
---|
250 | Digital-Library-PDFs/Reports C - D/Daisley3.pdf
|
---|
251 | Digital-Library-PDFs/Reports E - F/Frank23.pdf
|
---|
252 | Digital-Library-PDFs/Reports E - F/Fredericksen11.pdf
|
---|
253 | Digital-Library-PDFs/Reports G - H/Geometria4.pdf
|
---|
254 | Digital-Library-PDFs/Reports G - H/Geometria5.pdf
|
---|
255 | Digital-Library-PDFs/Reports G - H/Geometria6.pdf
|
---|
256 | Digital-Library-PDFs/Reports G - H/Gillies2.pdf
|
---|
257 | Digital-Library-PDFs/Reports G - H/Gillies4.pdf
|
---|
258 | Digital-Library-PDFs/Reports G - H/Gillies6.pdf
|
---|
259 | Digital-Library-PDFs/Reports G - H/Grouden17.pdf
|
---|
260 | Digital-Library-PDFs/Reports G - H/Hennessey107.pdf
|
---|
261 | Digital-Library-PDFs/Reports G - H/Hennessey108.pdf
|
---|
262 | Digital-Library-PDFs/Reports G - H/Hennessey109.pdf
|
---|
263 | Digital-Library-PDFs/Reports G - H/Hughes243.pdf
|
---|
264 | Digital-Library-PDFs/Reports G - H/Hughes257.pdf
|
---|
265 | Digital-Library-PDFs/Reports G - H/Hughes258.pdf
|
---|
266 | Digital-Library-PDFs/Reports G - H/Hughes259.pdf
|
---|
267 | Digital-Library-PDFs/Reports I - J/Jeal9.pdf
|
---|
268 | Digital-Library-PDFs/Reports I - J/Johnson98.pdf
|
---|
269 | Digital-Library-PDFs/Reports K - L/Lawler40.pdf
|
---|
270 | Digital-Library-PDFs/Reports K - L/Lawlor18.pdf
|
---|
271 | Digital-Library-PDFs/Reports M - N/Moyle5.pdf
|
---|
272 | Digital-Library-PDFs/Reports M - N/Nichol59.pdf
|
---|
273 | Digital-Library-PDFs/Reports O - P/Phillips237.pdf
|
---|
274 | Digital-Library-PDFs/Reports S - T/Sims2.pdf
|
---|
275 | Digital-Library-PDFs/Reports S - T/Trendafilov13.pdf
|
---|
276 | Digital-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 | <classifier name="AZList">
|
---|
327 | <option name="-metadata" value="dc.Title,Title"/>
|
---|
328 | <option name="-buttonname" value="Title"/>
|
---|
329 |
|
---|
330 | <!--
|
---|
331 | <option name="-removeprefix" value="\"|\'|\(|(\d+\s*)"/>
|
---|
332 | -->
|
---|
333 | <!--
|
---|
334 | <option name="-removeprefix" value="\"|\'|\(|(\d+\s*)|(\d+\w*\s+and\s+\d+\w*)"/> -->
|
---|
335 | <option name="-removeprefix" value=".*?(?=[A-Z][a-z])"/>
|
---|
336 | <!--
|
---|
337 | <option name="-removesuffix" value="\):.*$"/>
|
---|
338 | -->
|
---|
339 | <!--
|
---|
340 | <option name="-removesuffix" value="(?<=^(?:Archaeological Assessment)|(?:Archaeological Authority)).*$"/>
|
---|
341 | -->
|
---|
342 |
|
---|
343 |
|
---|
344 | </classifier>
|
---|
345 | <!--
|
---|
346 | <classifier name="AZCompactList">
|
---|
347 | <option name="-metadata" value="dc.Title,Title"/>
|
---|
348 | <option name="-removeprefix" value="\"|\'|\(|(\d+\s*)|(\d+\s+and\d+)"/>
|
---|
349 | <option name="-removesuffix" value="\s*:.*$"/>
|
---|
350 | <option name="-mingroup" value="2"/>
|
---|
351 | <option name="-maxcompact" value="100"/>
|
---|
352 | </classifier>
|
---|
353 | -->
|
---|
354 |
|
---|
355 |
|
---|
356 | <classifier name="DateList">
|
---|
357 | <option name="-metadata" value="Date"/>
|
---|
358 | <option name="-buttonname" value="Year Published"/>
|
---|
359 | </classifier>
|
---|
360 |
|
---|
361 | <classifier name="AZCompactList">
|
---|
362 | <option name="-metadata" value="TLA"/>
|
---|
363 | <option name="-buttonname" value="Territorial Authorities"/>
|
---|
364 | <option name="-maxcompact" value="200"/>
|
---|
365 | </classifier>
|
---|
366 |
|
---|
367 | <!--
|
---|
368 | <classifier name="AZCompactList">
|
---|
369 | <option name="-metadata" value="AuthorityNo"/>
|
---|
370 | <option name="-buttonname" value="Authority Number"/>
|
---|
371 | </classifier>
|
---|
372 | -->
|
---|
373 |
|
---|
374 | <!--
|
---|
375 | <classifier name="DateList">
|
---|
376 | <option name="-metadata" value="AuthorityNo"/>
|
---|
377 | <option name="-buttonname" value="Authority Number"/>
|
---|
378 | <option name="-removesuffix" value="(-|/).*$"/>
|
---|
379 | -->
|
---|
380 |
|
---|
381 | <classifier name="AZCompactList">
|
---|
382 | <option name="-metadata" value="AuthorityNo"/>
|
---|
383 | <option name="-buttonname" value="Authority Number"/>
|
---|
384 | <option name="-removeprefix" value="^(various|no number|Appln ).*"/>
|
---|
385 | <option name="-removesuffix" value="((-|/).*)|( 84)|(685eq)$"/>
|
---|
386 |
|
---|
387 | <format>
|
---|
388 | <gsf:template match="documentNode">
|
---|
389 | <xsl:call-template name="document-node-display"/>
|
---|
390 | </gsf:template>
|
---|
391 | </format>
|
---|
392 | </classifier>
|
---|
393 |
|
---|
394 |
|
---|
395 | <classifier name="AZCompactList">
|
---|
396 | <!--
|
---|
397 | <option name="-metadata" value="SiteNo"/>
|
---|
398 | <option name="-sorttype" value="alphanumerical"/>
|
---|
399 | -->
|
---|
400 | <option name="-metadata" value="SiteNoOrdering"/>
|
---|
401 | <!--
|
---|
402 | <option name="-sort" value="SiteNoOrdering"/>
|
---|
403 | -->
|
---|
404 | <option name="-buttonname" value="NZAA Site Number"/>
|
---|
405 | <option name="-removesuffix" value="(-|/|,|\.| ).*$"/>
|
---|
406 |
|
---|
407 |
|
---|
408 | <format>
|
---|
409 | <gsf:template match="documentNode">
|
---|
410 | <xsl:call-template name="document-node-display"/>
|
---|
411 | </gsf:template>
|
---|
412 | </format>
|
---|
413 |
|
---|
414 | </classifier>
|
---|
415 |
|
---|
416 | <format>
|
---|
417 | <gsf:template match="documentNode">
|
---|
418 | <xsl:call-template name="document-node-display"/>
|
---|
419 | </gsf:template>
|
---|
420 |
|
---|
421 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
422 | <td valign="top">
|
---|
423 | <gsf:link type="classifier">
|
---|
424 | <gsf:icon type="classifier"/>
|
---|
425 | </gsf:link>
|
---|
426 | </td>
|
---|
427 | <td valign="top">
|
---|
428 | <gsf:metadata name="Title"/>
|
---|
429 | </td>
|
---|
430 | </gsf:template>
|
---|
431 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
432 | <gsf:link type="classifier">
|
---|
433 | <gsf:metadata name="Title"/>
|
---|
434 | </gsf:link>
|
---|
435 | </gsf:template>
|
---|
436 | </format>
|
---|
437 | </browse>
|
---|
438 |
|
---|
439 | <display>
|
---|
440 | <format>
|
---|
441 | <gsf:option name="TOC" value="true"/>
|
---|
442 |
|
---|
443 | <!--
|
---|
444 | Overwriting this template allows you to change the heading of the document.
|
---|
445 | -->
|
---|
446 | <gsf:template name="documentHeading">
|
---|
447 | <!--
|
---|
448 | <gsf:switch>
|
---|
449 | <gsf:metadata name="srcicon"/>
|
---|
450 | <gsf:when test="exists">
|
---|
451 | <gsf:link type="source">
|
---|
452 | <gsf:metadata name="srcicon"/>
|
---|
453 | </gsf:link>
|
---|
454 | </gsf:when>
|
---|
455 | </gsf:switch>
|
---|
456 | -->
|
---|
457 | <span style="font-weight:bold; font-size: 120%;">
|
---|
458 | <xsl:call-template name="choose-title"/>
|
---|
459 | </span>
|
---|
460 | </gsf:template>
|
---|
461 |
|
---|
462 |
|
---|
463 | <!--
|
---|
464 | Overwriting this template can be used to redefine the content of the whole document.
|
---|
465 | This is useful for simple documents, but not recommended for more complex documents
|
---|
466 | (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
|
---|
467 | -->
|
---|
468 |
|
---|
469 | <gsf:template name="documentContentMetadataTable">
|
---|
470 | <style>
|
---|
471 | tr:nth-child(odd) {background: #dddddd}
|
---|
472 | tr:nth-child(even) {background: #f5f3e5}
|
---|
473 | i { font-style: italic; }
|
---|
474 | td { padding: 2px; }
|
---|
475 | </style>
|
---|
476 | <table>
|
---|
477 | <tbody>
|
---|
478 | <tr>
|
---|
479 | <td>
|
---|
480 | Identifier:
|
---|
481 | </td>
|
---|
482 | <td>
|
---|
483 | <i><gsf:metadata name="hnz.Identifier"/></i>
|
---|
484 | </td>
|
---|
485 | </tr>
|
---|
486 |
|
---|
487 | <tr>
|
---|
488 | <td>
|
---|
489 | Title:
|
---|
490 | </td>
|
---|
491 | <td>
|
---|
492 | <i>
|
---|
493 | <!--
|
---|
494 | <gsf:link type="source">
|
---|
495 | <gsf:metadata name="srcicon"/>
|
---|
496 | </gsf:link>
|
---|
497 | -->
|
---|
498 | <gsf:metadata name="dc.Title" highlight="true"/>
|
---|
499 |
|
---|
500 | </i>
|
---|
501 | </td>
|
---|
502 | </tr>
|
---|
503 |
|
---|
504 | <tr>
|
---|
505 | <td>
|
---|
506 | Author(s):
|
---|
507 | </td>
|
---|
508 | <td>
|
---|
509 | <!-- <gsf:foreach-metadata name="Author" separator="; " highlight="true">
|
---|
510 | <i><gsf:meta-value/></i>
|
---|
511 | </gsf:foreach-metadata>
|
---|
512 | -->
|
---|
513 | <i><gsf:metadata name="Author" separator="; " highlight="true"/></i>
|
---|
514 | </td>
|
---|
515 | </tr>
|
---|
516 |
|
---|
517 | <tr>
|
---|
518 | <td>
|
---|
519 | Year Published:
|
---|
520 | </td>
|
---|
521 | <td>
|
---|
522 | <i><gsf:metadata name="Date" highlight="true"/></i>
|
---|
523 | </td>
|
---|
524 | </tr>
|
---|
525 |
|
---|
526 | <tr>
|
---|
527 | <td>
|
---|
528 | Territorial Authorities:
|
---|
529 | </td>
|
---|
530 | <td>
|
---|
531 | <i><gsf:metadata name="TLA" highlight="true"/></i>
|
---|
532 | </td>
|
---|
533 | </tr>
|
---|
534 |
|
---|
535 | <tr>
|
---|
536 | <td>
|
---|
537 | Authority No:
|
---|
538 | </td>
|
---|
539 | <td>
|
---|
540 | <i><gsf:metadata name="AuthorityNo" highlight="true"/></i>
|
---|
541 | </td>
|
---|
542 | </tr>
|
---|
543 |
|
---|
544 | <tr>
|
---|
545 | <td>
|
---|
546 | NZAA Site Number:
|
---|
547 | </td>
|
---|
548 | <td>
|
---|
549 | <i><gsf:metadata name="SiteNo" highlight="true"/></i>
|
---|
550 | </td>
|
---|
551 | </tr>
|
---|
552 |
|
---|
553 |
|
---|
554 | <gsf:switch>
|
---|
555 | <gsf:metadata name="srcicon"/>
|
---|
556 | <gsf:when test="exists">
|
---|
557 |
|
---|
558 | <tr>
|
---|
559 | <td>
|
---|
560 | Report:
|
---|
561 | </td>
|
---|
562 | <td>
|
---|
563 | <!--
|
---|
564 | <xsl:template call="downloadLink">
|
---|
565 | Download <span class="ui-icon ui-icon-circle-arrow-s"></span>
|
---|
566 | </xsl:template>
|
---|
567 | -->
|
---|
568 | <xsl:variable name="SourceFile"><xsl:value-of disable-output-escaping="yes"
|
---|
569 | select="/page/pageResponse/document/metadataList/metadata[@name='SourceFile']" /></xsl:variable>
|
---|
570 | <!--
|
---|
571 | <gsf:link type="source" downloadXXX="{$SourceFile}">
|
---|
572 | -->
|
---|
573 | <!--
|
---|
574 | <gsf:link type="source" target="_blank" onclick="_gaq.push(['_trackEvent','Download','PDF',this.href]);'">
|
---|
575 | -->
|
---|
576 | <gsf:link type="source" target="_blank" onclick="gtag_trigger_download_event(this,'{$SourceFile}');">
|
---|
577 |
|
---|
578 | <!--
|
---|
579 | <span class="ui-icon ui-icon-circle-arrow-s" style="display:inline;"></span>
|
---|
580 | -->
|
---|
581 | <gsf:metadata name="srcicon"/> Download
|
---|
582 | </gsf:link>
|
---|
583 |
|
---|
584 | </td>
|
---|
585 | </tr>
|
---|
586 |
|
---|
587 | </gsf:when>
|
---|
588 | <gsf:otherwise>
|
---|
589 | <tr>
|
---|
590 | <td>
|
---|
591 | <xsl:comment>filler</xsl:comment>
|
---|
592 | </td>
|
---|
593 | <td>
|
---|
594 | No electronic version of the report available
|
---|
595 | </td>
|
---|
596 | </tr>
|
---|
597 |
|
---|
598 | </gsf:otherwise>
|
---|
599 |
|
---|
600 | </gsf:switch>
|
---|
601 |
|
---|
602 |
|
---|
603 | </tbody>
|
---|
604 | </table>
|
---|
605 |
|
---|
606 | </gsf:template>
|
---|
607 |
|
---|
608 | <gsf:template name="documentContent">
|
---|
609 | <gsf:switch>
|
---|
610 | <gsf:metadata name="Plugin"/>
|
---|
611 | <gsf:when test="equals" test-value="CSVPlugin">
|
---|
612 | <xsl:call-template name="documentContentMetadataTable" />
|
---|
613 | </gsf:when>
|
---|
614 | <gsf:otherwise>
|
---|
615 |
|
---|
616 | <gsf:switch>
|
---|
617 | <gsf:metadata name="Plugin"/>
|
---|
618 | <gsf:when test="equals" test-value="PDFv2Plugin">
|
---|
619 | <xsl:call-template name="documentContentMetadataTable" />
|
---|
620 | </gsf:when>
|
---|
621 | <gsf:otherwise>
|
---|
622 |
|
---|
623 | <gsf:switch>
|
---|
624 | <gsf:metadata name="Plugin"/>
|
---|
625 | <gsf:when test="equals" test-value="UnknownPlugin">
|
---|
626 | <xsl:call-template name="documentContentMetadataTable" />
|
---|
627 | </gsf:when>
|
---|
628 | <gsf:otherwise>
|
---|
629 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
630 | <xsl:call-template name="wrappedSectionText"/>
|
---|
631 | </gsf:otherwise>
|
---|
632 | </gsf:switch>
|
---|
633 | </gsf:otherwise>
|
---|
634 | </gsf:switch>
|
---|
635 |
|
---|
636 | </gsf:otherwise>
|
---|
637 | </gsf:switch>
|
---|
638 | </gsf:template>
|
---|
639 | <!--
|
---|
640 | <gsf:template name="wrappedDocument">
|
---|
641 | <xsl:call-template name="documentHeading"/><br/>
|
---|
642 | <xsl:call-template name="documentContent"/>
|
---|
643 | </gsf:template>
|
---|
644 | -->
|
---|
645 | <!--
|
---|
646 | Overwriting this template can be used to change the content of section headings.
|
---|
647 | -->
|
---|
648 | <!--
|
---|
649 | <gsf:template name="sectionHeading">
|
---|
650 | <xsl:call-template name="choose-title"/>
|
---|
651 | </gsf:template>
|
---|
652 | -->
|
---|
653 |
|
---|
654 | <!--
|
---|
655 | Overwriting this template can be used to change the content of the top-level section.
|
---|
656 | -->
|
---|
657 | <!--
|
---|
658 | <gsf:template name="topLevelSectionContent">
|
---|
659 |
|
---|
660 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
661 | <xsl:call-template name="wrappedSectionText"/>
|
---|
662 | </gsf:template>
|
---|
663 | -->
|
---|
664 |
|
---|
665 | <!--
|
---|
666 | Overwriting this template can be used to change the content of sections.
|
---|
667 | -->
|
---|
668 | <!--
|
---|
669 | <gsf:template name="sectionContent">
|
---|
670 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
671 | <xsl:call-template name="wrappedSectionText"/>
|
---|
672 | </gsf:template>
|
---|
673 | -->
|
---|
674 | </format>
|
---|
675 | </display>
|
---|
676 | <replaceListRef id="gs2-standard"/>
|
---|
677 | <replaceListRef id="gs2-image" />
|
---|
678 | <security default_access="public" scope="document" humanVerify="true" useRecaptcha="true"/>
|
---|
679 |
|
---|
680 | <serviceRackList>
|
---|
681 | <!-- comment out the following serviceRack if you want to disable RSS for this collection -->
|
---|
682 | <serviceRack name="RSSRetrieve"/>
|
---|
683 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
684 | <serviceRack name="OAIPMH">
|
---|
685 | <setName>reports</setName>
|
---|
686 | <setDescription></setDescription>
|
---|
687 | <!-- uncomment the following and set the name attribute if
|
---|
688 | you want this collection to be part of a super set. -->
|
---|
689 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
690 | <ListMetadataFormats>
|
---|
691 | <!--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:
|
---|
692 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
693 |
|
---|
694 | <metadataFormat metadataPrefix="oai_dc">
|
---|
695 | <!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format-->
|
---|
696 | </metadataFormat>
|
---|
697 | </ListMetadataFormats>
|
---|
698 | </serviceRack>
|
---|
699 | </serviceRackList>
|
---|
700 | </CollectionConfig>
|
---|