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"/>
|
---|
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">manifest-demo-e</displayItem>
|
---|
11 | <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
|
---|
12 | <displayItem assigned="true" dictionary="collectionConfig" key="description" name="description"/>
|
---|
13 | <displayItem assigned="true" dictionary="collectionConfig" key="description0" name="description0"/>
|
---|
14 | <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description1"/>
|
---|
15 | <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description2"/>
|
---|
16 | <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description3"/>
|
---|
17 | <displayItem assigned="true" dictionary="collectionConfig" key="description4" name="description4"/>
|
---|
18 | <displayItem assigned="true" dictionary="collectionConfig" key="dls.Organization" name="dls.Organization"/>
|
---|
19 | <displayItem assigned="true" dictionary="collectionConfig" key="dls.Titles" name="dls.Titles"/>
|
---|
20 | <displayItem assigned="true" dictionary="collectionConfig" key="dls.Keyword" name="dls.Keyword"/>
|
---|
21 | <displayItem assigned="true" dictionary="collectionConfig" key="dls.Subject" name="dls.Subject"/>
|
---|
22 | <displayItem assigned="true" dictionary="collectionConfig" key="text" name="text"/>
|
---|
23 | <displayItem assigned="true" dictionary="collectionConfig" key="section" name="section"/>
|
---|
24 | <displayItem assigned="true" dictionary="collectionConfig" key="document" name="document"/>
|
---|
25 | <displayItem assigned="true" dictionary="collectionConfig" key="textsource" name="textsource"/>
|
---|
26 | <displayItem assigned="true" dictionary="collectionConfig" key="textnumpages" name="textnumpages"/>
|
---|
27 | <displayItem assigned="true" dictionary="collectionConfig" key="textdate" name="textdate"/>
|
---|
28 | </displayItemList>
|
---|
29 | <format/>
|
---|
30 | <search type="lucene">
|
---|
31 | <index name="text">
|
---|
32 | <displayItem dictionary="collectionConfig" key="text" name="name"/>
|
---|
33 | </index>
|
---|
34 | <index name="dls.Keyword">
|
---|
35 | <displayItem dictionary="collectionConfig" key="dls.Keyword" name="name"/>
|
---|
36 | </index>
|
---|
37 | <index name="dls.Subject">
|
---|
38 | <displayItem dictionary="collectionConfig" key="dls.Subject" name="name"/>
|
---|
39 | </index>
|
---|
40 | <index name="dls.Title,Title">
|
---|
41 | <displayItem dictionary="collectionConfig" key="dls.Titles" name="name"/>
|
---|
42 | </index>
|
---|
43 | <index name="dls.Organization">
|
---|
44 | <displayItem dictionary="collectionConfig" key="dls.Organization" name="name"/>
|
---|
45 | </index>
|
---|
46 | <defaultIndex name="text"/>
|
---|
47 | <level name="document">
|
---|
48 | <displayItem assigned="true" dictionary="collectionConfig" key="document" name="name"/>
|
---|
49 | </level>
|
---|
50 | <level name="section">
|
---|
51 | <displayItem assigned="true" dictionary="collectionConfig" key="section" name="name"/>
|
---|
52 | </level>
|
---|
53 | <defaultLevel name="section"/>
|
---|
54 | <searchType name="plain"/>
|
---|
55 | <searchType name="simpleform"/>
|
---|
56 | <searchType name="advancedform"/>
|
---|
57 | <format>
|
---|
58 | <gsf:template match="documentNode">
|
---|
59 | <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>
|
---|
60 | <td valign="top">
|
---|
61 | <gsf:link type="document">
|
---|
62 | <gsf:icon type="document"/>
|
---|
63 | </gsf:link>
|
---|
64 | </td>
|
---|
65 | <td>
|
---|
66 | <gsf:switch>
|
---|
67 | <gsf:metadata name="Title"/>
|
---|
68 | <gsf:when test="exists"><gsf:metadata name="Title"/>:</gsf:when>
|
---|
69 | </gsf:switch>
|
---|
70 | <gsf:link type="document">
|
---|
71 | <gsf:metadata name="Title"/>
|
---|
72 | </gsf:link>
|
---|
73 | </td>
|
---|
74 | </gsf:template>
|
---|
75 | </format>
|
---|
76 | </search>
|
---|
77 | <infodb type="gdbm"/>
|
---|
78 | <import>
|
---|
79 | <pluginList>
|
---|
80 | <plugin name="ZIPPlugin"/>
|
---|
81 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
82 | <plugin name="HTMLPlugin">
|
---|
83 | <option name="-description_tags"/>
|
---|
84 | <option name="-OIDtype" value="dirname"/>
|
---|
85 | </plugin>
|
---|
86 | <plugin name="MetadataXMLPlugin"/>
|
---|
87 | <plugin name="ArchivesInfPlugin"/>
|
---|
88 | <plugin name="DirectoryPlugin"/>
|
---|
89 | </pluginList>
|
---|
90 | </import>
|
---|
91 | <browse>
|
---|
92 | <classifier name="List">
|
---|
93 | <option name="-metadata" value="dls.Title"/>
|
---|
94 | <option name="-removeprefix" value="([Tt]he|A)\\s+"/>
|
---|
95 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
96 | </classifier>
|
---|
97 | <classifier name="Hierarchy">
|
---|
98 | <option name="-metadata" value="dls.Subject"/>
|
---|
99 | <option name="-sort" value="dls.Title"/>
|
---|
100 | </classifier>
|
---|
101 | <classifier name="List">
|
---|
102 | <option name="-metadata" value="dls.Organization"/>
|
---|
103 | <option name="-sort_leaf_nodes_using" value="dls.Title"/>
|
---|
104 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
105 | <option name="-bookshelf_type" value="always"/>
|
---|
106 | </classifier>
|
---|
107 | <classifier name="List">
|
---|
108 | <option name="-metadata" value="dls.Keyword"/>
|
---|
109 | <option name="-buttonname" value="Howto"/>
|
---|
110 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
111 | <format>
|
---|
112 | <gsf:template match="documentNode">
|
---|
113 | <gsf:format-gs2><![CDATA[<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]]]></gsf:format-gs2>
|
---|
114 | <td>
|
---|
115 | <gsf:link type="document">
|
---|
116 | <gsf:icon type="document"/>
|
---|
117 | </gsf:link>
|
---|
118 | </td>
|
---|
119 | <td>
|
---|
120 | <gsf:link type="document">
|
---|
121 | <gsf:metadata name="dls.Keyword"/>
|
---|
122 | </gsf:link>
|
---|
123 | </td>
|
---|
124 | </gsf:template>
|
---|
125 | <gsf:template match="classifierNode">
|
---|
126 | <gsf:format-gs2><![CDATA[<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]]]></gsf:format-gs2>
|
---|
127 | <td>
|
---|
128 | <gsf:link type="classifier">
|
---|
129 | <gsf:icon type="classifier"/>
|
---|
130 | </gsf:link>
|
---|
131 | </td>
|
---|
132 | <td>
|
---|
133 | <gsf:link type="classifier">
|
---|
134 | <gsf:metadata name="dls.Keyword"/>
|
---|
135 | </gsf:link>
|
---|
136 | </td>
|
---|
137 | </gsf:template>
|
---|
138 | </format>
|
---|
139 | </classifier>
|
---|
140 | <format>
|
---|
141 | <gsf:template match="documentNode">
|
---|
142 | <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td><td valign=top>[highlight]{Or}{[dls.Title],[Title],Untitled}[/highlight]{If}{[Date],<br><small><i>_textdate_[Date]</i></small>}{If}{[NumPages],<br><small><i>_textnumpages_[NumPages]</i></small>}{If}{[Source],<br><small><i>_textsource_[dmsafe:Source]</i></small>}</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">
|
---|
149 | <span class="highlight">
|
---|
150 | <gsf:choose-metadata><gsf:metadata name="dls.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
|
---|
151 | </span>
|
---|
152 | <gsf:switch>
|
---|
153 | <gsf:metadata name="Date"/>
|
---|
154 | <gsf:when test="exists">
|
---|
155 | <br/>
|
---|
156 | <small>
|
---|
157 | <i><gsf:displayItem name="textdate"/><gsf:metadata name="Date"/></i>
|
---|
158 | </small>
|
---|
159 | </gsf:when>
|
---|
160 | </gsf:switch>
|
---|
161 | <gsf:switch>
|
---|
162 | <gsf:metadata name="NumPages"/>
|
---|
163 | <gsf:when test="exists">
|
---|
164 | <br/>
|
---|
165 | <small>
|
---|
166 | <i><gsf:displayItem name="textnumpages"/><gsf:metadata name="NumPages"/></i>
|
---|
167 | </small>
|
---|
168 | </gsf:when>
|
---|
169 | </gsf:switch>
|
---|
170 | <gsf:switch>
|
---|
171 | <gsf:metadata name="Source"/>
|
---|
172 | <gsf:when test="exists">
|
---|
173 | <br/>
|
---|
174 | <small>
|
---|
175 | <i><gsf:displayItem name="textsource"/><gsf:metadata name="Source"/></i>
|
---|
176 | </small>
|
---|
177 | </gsf:when>
|
---|
178 | </gsf:switch>
|
---|
179 | </td>
|
---|
180 | </gsf:template>
|
---|
181 | <gsf:template match="classifierNode">
|
---|
182 | <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td><td valign=top>[highlight]{Or}{[dls.Title],[Title],Untitled}[/highlight]{If}{[Date],<br><small><i>_textdate_[Date]</i></small>}{If}{[NumPages],<br><small><i>_textnumpages_[NumPages]</i></small>}{If}{[Source],<br><small><i>_textsource_[dmsafe:Source]</i></small>}</td>]]></gsf:format-gs2>
|
---|
183 | <td valign="top">
|
---|
184 | <gsf:link type="classifier">
|
---|
185 | <gsf:icon type="classifier"/>
|
---|
186 | </gsf:link>
|
---|
187 | </td>
|
---|
188 | <td valign="top">
|
---|
189 | <span class="highlight">
|
---|
190 | <gsf:choose-metadata><gsf:metadata name="dls.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
|
---|
191 | </span>
|
---|
192 | <gsf:switch>
|
---|
193 | <gsf:metadata name="Date"/>
|
---|
194 | <gsf:when test="exists">
|
---|
195 | <br/>
|
---|
196 | <small>
|
---|
197 | <i><gsf:displayItem name="textdate"/><gsf:metadata name="Date"/></i>
|
---|
198 | </small>
|
---|
199 | </gsf:when>
|
---|
200 | </gsf:switch>
|
---|
201 | <gsf:switch>
|
---|
202 | <gsf:metadata name="NumPages"/>
|
---|
203 | <gsf:when test="exists">
|
---|
204 | <br/>
|
---|
205 | <small>
|
---|
206 | <i><gsf:displayItem name="textnumpages"/><gsf:metadata name="NumPages"/></i>
|
---|
207 | </small>
|
---|
208 | </gsf:when>
|
---|
209 | </gsf:switch>
|
---|
210 | <gsf:switch>
|
---|
211 | <gsf:metadata name="Source"/>
|
---|
212 | <gsf:when test="exists">
|
---|
213 | <br/>
|
---|
214 | <small>
|
---|
215 | <i><gsf:displayItem name="textsource"/><gsf:metadata name="Source"/></i>
|
---|
216 | </small>
|
---|
217 | </gsf:when>
|
---|
218 | </gsf:switch>
|
---|
219 | </td>
|
---|
220 | </gsf:template>
|
---|
221 | <gsf:template match="classifierNode" mode="horizontal">
|
---|
222 | <gsf:format-gs2><![CDATA[[link][highlight][Title][/highlight][/link]]]></gsf:format-gs2>
|
---|
223 | <gsf:link type="classifier">
|
---|
224 | <span class="highlight">
|
---|
225 | <gsf:metadata name="Title"/>
|
---|
226 | </span>
|
---|
227 | </gsf:link>
|
---|
228 | </gsf:template>
|
---|
229 | </format>
|
---|
230 | </browse>
|
---|
231 | <display>
|
---|
232 | <format><gsf:option name="TOC" value="true"/><gsf:option name="AllowUserComments" value="false"/><!--Overwriting this template allows you to change the heading of the document.--><!--<gsf:template name="documentHeading"><span style="font-weight:bold; font-size: 120%;"><xsl:call-template name="choose-title"/></span></gsf:template>--><!--Overwriting 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.--><!--<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></div></gsf:template>--><!--Overwriting this template can be used to change the content of section headings.--><!--<gsf:template name="sectionHeading"><xsl:call-template name="choose-title"/></gsf:template>--><!--Overwriting this template can be used to change the content of the top-level section.--><!--<gsf:template name="topLevelSectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template>--><!--Overwriting this template can be used to change the content of sections.--><!--<gsf:template name="sectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template>--></format>
|
---|
233 | </display>
|
---|
234 | <replaceListRef id="gs2-standard"/>
|
---|
235 | </CollectionConfig>
|
---|