source: documented-examples/trunk/dls-e/etc/collectionConfig.xml@ 36290

Last change on this file since 36290 was 36290, checked in by anupama, 3 months ago

DEC collection dls-e ported to GS3.

File size: 14.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">greenstone@cs.waikato.ac.nz</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">Development Library Subset collection</displayItem>
11 <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
12 <displayItem assigned="true" dictionary="collectionConfig" key="description0" name="description0"/>
13 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description1"/>
14 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description2"/>
15 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description3"/>
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="description14" name="description14"/>
27 <displayItem assigned="true" dictionary="collectionConfig" key="description15" name="description15"/>
28 <displayItem assigned="true" dictionary="collectionConfig" key="description16" name="description16"/>
29 <displayItem assigned="true" dictionary="collectionConfig" key="description17" name="description17"/>
30 <displayItem assigned="true" dictionary="collectionConfig" key="description18" name="description18"/>
31 <displayItem assigned="true" dictionary="collectionConfig" key="description19" name="description19"/>
32 <displayItem assigned="true" dictionary="collectionConfig" key="description20" name="description20"/>
33 <displayItem assigned="true" dictionary="collectionConfig" key="description21" name="description21"/>
34 <displayItem assigned="true" dictionary="collectionConfig" key=".section_Title" name=".section_Title"/>
35 <displayItem assigned="true" dictionary="collectionConfig" key=".section_text" name=".section_text"/>
36 <displayItem assigned="true" dictionary="collectionConfig" key=".document_text" name=".document_text"/>
37 <displayItem assigned="true" dictionary="collectionConfig" key=".document" name=".document"/>
38 </displayItemList>
39 <format/>
40 <search type="mg">
41 <index name="section:text">
42 <displayItem lang="es" name="name">section:text</displayItem>
43 <displayItem lang="fr" name="name">section:text</displayItem>
44 <displayItem lang="ru" name="name">section:text</displayItem>
45 <displayItem lang="en" name="name">section:text</displayItem>
46 <displayItem lang="zh" name="name">section:text</displayItem>
47 </index>
48 <index name="section:Title">
49 <displayItem lang="es" name="name">section:Title</displayItem>
50 <displayItem lang="fr" name="name">section:Title</displayItem>
51 <displayItem lang="ru" name="name">section:Title</displayItem>
52 <displayItem lang="en" name="name">section:Title</displayItem>
53 <displayItem lang="zh" name="name">section:Title</displayItem>
54 </index>
55 <index name="document:text">
56 <displayItem lang="es" name="name">document:text</displayItem>
57 <displayItem lang="fr" name="name">document:text</displayItem>
58 <displayItem lang="ru" name="name">document:text</displayItem>
59 <displayItem lang="en" name="name">document:text</displayItem>
60 <displayItem lang="zh" name="name">document:text</displayItem>
61 </index>
62 <defaultIndex name="section:text"/>
63 <indexOption name="casefold"/>
64 <indexOption name="stem"/>
65 <searchType name="plain"/>
66 <searchType name="simpleform"/>
67 <searchType name="advancedform"/>
68 <format>
69 <gsf:template match="documentNode">
70 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td> <td>{If}{[parent(All': '):Title], [parent(All': '):Title]:} [link][Title][/link]</td>]]></gsf:format-gs2>
71 <td valign="top">
72 <gsf:link type="document">
73 <gsf:icon type="document"/>
74 </gsf:link>
75 </td>
76 <td>
77 <gsf:switch>
78 <gsf:metadata name="Title"/>
79 <gsf:when test="exists"><gsf:metadata name="Title"/>:</gsf:when>
80 </gsf:switch>
81 <gsf:link type="document">
82 <gsf:metadata name="Title"/>
83 </gsf:link>
84 </td>
85 </gsf:template>
86 </format>
87 </search>
88 <infodb type="gdbm"/>
89 <import>
90 <pluginList>
91 <plugin name="HTMLPlugin">
92 <option name="-input_encoding" value="iso_8859_1"/>
93 <option name="-description_tags"/>
94 <option name="-OIDtype" value="dirname"/>
95 </plugin>
96 <plugin name="GreenstoneXMLPlugin"/>
97 <plugin name="MetadataXMLPlugin"/>
98 <plugin name="ArchivesInfPlugin"/>
99 <plugin name="DirectoryPlugin"/>
100 </pluginList>
101 </import>
102 <browse>
103 <classifier name="Hierarchy">
104 <option name="-metadata" value="dls.Subject"/>
105 <option name="-buttonname" value="Subject"/>
106 <option name="-hfile" value="dls.Subject.txt"/>
107 <option name="-sort" value="dls.Title"/>
108 </classifier>
109 <classifier name="Hierarchy">
110 <option name="-metadata" value="dls.AZList"/>
111 <option name="-buttonname" value="Title"/>
112 <option name="-hfile" value="dls.AZList.txt"/>
113 <option name="-hlist_at_top"/>
114 <option name="-sort" value="dls.Title"/>
115 </classifier>
116 <classifier name="List">
117 <option name="-metadata" value="dls.Organization"/>
118 <option name="-sort_leaf_nodes_using" value="dls.Title"/>
119 <option name="-buttonname" value="Organization"/>
120 <option name="-partition_type_within_level" value="constant_size"/>
121 <option name="-bookshelf_type" value="always"/>
122 </classifier>
123 <classifier name="List">
124 <option name="-metadata" value="dls.Keyword"/>
125 <option name="-buttonname" value="Howto"/>
126 <option name="-bookshelf_type" value="never"/>
127 <option name="-partition_type_within_level" value="constant_size"/>
128 <format>
129 <gsf:template match="documentNode">
130 <gsf:format-gs2><![CDATA[<td valign=top>[link][dls.Keyword][/link]</td>]]></gsf:format-gs2>
131 <td valign="top">
132 <gsf:link type="document">
133 <gsf:metadata name="dls.Keyword"/>
134 </gsf:link>
135 </td>
136 </gsf:template>
137 <gsf:template match="classifierNode">
138 <gsf:format-gs2><![CDATA[<td valign=top>[link][dls.Keyword][/link]</td>]]></gsf:format-gs2>
139 <td valign="top">
140 <gsf:link type="classifier">
141 <gsf:metadata name="dls.Keyword"/>
142 </gsf:link>
143 </td>
144 </gsf:template>
145 </format>
146 </classifier>
147 <format>
148 <gsf:template match="documentNode">
149 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td> <td valign=top>[highlight]{Or}{[dls.Title],[Title],Untitled}[/highlight] <i><small>{If}{[Date],<br>_textdate_[Date]}{If}{[NumPages], <br>_textnumpages_[NumPages]}{If}{[Source],<br>_textsource_[Source]}</small></i> </td>]]></gsf:format-gs2>
150 <td valign="top">
151 <gsf:link type="document">
152 <gsf:icon type="document"/>
153 </gsf:link>
154 </td>
155 <td valign="top">
156 <span class="highlight">
157 <gsf:choose-metadata><gsf:metadata name="dls.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
158 </span>
159 <i>
160 <small>
161 <gsf:switch>
162 <gsf:metadata name="Date"/>
163 <gsf:when test="exists"><br/>_textdate_<gsf:metadata name="Date"/></gsf:when>
164 </gsf:switch>
165 <gsf:switch>
166 <gsf:metadata name="NumPages"/>
167 <gsf:when test="exists"><br/>_textnumpages_<gsf:metadata name="NumPages"/></gsf:when>
168 </gsf:switch>
169 <gsf:switch>
170 <gsf:metadata name="Source"/>
171 <gsf:when test="exists"><br/>_textsource_<gsf:metadata name="Source"/></gsf:when>
172 </gsf:switch>
173 </small>
174 </i>
175 </td>
176 </gsf:template>
177 <gsf:template match="classifierNode">
178 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td> <td valign=top>[highlight]{Or}{[dls.Title],[Title],Untitled}[/highlight] <i><small>{If}{[Date],<br>_textdate_[Date]}{If}{[NumPages], <br>_textnumpages_[NumPages]}{If}{[Source],<br>_textsource_[Source]}</small></i> </td>]]></gsf:format-gs2>
179 <td valign="top">
180 <gsf:link type="classifier">
181 <gsf:icon type="classifier"/>
182 </gsf:link>
183 </td>
184 <td valign="top">
185 <span class="highlight">
186 <gsf:choose-metadata><gsf:metadata name="dls.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
187 </span>
188 <i>
189 <small>
190 <gsf:switch>
191 <gsf:metadata name="Date"/>
192 <gsf:when test="exists"><br/>_textdate_<gsf:metadata name="Date"/></gsf:when>
193 </gsf:switch>
194 <gsf:switch>
195 <gsf:metadata name="NumPages"/>
196 <gsf:when test="exists"><br/>_textnumpages_<gsf:metadata name="NumPages"/></gsf:when>
197 </gsf:switch>
198 <gsf:switch>
199 <gsf:metadata name="Source"/>
200 <gsf:when test="exists"><br/>_textsource_<gsf:metadata name="Source"/></gsf:when>
201 </gsf:switch>
202 </small>
203 </i>
204 </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<!--
221Overwriting this template allows you to change the heading of the document.
222-->
223<!--
224<gsf:template name="documentHeading"><span style="font-weight:bold; font-size: 120%;"><xsl:call-template name="choose-title"/></span></gsf:template>
225-->
226<!--
227Overwriting 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.
228-->
229<!--
230<gsf:template name="documentContent"><div id="gs-document"><xsl:call-template name="documentPre"/><xsl:call-template name="wrappedSectionImage"/><div id="gs-document-text"><xsl:call-template name="documentNodeText"/></div></gsf:template>
231-->
232<!--
233Overwriting this template can be used to change the content of section headings.
234-->
235<!--
236<gsf:template name="sectionHeading"><xsl:call-template name="choose-title"/></gsf:template>
237-->
238<!--
239Overwriting this template can be used to change the content of the top-level section.
240-->
241<!--
242<gsf:template name="topLevelSectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template>
243-->
244<!--
245Overwriting this template can be used to change the content of sections.
246-->
247<!--
248<gsf:template name="sectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template>
249-->
250 </format>
251 </display>
252 <replaceListRef id="gs2-standard"/>
253 <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/>
254 <displayItem assigned="true" lang="en" name="name">Development Library Subset collection</displayItem>
255 <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
256 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description1"/>
257 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description2"/>
258 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description3"/>
259 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description4"/>
260 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description5"/>
261 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description6"/>
262 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description7"/>
263 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description8"/>
264 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description9"/>
265 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description10"/>
266 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description11"/>
267 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description12"/>
268 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description13"/>
269 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description14"/>
270 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description15"/>
271 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description16"/>
272 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description17"/>
273 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description18"/>
274 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description19"/>
275 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description20"/>
276 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description21"/>
277 <displayItem assigned="true" dictionary="collectionConfig" key=".section:Title" name=".section:Title"/>
278 <displayItem assigned="true" dictionary="collectionConfig" key=".section:text" name=".section:text"/>
279 <displayItem assigned="true" dictionary="collectionConfig" key=".document:text" name=".document:text"/>
280 <displayItem assigned="true" dictionary="collectionConfig" key=".document" name=".document"/>
281</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.