source: documented-examples/trunk/bibtex-e/etc/collectionConfig.xml

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

Reinstating as many internal links as I can in the DEC collection descriptions for dls-e and bibtex-e, and correcting display of _textperiodicals_ text classifier 2/7 of dls-e (I sadly had to hardcode this in English in dsl-e\etc\dls.AZList.txt, but putting it in siteConfig.xml is also not for translation). Also fixed up some other macros used in dls-e, which I'd overlooked earlier.

File size: 17.1 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" lang="en" name="name">Bibliography collection</displayItem>
10 <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/>
11 <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
12 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description1"/>
13 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description2"/>
14 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description3"/>
15 <displayItem assigned="true" dictionary="collectionConfig" key="description4a" name="description4a"/>
16 <displayItem assigned="true" dictionary="collectionConfig" key="description4" name="description4"/>
17 <displayItem assigned="true" dictionary="collectionConfig" key="description5" name="description5"/>
18 <displayItem assigned="true" dictionary="collectionConfig" key="description6" name="description6"/>
19 <displayItem assigned="true" dictionary="collectionConfig" key="description7" name="description7"/>
20 <displayItem assigned="true" dictionary="collectionConfig" key="description8" name="description8"/>
21 <displayItem assigned="true" dictionary="collectionConfig" key="description9" name="description9"/>
22 <displayItem assigned="true" dictionary="collectionConfig" key="description10" name="description10"/>
23 <displayItem assigned="true" dictionary="collectionConfig" key="description11" name="description11"/>
24 <displayItem assigned="true" dictionary="collectionConfig" key="ShowBibTeXrecord" name="ShowBibTeXrecord"/>
25 <displayItem assigned="true" dictionary="collectionConfig" key="HideBibTeXrecord" name="HideBibTeXrecord"/>
26 <displayItem assigned="true" dictionary="collectionConfig" key="Number" name="Number"/>
27 <displayItem assigned="true" dictionary="collectionConfig" key="AuthoredBy" name="AuthoredBy"/>
28 <displayItem assigned="true" dictionary="collectionConfig" key="PaperTitle" name="PaperTitle"/>
29 <displayItem assigned="true" dictionary="collectionConfig" key="DocType" name="DocType"/>
30 <displayItem assigned="true" dictionary="collectionConfig" key="BookJournalTitle" name="BookJournalTitle"/>
31 <displayItem assigned="true" dictionary="collectionConfig" key="BibTeXrecord" name="BibTeXrecord"/>
32 <displayItem assigned="true" dictionary="collectionConfig" key="PublicationDate" name="PublicationDate"/>
33 <displayItem assigned="true" dictionary="collectionConfig" key="Editors" name="Editors"/>
34 <displayItem assigned="true" dictionary="collectionConfig" key="PublicationPlace" name="PublicationPlace"/>
35 <displayItem assigned="true" dictionary="collectionConfig" key="Annotations" name="Annotations"/>
36 <displayItem assigned="true" dictionary="collectionConfig" key="Abstract" name="Abstract"/>
37 <displayItem assigned="true" dictionary="collectionConfig" key="Pages" name="Pages"/>
38 <displayItem assigned="true" dictionary="collectionConfig" key="Keywords" name="Keywords"/>
39 <displayItem assigned="true" dictionary="collectionConfig" key="In" name="In"/>
40 <displayItem assigned="true" dictionary="collectionConfig" key="EditorRole" name="EditorRole"/>
41 <displayItem assigned="true" dictionary="collectionConfig" key="Vol" name="Vol"/>
42 <displayItem assigned="true" dictionary="collectionConfig" key="MeetingPlace" name="MeetingPlace"/>
43 <displayItem assigned="true" dictionary="collectionConfig" key="Publisher" name="Publisher"/>
44 <displayItem assigned="true" dictionary="collectionConfig" key="LocationURL" name="LocationURL"/>
45 <displayItem assigned="true" dictionary="collectionConfig" key="MeetingDate" name="MeetingDate"/>
46 </displayItemList>
47 <format/>
48 <search type="mgpp">
49 <level name="document"/>
50 <defaultLevel name="document"/>
51 <index name="Number"/>
52 <index name="Date"/>
53 <index name="lastmodified"/>
54 <index name="FileFormat"/>
55 <index name="Creator"/>
56 <index name="oailastmodifieddate"/>
57 <index name="SourceFile"/>
58 <index name="Language"/>
59 <index name="EntryType"/>
60 <index name="URL"/>
61 <index name="Title">
62 <displayItem assigned="true" dictionary="collectionConfig" key="Title_text" name="name"/>
63 </index>
64 <index name="lastmodifieddate"/>
65 <index name="Abstract"/>
66 <index name="SourceSegment"/>
67 <index name="Pages"/>
68 <index name="Keywords"/>
69 <index name="Author"/>
70 <index name="Year"/>
71 <index name="Source">
72 <displayItem assigned="true" dictionary="collectionConfig" key="source_text" name="name"/>
73 </index>
74 <index name="text">
75 <displayItem assigned="true" dictionary="collectionConfig" key="text_text" name="name"/>
76 </index>
77 <index name="oailastmodified"/>
78 <index name="Encoding"/>
79 <index name="Plugin"/>
80 <index name="Publisher"/>
81 <index name="Month"/>
82 <index name="Keyword"/>
83 <defaultIndex name="text"/>
84 <indexOption name="casefold"/>
85 <indexOption name="stem"/>
86 <searchType name="plain"/>
87 <searchType name="simpleform"/>
88 <format>
89 <gsf:template match="documentNode">
90 <gsf:format-gs2><![CDATA[
91<td valign=top>[link][icon][/link]
92</td>
93<td valign=top>
94<b>[Title]
95</b> -
96<i>{Or}{[Creator],[Editor]}
97</i> {If}{[Year], - [Month] [Year]}
98</td>]]></gsf:format-gs2>
99 <td valign="top">
100 <gsf:link type="document">
101 <gsf:icon type="document"/>
102 </gsf:link>
103 </td>
104 <td valign="top"><b><gsf:metadata name="Title"/></b> -<i><gsf:choose-metadata><gsf:metadata name="Creator"/><gsf:metadata name="Editor"/></gsf:choose-metadata></i><gsf:switch><gsf:metadata name="Year"/><gsf:when test="exists">-<gsf:metadata name="Month"/><gsf:metadata name="Year"/></gsf:when></gsf:switch></td>
105 </gsf:template>
106 </format>
107 </search>
108 <infodb type="gdbm"/>
109 <import>
110 <pluginList>
111 <plugin name="BibTexPlugin">
112 <option name="-OIDtype" value="assigned"/>
113 <option name="-OIDmetadata" value="Number"/>
114 </plugin>
115 <plugin name="GreenstoneXMLPlugin"/>
116 <plugin name="MetadataXMLPlugin"/>
117 <plugin name="ArchivesInfPlugin"/>
118 <plugin name="DirectoryPlugin"/>
119 </pluginList>
120 </import>
121 <browse>
122 <classifier name="AZList">
123 <option name="-metadata" value="Title"/>
124 </classifier>
125 <classifier name="AZCompactList">
126 <option name="-metadata" value="Author"/>
127 <option name="-buttonname" value="Creator"/>
128 <format>
129 <gsf:template match="documentNode">
130 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td> <td valign=top>{If}{[numleafdocs],<b>[Title]</b>, <b>[Author]</b> ([Creator]) -- <i>[Title]</i>} {If}{[Year], - [Month] [Year]}</td>]]></gsf:format-gs2>
131 <td valign="top">
132 <gsf:link type="document">
133 <gsf:icon type="document"/>
134 </gsf:link>
135 </td>
136 <td valign="top"><b><gsf:metadata name="Author"/></b> (<gsf:metadata name="Creator"/>) --<i><gsf:metadata name="Title"/></i><gsf:switch><gsf:metadata name="Year"/><gsf:when test="exists">-<gsf:metadata name="Month"/><gsf:metadata name="Year"/></gsf:when></gsf:switch></td>
137 </gsf:template>
138 <gsf:template match="classifierNode">
139 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td> <td valign=top>{If}{[numleafdocs],<b>[Title]</b>, <b>[Author]</b> ([Creator]) -- <i>[Title]</i>} {If}{[Year], - [Month] [Year]}</td>]]></gsf:format-gs2>
140 <td valign="top">
141 <gsf:link type="classifier">
142 <gsf:icon type="classifier"/>
143 </gsf:link>
144 </td>
145 <td valign="top">
146 <b>
147 <gsf:metadata name="Title"/>
148 </b>
149 <gsf:switch>
150 <gsf:metadata name="Year"/>
151 <gsf:when test="exists">-<gsf:metadata name="Month"/><gsf:metadata name="Year"/></gsf:when>
152 </gsf:switch>
153 </td>
154 </gsf:template>
155 </format>
156 </classifier>
157 <classifier name="DateList">
158 <option name="-metadata" value="Date"/>
159 <format>
160 <gsf:template match="documentNode">
161 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td> <td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i></td>]]></gsf:format-gs2>
162 <td valign="top">
163 <gsf:link type="document">
164 <gsf:icon type="document"/>
165 </gsf:link>
166 </td>
167 <td valign="top"><b><gsf:metadata name="Title"/></b> -<i><gsf:choose-metadata><gsf:metadata name="Creator"/><gsf:metadata name="Editor"/></gsf:choose-metadata></i></td>
168 </gsf:template>
169 </format>
170 </classifier>
171 <format>
172 <gsf:template match="documentNode">
173 <gsf:format-gs2><![CDATA[
174<td valign=top>[link][icon][/link]
175</td>
176<td valign=top>
177<b>[Title]
178</b> -
179<i>{Or}{[Creator],[Editor]}
180</i> {If}{[Year], - [Month] [Year]}
181</td>]]></gsf:format-gs2>
182 <td valign="top">
183 <gsf:link type="document">
184 <gsf:icon type="document"/>
185 </gsf:link>
186 </td>
187 <td valign="top"><b><gsf:metadata name="Title"/></b> -<i><gsf:choose-metadata><gsf:metadata name="Creator"/><gsf:metadata name="Editor"/></gsf:choose-metadata></i><gsf:switch><gsf:metadata name="Year"/><gsf:when test="exists">-<gsf:metadata name="Month"/><gsf:metadata name="Year"/></gsf:when></gsf:switch></td>
188 </gsf:template>
189 <gsf:template match="classifierNode">
190 <gsf:format-gs2><![CDATA[
191<td valign=top>[link][icon][/link]
192</td>
193<td valign=top>
194<b>[Title]
195</b> -
196<i>{Or}{[Creator],[Editor]}
197</i> {If}{[Year], - [Month] [Year]}
198</td>]]></gsf:format-gs2>
199 <td valign="top">
200 <gsf:link type="classifier">
201 <gsf:icon type="classifier"/>
202 </gsf:link>
203 </td>
204 <td valign="top"><b><gsf:metadata name="Title"/></b> -<i><gsf:choose-metadata><gsf:metadata name="Creator"/><gsf:metadata name="Editor"/></gsf:choose-metadata></i><gsf:switch><gsf:metadata name="Year"/><gsf:when test="exists">-<gsf:metadata name="Month"/><gsf:metadata name="Year"/></gsf:when></gsf:switch></td>
205 </gsf:template>
206 <gsf:template match="classifierNode" mode="horizontal">
207 <gsf:format-gs2><![CDATA[[link][highlight][ex.Title][/highlight][/link]]]></gsf:format-gs2>
208 <gsf:link type="classifier">
209 <span class="highlight">
210 <gsf:metadata name="Title"/>
211 </span>
212 </gsf:link>
213 </gsf:template>
214 </format>
215 </browse>
216 <display>
217 <format>
218 <gsf:option name="TOC" value="true"/>
219 <gsf:option name="AllowUserComments" value="false"/>
220 <gsf:template name="documentHeading">
221 <gsf:switch>
222 <gsf:metadata name="Title"/>
223 <gsf:when test="exists">
224 <h3>
225 <gsf:metadata name="Title"/>
226 </h3>
227 </gsf:when>
228 </gsf:switch>
229 <br/>
230 <hr/>
231 <gsf:switch>
232 <gsf:metadata name="Title"/>
233 <gsf:when test="exists">
234 <b><gsf:displayItem name="PaperTitle"/>:</b>
235 <gsf:metadata name="Title"/>
236 <br/>
237 </gsf:when>
238 </gsf:switch>
239 <gsf:switch>
240 <gsf:metadata name="Creator"/>
241 <gsf:when test="exists">
242 <b><gsf:displayItem name="AuthoredBy"/>:</b>
243 <gsf:metadata name="Creator"/>
244 <br/>
245 </gsf:when>
246 </gsf:switch>
247 <gsf:switch>
248 <gsf:metadata name="Editor"/>
249 <gsf:when test="exists">
250 <b><gsf:displayItem name="Editors"/>:</b>
251 <gsf:metadata name="Editor"/>
252 <br/>
253 </gsf:when>
254 </gsf:switch>
255 <gsf:switch>
256 <gsf:metadata name="EditorRole"/>
257 <gsf:when test="exists">
258 <b><gsf:displayItem name="EditorRole"/>:</b>
259 <gsf:metadata name="EditorRole"/>
260 <br/>
261 </gsf:when>
262 </gsf:switch>
263 <gsf:switch>
264 <gsf:metadata name="Booktitle"/>
265 <gsf:when test="exists">
266 <b><gsf:displayItem name="BookJournalTitle"/>:</b>
267 <gsf:metadata name="Booktitle"/>
268 <br/>
269 </gsf:when>
270 </gsf:switch>
271 <gsf:switch>
272 <gsf:metadata name="Journal"/>
273 <gsf:when test="exists">
274 <b><gsf:displayItem name="In"/>:</b>
275 <gsf:metadata name="Journal"/>
276 <br/>
277 </gsf:when>
278 </gsf:switch>
279 <gsf:switch>
280 <gsf:metadata name="Volume"/>
281 <gsf:when test="exists">
282 <gsf:switch>
283 <gsf:metadata name="Number"/>
284 <gsf:when test="exists">
285 <b><gsf:displayItem name="Vol"/>:</b>
286 <gsf:metadata name="Volume"/>
287 <br/>
288 <b><gsf:displayItem name="Number"/>:</b>
289 <gsf:metadata name="Number"/>
290 <br/>
291 </gsf:when>
292 </gsf:switch>
293 </gsf:when>
294 <gsf:otherwise>
295 <gsf:switch>
296 <gsf:metadata name="Number"/>
297 <gsf:when test="exists">
298 <b><gsf:displayItem name="Number"/>:</b>
299 <gsf:metadata name="Number"/>
300 <br/>
301 </gsf:when>
302 </gsf:switch>
303 </gsf:otherwise>
304 </gsf:switch>
305 <gsf:switch>
306 <gsf:metadata name="MeetingDate"/>
307 <gsf:when test="exists">
308 <b><gsf:displayItem name="MeetingDate"/>:</b>
309 <gsf:metadata name="MeetingDate"/>
310 <br/>
311 </gsf:when>
312 </gsf:switch>
313 <gsf:switch>
314 <gsf:metadata name="MeetingPlace"/>
315 <gsf:when test="exists">
316 <b><gsf:displayItem name="MeetingPlace"/>:</b>
317 <gsf:metadata name="MeetingPlace"/>
318 <br/>
319 </gsf:when>
320 </gsf:switch>
321 <gsf:switch>
322 <gsf:metadata name="PublicationPlace"/>
323 <gsf:when test="exists">
324 <b><gsf:displayItem name="PublicationPlace"/>:</b>
325 <gsf:metadata name="PublicationPlace"/>
326 <br/>
327 </gsf:when>
328 </gsf:switch>
329 <gsf:switch>
330 <gsf:metadata name="Publisher"/>
331 <gsf:when test="exists">
332 <b><gsf:displayItem name="Publisher"/>:</b>
333 <gsf:metadata name="Publisher"/>
334 <br/>
335 </gsf:when>
336 </gsf:switch>
337 <gsf:switch>
338 <gsf:metadata name="Year"/>
339 <gsf:when test="exists">
340 <b><gsf:displayItem name="PublicationDate"/>:</b>
341 <gsf:metadata name="Year"/>
342 <br/>
343 </gsf:when>
344 </gsf:switch>
345 <gsf:switch>
346 <gsf:metadata name="Pages"/>
347 <gsf:when test="exists">
348 <b><gsf:displayItem name="Pages"/>:</b>
349 <gsf:metadata name="Pages"/>
350 <br/>
351 </gsf:when>
352 </gsf:switch>
353 <gsf:switch>
354 <gsf:metadata name="DocType"/>
355 <gsf:when test="exists">
356 <b><gsf:displayItem name="DocType"/>:</b>
357 <gsf:metadata name="DocType"/>
358 <br/>
359 </gsf:when>
360 </gsf:switch>
361 <gsf:switch>
362 <gsf:metadata name="Location"/>
363 <gsf:when test="exists">
364 <b><gsf:displayItem name="LocationURL"/>:</b>
365 <gsf:metadata name="Location"/>
366 <br/>
367 </gsf:when>
368 </gsf:switch>
369 <gsf:switch>
370 <gsf:metadata name="Notes"/>
371 <gsf:when test="exists">
372 <b><gsf:displayItem name="Annotations"/>:</b>
373 <gsf:metadata name="Notes"/>
374 <br/>
375 </gsf:when>
376 </gsf:switch>
377 <gsf:switch>
378 <gsf:metadata name="Abstract"/>
379 <gsf:when test="exists">
380 <b><gsf:displayItem name="Abstract"/>:</b>
381 <gsf:metadata name="Abstract"/>
382 <br/>
383 </gsf:when>
384 </gsf:switch>
385 <gsf:switch>
386 <gsf:metadata name="Keywords"/>
387 <gsf:when test="exists">
388 <b><gsf:displayItem name="Keywords"/>:</b>
389 <gsf:metadata name="Keywords"/>
390 <br/>
391 </gsf:when>
392 </gsf:switch>
393 <hr/>
394 </gsf:template>
395 <gsf:template name="documentContent">
396 <div id="gs-document">
397 <xsl:call-template name="documentPre"/>
398 <xsl:call-template name="wrappedSectionImage"/>
399 <div id="gs-document-text">
400 <div id="bibrecord" style="display:none">
401 <b>Bibtex Record:</b>
402 <br/>
403 <xsl:call-template name="documentNodeText"/>
404 </div>
405 <center>
406 <a href="javascript:;" id="bibreclink">Show/Hide Record</a>
407 </center>
408 </div>
409 <script type="text/javascript">
410 <xsl:text disable-output-escaping="yes">var link=document.getElementById("bibreclink");
411 var div=document.getElementById("bibrecord");
412 gs.functions.makeToggle(link, div);</xsl:text>
413 </script>
414 </div>
415 </gsf:template>
416<!--
417Overwriting this template allows you to change the heading of the document.
418-->
419<!--
420<gsf:template name="documentHeading">
421<span style="font-weight:bold; font-size: 120%;">
422<xsl:call-template name="choose-title"/>
423</span>
424</gsf:template>
425-->
426<!--
427Overwriting 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.
428-->
429<!--
430<gsf:template name="documentContent">
431<div id="gs-document">
432<xsl:call-template name="documentPre"/>
433<xsl:call-template name="wrappedSectionImage"/>
434<div id="gs-document-text">
435<xsl:call-template name="documentNodeText"/>
436</div>
437</div>
438</gsf:template>
439-->
440<!--
441Overwriting this template can be used to change the content of section headings.
442-->
443<!--
444<gsf:template name="sectionHeading">
445<xsl:call-template name="choose-title"/>
446</gsf:template>
447-->
448<!--
449Overwriting this template can be used to change the content of the top-level section.
450-->
451<!--
452<gsf:template name="topLevelSectionContent">
453<xsl:call-template name="wrappedSectionImage"/>
454<xsl:call-template name="wrappedSectionText"/>
455</gsf:template>
456-->
457<!--
458Overwriting this template can be used to change the content of sections.
459-->
460<!--
461<gsf:template name="sectionContent">
462<xsl:call-template name="wrappedSectionImage"/>
463<xsl:call-template name="wrappedSectionText"/>
464</gsf:template>
465-->
466 </format>
467 </display>
468 <replaceListRef id="gs2-standard"/>
469</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.