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

Last change on this file since 36264 was 36264, checked in by anupama, 22 months ago

Other language files for bibtex-e DEC collection for GS3, and some minor modifications to the configuration and translated strings used.

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