source: documented-examples/trunk/gsarch-e/etc/collectionConfig.xml@ 36453

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

Updates and corrections to GS3 DEC collection descriptions continued.

File size: 13.5 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">Greenstone Archives collection</displayItem>
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="description4" name="description4"/>
16 <displayItem assigned="true" dictionary="collectionConfig" key="description5" name="description5"/>
17 <displayItem assigned="true" dictionary="collectionConfig" key="description6" name="description6"/>
18 <displayItem assigned="true" dictionary="collectionConfig" key="description7" name="description7"/>
19 <displayItem assigned="true" dictionary="collectionConfig" key="SearchBySender" name="SearchBySender"/>
20 <displayItem assigned="true" dictionary="collectionConfig" key="Subject" name="Subject"/>
21 <displayItem assigned="true" dictionary="collectionConfig" key="Date" name="Date"/>
22 <displayItem assigned="true" dictionary="collectionConfig" key="From" name="From"/>
23 </displayItemList>
24 <format/>
25 <search type="mg">
26 <index name="document:From">
27 <displayItem assigned="true" dictionary="collectionConfig" key="index_from" name="name"/>
28 </index>
29 <index name="document:text">
30 <displayItem assigned="true" dictionary="collectionConfig" key="index_text" name="name"/>
31 </index>
32 <index name="document:Subject">
33 <displayItem assigned="true" dictionary="collectionConfig" key="index_subject" name="name"/>
34 </index>
35 <defaultIndex name="document:text"/>
36 <indexOption name="casefold"/>
37 <indexOption name="stem"/>
38 <searchType name="plain"/>
39 <searchType name="simpleform"/>
40 <searchType name="advancedform"/>
41 <format> <gsf:template match="documentNode">
42 <gsf:format-gs2><![CDATA[
43<td valign=top>[link][icon][/link]
44</td>
45<td>
46<b>[link][Subject][/link]
47</b>
48<br> _From_: [FromName] &nbsp;&nbsp;(
49<a href="_httpquery_&q=[cgisafe:FromName]&h=dfr">_SearchBySender_
50</a>)
51<br> _Date_: [DateText]
52</td> ]]></gsf:format-gs2>
53 <table>
54 <tr>
55 <td valign="top">
56 <gsf:link type="document">
57 <gsf:icon type="document"/>
58 </gsf:link>
59 </td>
60 <td><b><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link></b><br/><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value" />/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value" />/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><gsf:displayItem name="Date"/>:<gsf:metadata name="DateText"/></td>
61 </tr>
62 </table>
63 </gsf:template>
64
65</format>
66 </search>
67 <infodb type="gdbm"/>
68 <import>
69 <pluginList>
70 <plugin name="GreenstoneXMLPlugin"/>
71 <plugin name="EmailPlugin">
72 <option name="-process_exp" value="greenstone.*"/>
73 <option name="-OIDtype" value="message_id"/>
74 </plugin>
75 <plugin name="MetadataXMLPlugin"/>
76 <plugin name="ArchivesInfPlugin"/>
77 <plugin name="DirectoryPlugin"/>
78 </pluginList>
79 </import>
80 <browse>
81 <classifier name="AZCompactList">
82 <option name="-metadata" value="Subject"/>
83 <option name="-mingroup" value="2"/>
84 <option name="-removeprefix" value="(\\s*(?i:re:|fw(d)?:|\&amp;#91;greenstone-(users|devel)\&amp;#93;)\\s*)*"/>
85 <format> <gsf:template match="documentNode">
86 <gsf:format-gs2><![CDATA[
87<td valign=top>[link][icon][/link]
88</td>
89<td>{If}{[numleafdocs],
90<b>[Title]
91</b>,
92<b>[link][Subject][/link]
93</b>
94<br> _From_: [FromName] &nbsp;&nbsp;(
95<a href="_httpquery_&q=[cgisafe:FromName]&h=dfr">_SearchBySender_
96</a>)
97<br> _Date_: [DateText]}
98</td> ]]></gsf:format-gs2>
99 <table>
100 <tr>
101 <td valign="top">
102 <gsf:link type="document">
103 <gsf:icon type="document"/>
104 </gsf:link>
105 </td>
106 <td><b><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link></b><br/><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value"/>/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value"/>/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><gsf:displayItem name="Date"/>:<gsf:metadata name="DateText"/></td>
107 </tr>
108 </table>
109 </gsf:template>
110 <gsf:template match="classifierNode">
111 <gsf:format-gs2><![CDATA[
112<td valign=top>[link][icon][/link]
113</td>
114<td>{If}{[numleafdocs],
115<b>[Title]
116</b>,
117<b>[link][Subject][/link]
118</b>
119<br> _From_: [FromName] &nbsp;&nbsp;(
120<a href="_httpquery_&q=[cgisafe:FromName]&h=dfr">_SearchBySender_
121</a>)
122<br> _Date_: [DateText]}
123</td> ]]></gsf:format-gs2>
124 <table>
125 <tr>
126 <td valign="top">
127 <gsf:link type="classifier">
128 <gsf:icon type="classifier"/>
129 </gsf:link>
130 </td>
131 <td>
132 <b>
133 <gsf:metadata name="Title"/>
134 </b>
135 </td>
136 </tr>
137 </table>
138 </gsf:template>
139
140</format>
141 </classifier>
142 <classifier name="AZCompactList">
143 <option name="-metadata" value="FromName"/>
144 <option name="-mingroup" value="2"/>
145 <option name="-buttonname" value="From"/>
146 <format> <gsf:template match="documentNode">
147 <gsf:format-gs2><![CDATA[
148<td valign=top>[link][icon][/link]
149</td>
150<td>{If}{[numleafdocs],
151<strong>_From_:
152</strong> [Title] ([numleafdocs]),
153<strong>_From_: [FromName]
154</strong> &nbsp;&nbsp;(
155<a href="_httpquery_&q=[cgisafe:FromName]&h=dfr">_SearchBySender_
156</a>)
157<br>
158<strong>_Subject_:
159</strong> [link][Subject][/link]
160<br>
161<strong>_Date_:
162</strong> [DateText] }
163</td> ]]></gsf:format-gs2>
164 <table>
165 <tr>
166 <td valign="top">
167 <gsf:link type="document">
168 <gsf:icon type="document"/>
169 </gsf:link>
170 </td>
171 <td><strong><gsf:displayItem name="From"/>:<gsf:metadata name="FromName"/></strong> (<a><xsl:attribute name="href"><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/interfaceOptions/option[@name='library_name']/@value"/>/collection/<xsl:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='c']/@value"/>/search/TextQuery?qs=1&amp;rt=rd&amp;s1.level=&amp;startPage=1&amp;s1.index=dfr&amp;s1.query=&amp;quot;<gsf:metadata name="FromName"/>&amp;quot;</xsl:attribute><gsf:displayItem name="SearchBySender"/></a>)<br/><strong><gsf:displayItem name="Subject"/>:</strong><gsf:link type="document"><gsf:metadata name="Subject"/></gsf:link><br/><strong><gsf:displayItem name="Date"/>:</strong><gsf:metadata name="DateText"/></td>
172 </tr>
173 </table>
174 </gsf:template>
175 <gsf:template match="classifierNode">
176 <gsf:format-gs2><![CDATA[
177<td valign=top>[link][icon][/link]
178</td>
179<td>{If}{[numleafdocs],
180<strong>_From_:
181</strong> [Title] ([numleafdocs]),
182<strong>_From_: [FromName]
183</strong> &nbsp;&nbsp;(
184<a href="_httpquery_&q=[cgisafe:FromName]&h=dfr">_SearchBySender_
185</a>)
186<br>
187<strong>_Subject_:
188</strong> [link][Subject][/link]
189<br>
190<strong>_Date_:
191</strong> [DateText] }
192</td> ]]></gsf:format-gs2>
193 <table>
194 <tr>
195 <td valign="top">
196 <gsf:link type="classifier">
197 <gsf:icon type="classifier"/>
198 </gsf:link>
199 </td>
200 <td><strong><gsf:displayItem name="From"/>:</strong><gsf:metadata name="Title"/> (<gsf:metadata name="numleafdocs"/>)</td>
201 </tr>
202 </table>
203 </gsf:template>
204
205</format>
206 </classifier>
207 <classifier name="DateList">
208 <option name="-nogroup"/>
209 <format> <gsf:template match="documentNode">
210 <gsf:format-gs2><![CDATA[
211<td>[link][icon][/link]
212</td>
213<td>[highlight]{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}[/highlight]
214</td>
215<td>{Or}{[dc.Date],[exp.Date],[ex.Date]}
216</td>]]></gsf:format-gs2>
217 <td>
218 <gsf:link type="document">
219 <gsf:icon type="document"/>
220 </gsf:link>
221 </td>
222 <td>
223 <span class="highlight">
224 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
225 </span>
226 </td>
227 <td>
228 <gsf:choose-metadata>
229 <gsf:metadata name="dc.Date"/>
230 <gsf:metadata name="exp.Date"/>
231 <gsf:metadata name="Date"/>
232 </gsf:choose-metadata>
233 </td>
234 </gsf:template>
235
236</format>
237 </classifier>
238 <format> <gsf:template match="documentNode">
239 <gsf:format-gs2><![CDATA[
240<td valign="top">[link][icon][/link]
241</td>
242<td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]
243</td>
244<td valign="top">[highlight] {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} [/highlight]{If}{[ex.Source],
245<br>
246<i>([ex.Source])
247</i>}
248</td>]]></gsf:format-gs2>
249 <td valign="top">
250 <gsf:link type="document">
251 <gsf:icon type="document"/>
252 </gsf:link>
253 </td>
254 <td valign="top">
255 <gsf:link type="source">
256 <gsf:choose-metadata>
257 <gsf:metadata name="thumbicon"/>
258 <gsf:metadata name="srcicon"/>
259 </gsf:choose-metadata>
260 </gsf:link>
261 </td>
262 <td valign="top">
263 <span class="highlight">
264 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
265 </span>
266 <gsf:switch>
267 <gsf:metadata name="Source"/>
268 <gsf:when test="exists">
269 <br/>
270 <i>(<gsf:metadata name="Source"/>)</i>
271 </gsf:when>
272 </gsf:switch>
273 </td>
274 </gsf:template>
275 <gsf:template match="classifierNode">
276 <gsf:format-gs2><![CDATA[
277<td valign="top">[link][icon][/link]
278</td>
279<td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]
280</td>
281<td valign="top">[highlight] {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} [/highlight]{If}{[ex.Source],
282<br>
283<i>([ex.Source])
284</i>}
285</td>]]></gsf:format-gs2>
286 <td valign="top">
287 <gsf:link type="classifier">
288 <gsf:icon type="classifier"/>
289 </gsf:link>
290 </td>
291 <td valign="top">
292 <gsf:link type="source">
293 <gsf:choose-metadata>
294 <gsf:metadata name="thumbicon"/>
295 <gsf:metadata name="srcicon"/>
296 </gsf:choose-metadata>
297 </gsf:link>
298 </td>
299 <td valign="top">
300 <span class="highlight">
301 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
302 </span>
303 <gsf:switch>
304 <gsf:metadata name="Source"/>
305 <gsf:when test="exists">
306 <br/>
307 <i>(<gsf:metadata name="Source"/>)</i>
308 </gsf:when>
309 </gsf:switch>
310 </td>
311 </gsf:template>
312 <gsf:template match="classifierNode" mode="horizontal">
313 <gsf:format-gs2><![CDATA[[link][highlight][ex.Title][/highlight][/link]]]></gsf:format-gs2>
314 <gsf:link type="classifier">
315 <span class="highlight">
316 <gsf:metadata name="Title"/>
317 </span>
318 </gsf:link>
319 </gsf:template>
320
321</format>
322 </browse>
323 <display>
324 <format>
325 <gsf:option name="TOC" value="true"/>
326 <gsf:option name="AllowUserComments" value="false"/>
327<!--
328Overwriting this template allows you to change the heading of the document.
329-->
330<!--
331<gsf:template name="documentHeading">
332<span style="font-weight:bold; font-size: 120%;">
333<xsl:call-template name="choose-title"/>
334</span>
335</gsf:template>
336-->
337<!--
338Overwriting 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.
339-->
340<!--
341<gsf:template name="documentContent">
342<div id="gs-document">
343<xsl:call-template name="documentPre"/>
344<xsl:call-template name="wrappedSectionImage"/>
345<div id="gs-document-text">
346<xsl:call-template name="documentNodeText"/>
347</div>
348</gsf:template>
349-->
350<!--
351Overwriting this template can be used to change the content of section headings.
352-->
353<!--
354<gsf:template name="sectionHeading">
355<xsl:call-template name="choose-title"/>
356</gsf:template>
357-->
358<!--
359Overwriting this template can be used to change the content of the top-level section.
360-->
361<!--
362<gsf:template name="topLevelSectionContent">
363<xsl:call-template name="wrappedSectionImage"/>
364<xsl:call-template name="wrappedSectionText"/>
365</gsf:template>
366-->
367<!--
368Overwriting this template can be used to change the content of sections.
369-->
370<!--
371<gsf:template name="sectionContent">
372<xsl:call-template name="wrappedSectionImage"/>
373<xsl:call-template name="wrappedSectionText"/>
374</gsf:template>
375-->
376 </format>
377 </display>
378 <replaceListRef id="gs2-standard"/>
379</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.