source: documented-examples/trunk/isis-e/etc/collectionConfig.xml@ 36472

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

Kathy explained what the groupsize importOption, that GS3 needs to mimic for 2 DEC collections which used this option in GS2. Also adjusted the documentHeading in gsarch-e collection, to better match the original collection description.

File size: 18.6 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">[email protected]</metadata>
5 <metadata lang="en" name="maintainer"/>
6 <metadata lang="en" name="public">true</metadata>
7 </metadataList>
8 <displayItemList>
9 <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/>
10 <displayItem assigned="true" lang="en" name="name">CDS/ISIS example</displayItem>
11 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description1"/>
12 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description2"/>
13 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description3"/>
14 <displayItem assigned="true" dictionary="collectionConfig" key="description4" name="description4"/>
15 <displayItem assigned="true" dictionary="collectionConfig" key="description5" name="description5"/>
16 <displayItem assigned="true" dictionary="collectionConfig" key="description6" name="description6"/>
17 <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
18 <displayItem assigned="true" dictionary="collectionConfig" key="Collation" name="Collation"/>
19 <displayItem assigned="true" dictionary="collectionConfig" key="HideCDSrecord" name="HideCDSrecord"/>
20 <displayItem assigned="true" dictionary="collectionConfig" key="CorporateAuthors" name="CorporateAuthors"/>
21 <displayItem assigned="true" dictionary="collectionConfig" key="ShowCDSrecord" name="ShowCDSrecord"/>
22 <displayItem assigned="true" dictionary="collectionConfig" key="Series" name="Series"/>
23 <displayItem assigned="true" dictionary="collectionConfig" key="Authors" name="Authors"/>
24 <displayItem assigned="true" dictionary="collectionConfig" key="OtherLanguageTitles" name="OtherLanguageTitles"/>
25 <displayItem assigned="true" dictionary="collectionConfig" key="Imprint" name="Imprint"/>
26 <displayItem assigned="true" dictionary="collectionConfig" key="Keywords" name="Keywords"/>
27 <displayItem assigned="true" dictionary="collectionConfig" key="Title" name="Title"/>
28 <displayItem assigned="true" dictionary="collectionConfig" key="Conference" name="Conference"/>
29 <displayItem assigned="true" dictionary="collectionConfig" key="Notes" name="Notes"/>
30 <displayItem assigned="true" dictionary="collectionConfig" key="CDSrecord" name="CDSrecord"/>
31 <displayItem assigned="true" dictionary="collectionConfig" key="AddedTitle" name="AddedTitle"/>
32 <displayItem assigned="true" dictionary="collectionConfig" key="Edition" name="Edition"/>
33 <displayItem assigned="true" dictionary="collectionConfig" key="Meetings" name="Meetings"/>
34 </displayItemList>
35 <format/>
36 <search type="mgpp">
37 <level name="document"/>
38 <defaultLevel name="document"/>
39 <index name="PersonalAuthors^all">
40 <displayItem assigned="true" dictionary="collectionConfig" key="PersonalAuthors^all" name="name"/>
41 </index>
42 <index name="ConferenceMainEntry^all">
43 <displayItem assigned="true" dictionary="collectionConfig" key="ConferenceMainEntry^all" name="name"/>
44 </index>
45 <index name="CorporateBodies^all">
46 <displayItem assigned="true" dictionary="collectionConfig" key="CorporateBodies^all" name="name"/>
47 </index>
48 <index name="text">
49 <displayItem assigned="true" dictionary="collectionConfig" key="text" name="name"/>
50 </index>
51 <index name="OtherLanguageTitles^all">
52 <displayItem assigned="true" dictionary="collectionConfig" key="OtherLanguageTitles^all" name="name"/>
53 </index>
54 <index name="Series^all">
55 <displayItem assigned="true" dictionary="collectionConfig" key="Series^all" name="name"/>
56 </index>
57 <index name="Keywords^all">
58 <displayItem assigned="true" dictionary="collectionConfig" key="Keywords^all" name="name"/>
59 </index>
60 <index name="Imprint^all">
61 <displayItem assigned="true" dictionary="collectionConfig" key="Imprint^all" name="name"/>
62 </index>
63 <index name="Collation^all">
64 <displayItem assigned="true" dictionary="collectionConfig" key="Collation^all" name="name"/>
65 </index>
66 <index name="Edition^all">
67 <displayItem assigned="true" dictionary="collectionConfig" key="Edition^all" name="name"/>
68 </index>
69 <index name="Notes^all">
70 <displayItem assigned="true" dictionary="collectionConfig" key="Notes^all" name="name"/>
71 </index>
72 <index name="Title^all">
73 <displayItem assigned="true" dictionary="collectionConfig" key="Title^all" name="name"/>
74 </index>
75 <index name="AddedTitle^all">
76 <displayItem assigned="true" dictionary="collectionConfig" key="AddedTitle^all" name="name"/>
77 </index>
78 <index name="Meetings^all">
79 <displayItem assigned="true" dictionary="collectionConfig" key="Meetings^all" name="name"/>
80 </index>
81 <defaultIndex name="ConferenceMainEntry^all"/>
82 <indexOption name="casefold"/>
83 <indexOption name="stem"/>
84 <searchType name="plain"/>
85 <searchType name="simpleform"/>
86 <searchType name="advancedform"/>
87 <format>
88 <gsf:template match="documentNode">
89 <gsf:format-gs2><![CDATA[
90<td valign=top>[link][icon][/link]
91</td>
92<td>[Title]
93<br>
94<i>{If}{[PersonalAuthors^all], {If}{[CorporateBodies^all], [sibling(All'; '):PersonalAuthors] - , [sibling(All'; '):PersonalAuthors]}}{If}{[CorporateBodies^all], [CorporateBodies^all]}
95</i>
96</td>]]></gsf:format-gs2>
97 <td valign="top">
98 <gsf:link type="document">
99 <gsf:icon type="document"/>
100 </gsf:link>
101 </td>
102 <td>
103 <gsf:metadata name="Title"/>
104 <br/>
105 <i>
106 <gsf:switch>
107 <gsf:metadata name="PersonalAuthors^all"/>
108 <gsf:when test="exists">
109 <gsf:switch>
110 <gsf:metadata name="CorporateBodies^all"/>
111 <gsf:when test="exists"><gsf:metadata name="PersonalAuthors"/> -</gsf:when>
112 <gsf:otherwise>
113 <gsf:metadata name="PersonalAuthors"/>
114 </gsf:otherwise>
115 </gsf:switch>
116 </gsf:when>
117 </gsf:switch>
118 <gsf:switch>
119 <gsf:metadata name="CorporateBodies^all"/>
120 <gsf:when test="exists">
121 <gsf:metadata name="CorporateBodies^all"/>
122 </gsf:when>
123 </gsf:switch>
124 </i>
125 </td>
126 </gsf:template>
127 </format>
128 </search>
129 <infodb type="gdbm"/>
130 <import>
131 <pluginList>
132 <plugin name="GreenstoneXMLPlugin"/>
133 <plugin name="ISISPlugin">
134 <option name="-input_encoding" value="dos_437"/>
135 <option name="-OIDtype" value="incremental"/>
136 <option name="-subfield_separator" value=", "/>
137 <option name="-entry_separator" value="&lt;br>"/>
138 </plugin>
139 <plugin name="MetadataXMLPlugin"/>
140 <plugin name="ArchivesInfPlugin"/>
141 <plugin name="DirectoryPlugin"/>
142 </pluginList>
143 </import>
144 <browse>
145 <classifier name="AZList">
146 <option name="-metadata" value="Title"/>
147 </classifier>
148 <classifier name="AZCompactList">
149 <option name="-mingroup" value="1"/>
150 <option name="-metadata" value="Keywords^sub"/>
151 <option name="-buttonname" value="Keyword"/>
152 <format>
153 <gsf:template match="documentNode">
154 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td><td>{If}{[numleafdocs], [Title] ([numleafdocs]), [Title]}</td>]]></gsf:format-gs2>
155 <td valign="top">
156 <gsf:link type="document">
157 <gsf:icon type="document"/>
158 </gsf:link>
159 </td>
160 <td>
161 <gsf:metadata name="Title"/>
162 </td>
163 </gsf:template>
164 <gsf:template match="classifierNode">
165 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td><td>{If}{[numleafdocs], [Title] ([numleafdocs]), [Title]}</td>]]></gsf:format-gs2>
166 <td valign="top">
167 <gsf:link type="classifier">
168 <gsf:icon type="classifier"/>
169 </gsf:link>
170 </td>
171 <td><gsf:metadata name="Title"/> (<gsf:metadata name="numleafdocs"/>)</td>
172 </gsf:template>
173 </format>
174 </classifier>
175 <format>
176 <gsf:template match="documentNode">
177 <gsf:format-gs2><![CDATA[
178<td valign=top>[link][icon][/link]
179</td>
180<td>[Title]
181<br>
182<i>{If}{[PersonalAuthors^all], {If}{[CorporateBodies^all], [sibling(All'; '):PersonalAuthors] - , [sibling(All'; '):PersonalAuthors]}}{If}{[CorporateBodies^all], [CorporateBodies^all]}
183</i>
184</td>]]></gsf:format-gs2>
185 <td valign="top">
186 <gsf:link type="document">
187 <gsf:icon type="document"/>
188 </gsf:link>
189 </td>
190 <td>
191 <gsf:metadata name="Title"/>
192 <br/>
193 <i>
194 <gsf:switch>
195 <gsf:metadata name="PersonalAuthors^all"/>
196 <gsf:when test="exists">
197 <gsf:switch>
198 <gsf:metadata name="CorporateBodies^all"/>
199 <gsf:when test="exists"><gsf:metadata name="PersonalAuthors"/> -</gsf:when>
200 <gsf:otherwise>
201 <gsf:metadata name="PersonalAuthors"/>
202 </gsf:otherwise>
203 </gsf:switch>
204 </gsf:when>
205 </gsf:switch>
206 <gsf:switch>
207 <gsf:metadata name="CorporateBodies^all"/>
208 <gsf:when test="exists">
209 <gsf:metadata name="CorporateBodies^all"/>
210 </gsf:when>
211 </gsf:switch>
212 </i>
213 </td>
214 </gsf:template>
215 <gsf:template match="classifierNode">
216 <gsf:format-gs2><![CDATA[
217<td valign=top>[link][icon][/link]
218</td>
219<td>[Title]
220<br>
221<i>{If}{[PersonalAuthors^all], {If}{[CorporateBodies^all], [sibling(All'; '):PersonalAuthors] - , [sibling(All'; '):PersonalAuthors]}}{If}{[CorporateBodies^all], [CorporateBodies^all]}
222</i>
223</td>]]></gsf:format-gs2>
224 <td valign="top">
225 <gsf:link type="classifier">
226 <gsf:icon type="classifier"/>
227 </gsf:link>
228 </td>
229 <td>
230 <gsf:metadata name="Title"/>
231 <br/>
232 <i>
233 <gsf:switch>
234 <gsf:metadata name="PersonalAuthors^all"/>
235 <gsf:when test="exists">
236 <gsf:switch>
237 <gsf:metadata name="CorporateBodies^all"/>
238 <gsf:when test="exists"><gsf:metadata name="PersonalAuthors"/> -</gsf:when>
239 <gsf:otherwise>
240 <gsf:metadata name="PersonalAuthors"/>
241 </gsf:otherwise>
242 </gsf:switch>
243 </gsf:when>
244 </gsf:switch>
245 <gsf:switch>
246 <gsf:metadata name="CorporateBodies^all"/>
247 <gsf:when test="exists">
248 <gsf:metadata name="CorporateBodies^all"/>
249 </gsf:when>
250 </gsf:switch>
251 </i>
252 </td>
253 </gsf:template>
254 <gsf:template match="classifierNode" mode="horizontal">
255 <gsf:format-gs2><![CDATA[[link][highlight]{Or}{[dls.Title],[dc.Title],[Title],Untitled}[/highlight][/link]]]></gsf:format-gs2>
256 <gsf:link type="classifier">
257 <span class="highlight">
258 <gsf:choose-metadata><gsf:metadata name="dls.Title"/><gsf:metadata name="dc.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
259 </span>
260 </gsf:link>
261 </gsf:template>
262 </format>
263 </browse>
264 <display>
265 <format> <gsf:option name="TOC" value="true"/>
266 <gsf:option name="AllowUserComments" value="false"/>
267 <gsf:template name="documentHeading">
268 <table cellpadding="4" cellspacing="0">
269 <gsf:switch>
270 <gsf:metadata name="Title^all"/>
271 <gsf:when test="exists">
272 <tr>
273 <td valign="top">
274 <nobr>
275 <b>
276 <gsf:displayItem name="Title"/>
277 </b>
278 </nobr>
279 </td>
280 <td>
281 <gsf:metadata name="Title^all"/>
282 </td>
283 </tr>
284 </gsf:when>
285 </gsf:switch>
286 <gsf:switch>
287 <gsf:metadata name="PersonalAuthors^all"/>
288 <gsf:when test="exists">
289 <tr>
290 <td valign="top">
291 <nobr>
292 <b>
293 <gsf:displayItem name="Authors"/>
294 </b>
295 </nobr>
296 </td>
297 <td>
298 <gsf:metadata name="PersonalAuthors^all"/>
299 </td>
300 </tr>
301 </gsf:when>
302 </gsf:switch>
303 <gsf:switch>
304 <gsf:metadata name="CorporateBodies^all"/>
305 <gsf:when test="exists">
306 <tr>
307 <td valign="top">
308 <nobr>
309 <b>
310 <gsf:displayItem name="CorporateAuthors"/>
311 </b>
312 </nobr>
313 </td>
314 <td>
315 <gsf:metadata name="CorporateBodies^all"/>
316 </td>
317 </tr>
318 </gsf:when>
319 </gsf:switch>
320 <gsf:switch>
321 <gsf:metadata name="ConferenceMainEntry^all"/>
322 <gsf:when test="exists">
323 <tr>
324 <td valign="top">
325 <nobr>
326 <b>
327 <gsf:displayItem name="Conference"/>
328 </b>
329 </nobr>
330 </td>
331 <td>
332 <gsf:metadata name="ConferenceMainEntry^all"/>
333 </td>
334 </tr>
335 </gsf:when>
336 </gsf:switch>
337 <gsf:switch>
338 <gsf:metadata name="Edition^all"/>
339 <gsf:when test="exists">
340 <tr>
341 <td valign="top">
342 <nobr>
343 <b>
344 <gsf:displayItem name="Edition"/>
345 </b>
346 </nobr>
347 </td>
348 <td>
349 <gsf:metadata name="Edition^all"/>
350 </td>
351 </tr>
352 </gsf:when>
353 </gsf:switch>
354 <gsf:switch>
355 <gsf:metadata name="Imprint^all"/>
356 <gsf:when test="exists">
357 <tr>
358 <td valign="top">
359 <nobr>
360 <b>
361 <gsf:displayItem name="Imprint"/>
362 </b>
363 </nobr>
364 </td>
365 <td>
366 <gsf:metadata name="Imprint^all"/>
367 </td>
368 </tr>
369 </gsf:when>
370 </gsf:switch>
371 <gsf:switch>
372 <gsf:metadata name="Collation^all"/>
373 <gsf:when test="exists">
374 <tr>
375 <td valign="top">
376 <nobr>
377 <b>
378 <gsf:displayItem name="Collation"/>
379 </b>
380 </nobr>
381 </td>
382 <td>
383 <gsf:metadata name="Collation^all"/>
384 </td>
385 </tr>
386 </gsf:when>
387 </gsf:switch>
388 <gsf:switch>
389 <gsf:metadata name="Series^all"/>
390 <gsf:when test="exists">
391 <tr>
392 <td valign="top">
393 <nobr>
394 <b>
395 <gsf:displayItem name="Series"/>
396 </b>
397 </nobr>
398 </td>
399 <td>
400 <gsf:metadata name="Series^all"/>
401 </td>
402 </tr>
403 </gsf:when>
404 </gsf:switch>
405 <gsf:switch>
406 <gsf:metadata name="Notes^all"/>
407 <gsf:when test="exists">
408 <tr>
409 <td valign="top">
410 <nobr>
411 <b>
412 <gsf:displayItem name="Notes"/>
413 </b>
414 </nobr>
415 </td>
416 <td>
417 <gsf:metadata name="Notes^all"/>
418 </td>
419 </tr>
420 </gsf:when>
421 </gsf:switch>
422 <gsf:switch>
423 <gsf:metadata name="Keywords^all"/>
424 <gsf:when test="exists">
425 <tr>
426 <td valign="top">
427 <nobr>
428 <b>
429 <gsf:displayItem name="Keywords"/>
430 </b>
431 </nobr>
432 </td>
433 <td>
434 <gsf:metadata name="Keywords^all"/>
435 </td>
436 </tr>
437 </gsf:when>
438 </gsf:switch>
439 <gsf:switch>
440 <gsf:metadata name="Meetings^all"/>
441 <gsf:when test="exists">
442 <tr>
443 <td valign="top">
444 <nobr>
445 <b>
446 <gsf:displayItem name="Meetings"/>
447 </b>
448 </nobr>
449 </td>
450 <td>
451 <gsf:metadata name="Meetings^all"/>
452 </td>
453 </tr>
454 </gsf:when>
455 </gsf:switch>
456 <gsf:switch>
457 <gsf:metadata name="AddedTitle^all"/>
458 <gsf:when test="exists">
459 <tr>
460 <td valign="top">
461 <nobr>
462 <b>
463 <gsf:displayItem name="AddedTitle"/>
464 </b>
465 </nobr>
466 </td>
467 <td>
468 <gsf:metadata name="AddedTitle^all"/>
469 </td>
470 </tr>
471 </gsf:when>
472 </gsf:switch>
473 <gsf:switch>
474 <gsf:metadata name="OtherLanguageTitles^all"/>
475 <gsf:when test="exists">
476 <tr>
477 <td valign="top">
478 <nobr>
479 <b>
480 <gsf:displayItem name="OtherLanguageTitles"/>
481 </b>
482 </nobr>
483 </td>
484 <td>
485 <gsf:metadata name="OtherLanguageTitles^all"/>
486 </td>
487 </tr>
488 </gsf:when>
489 </gsf:switch>
490 </table>
491 </gsf:template>
492
493<!--
494Overwriting this template allows you to change the heading of the document.
495-->
496<!--
497<gsf:template name="documentHeading">
498<span style="font-weight:bold; font-size: 120%;">
499<xsl:call-template name="choose-title"/>
500</span>
501</gsf:template>
502-->
503<gsf:template name="documentContent">
504 <div id="gs-document">
505 <center>
506 <a href="javascript:;" id="cdsreclink">Show/Hide CDS Record</a>
507 </center>
508 <div id="cdsrecord" style="display:none">
509 <b>CDS Record:</b>
510 <br/>
511 <tt>
512 <gsf:metadata name="ISISRawRecord"/>
513 </tt>
514 <p>
515 <xsl:call-template name="wrappedSectionText"/>
516 </p>
517 </div>
518 <script type="text/javascript">
519 <xsl:text disable-output-escaping="yes">var link=document.getElementById("cdsreclink");var div=document.getElementById("cdsrecord");gs.functions.makeToggle(link, div);</xsl:text>
520 </script>
521 </div>
522 </gsf:template>
523<!--
524Overwriting 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.
525-->
526<!--
527<gsf:template name="documentContent">
528<div id="gs-document">
529<xsl:call-template name="documentPre"/>
530<xsl:call-template name="wrappedSectionImage"/>
531<div id="gs-document-text">
532<xsl:call-template name="documentNodeText"/>
533</div>
534</div>
535</gsf:template>
536-->
537<!--
538Overwriting this template can be used to change the content of section headings.
539-->
540<!--
541<gsf:template name="sectionHeading">
542<xsl:call-template name="choose-title"/>
543</gsf:template>
544-->
545<!--
546Overwriting this template can be used to change the content of the top-level section.
547-->
548<!--
549<gsf:template name="topLevelSectionContent">
550<xsl:call-template name="wrappedSectionImage"/>
551<xsl:call-template name="wrappedSectionText"/>
552</gsf:template>
553-->
554<!--
555Overwriting this template can be used to change the content of sections.
556-->
557<!--
558<gsf:template name="sectionContent">
559<xsl:call-template name="wrappedSectionImage"/>
560<xsl:call-template name="wrappedSectionText"/>
561</gsf:template>
562-->
563
564</format>
565 </display>
566 <replaceListRef id="gs2-standard"/>
567 <importOption name="groupsize" value="100"/>
568</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.