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

Last change on this file since 36366 was 36366, checked in by anupama, 21 months ago

Repeating previous commit for some more collections. Previous commit message: Following Kathy's advice to use displayItem elements with keys when they belong not in the list of toplevel displayItems, but under elements like index, where the name attributes have to keep the constant value of name

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