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" lang="en" name="name">wanda-images</displayItem>
|
---|
10 | <displayItem assigned="true" lang="en" name="text">text</displayItem>
|
---|
11 | <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
|
---|
12 | <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
|
---|
13 | <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
|
---|
14 | <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
|
---|
15 | <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
|
---|
16 | <displayItem assigned="true" lang="en" name="document">document</displayItem>
|
---|
17 | <displayItem assigned="true" lang="en" name="section">section</displayItem>
|
---|
18 | <displayItem assigned="true" lang="en" name="shortDescription">wandaima</displayItem>
|
---|
19 | </displayItemList>
|
---|
20 | <format>
|
---|
21 | <gsf:template name="choose-title">
|
---|
22 | <gsf:choose-metadata>
|
---|
23 | <gsf:metadata name="dc.Title"/>
|
---|
24 | <gsf:metadata name="exp.Title"/>
|
---|
25 | <gsf:metadata name="ex.dc.Title"/>
|
---|
26 | <gsf:metadata name="Title"/>
|
---|
27 | <gsf:default>Untitled</gsf:default>
|
---|
28 | </gsf:choose-metadata>
|
---|
29 | </gsf:template>
|
---|
30 | <!--
|
---|
31 | modify the collection description template to output the "this collection contains X documents and was last built Y days ago" message
|
---|
32 | -->
|
---|
33 | <xsl:template name="coll-description">
|
---|
34 | <p>
|
---|
35 | <gslib:collectionDescriptionTextAndServicesLinks/>
|
---|
36 | </p>
|
---|
37 | <xsl:variable name="raw_date">
|
---|
38 | <gslib:collectionMeta name="buildDate"/>
|
---|
39 | </xsl:variable>
|
---|
40 | <xsl:variable name="formatted_date">
|
---|
41 | <xsl:value-of select="util:formatTimeStamp($raw_date, 0, 3, /page/@lang)"/>
|
---|
42 | </xsl:variable>
|
---|
43 | <xsl:variable name="numdocs">
|
---|
44 | <gslib:collectionMeta name="numDocs"/>
|
---|
45 | </xsl:variable>
|
---|
46 | <p>
|
---|
47 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.standarddescriptiondays', concat($numdocs, ';', $formatted_date))"/>
|
---|
48 | </p>
|
---|
49 | </xsl:template>
|
---|
50 | </format>
|
---|
51 | <search type="lucene">
|
---|
52 | <level name="document">
|
---|
53 | <displayItem lang="en" name="name">document</displayItem>
|
---|
54 | </level>
|
---|
55 | <level name="section">
|
---|
56 | <displayItem lang="en" name="name">section</displayItem>
|
---|
57 | </level>
|
---|
58 | <defaultLevel name="document"/>
|
---|
59 | <index name="text">
|
---|
60 | <displayItem lang="en" name="name">text</displayItem>
|
---|
61 | </index>
|
---|
62 | <index name="dc.Title,ex.dc.Title,Title">
|
---|
63 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
64 | </index>
|
---|
65 | <index name="Source">
|
---|
66 | <displayItem lang="en" name="name">filenames</displayItem>
|
---|
67 | </index>
|
---|
68 | <defaultIndex name="text"/>
|
---|
69 | <sort name="rank">
|
---|
70 | <displayItem lang="en" name="name">rank</displayItem>
|
---|
71 | </sort>
|
---|
72 | <sort name="none">
|
---|
73 | <displayItem lang="en" name="name">natural (build) order</displayItem>
|
---|
74 | </sort>
|
---|
75 | <searchType name="plain"/>
|
---|
76 | <searchType name="simpleform"/>
|
---|
77 | <searchType name="advancedform"/>
|
---|
78 | <format>
|
---|
79 | <gsf:template match="documentNode">
|
---|
80 | <td valign="top">
|
---|
81 | <gsf:link type="document">
|
---|
82 | <gsf:icon type="document"/>
|
---|
83 | </gsf:link>
|
---|
84 | </td>
|
---|
85 | <td>
|
---|
86 | <gsf:link type="document">
|
---|
87 | <xsl:call-template name="choose-title"/>
|
---|
88 | </gsf:link>
|
---|
89 | </td>
|
---|
90 | </gsf:template>
|
---|
91 | </format>
|
---|
92 | </search>
|
---|
93 | <infodb type="jdbm"/>
|
---|
94 | <import>
|
---|
95 | <pluginList>
|
---|
96 | <plugin name="ZIPPlugin"/>
|
---|
97 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
98 | <plugin name="GoogleVisionImagePlugin">
|
---|
99 | <option name="-enable_document_ocr"/>
|
---|
100 | <option name="-enable_image_labelling"/>
|
---|
101 | <option name="-block_exp" value="(?i)\.(txt|item)$"/>
|
---|
102 | </plugin>
|
---|
103 | <plugin name="TextPlugin">
|
---|
104 | <option name="-process_exp" value="(?=(?i).te?xt\$)(?=^(?!.*tk_))"/>
|
---|
105 | </plugin>
|
---|
106 | <plugin name="HTMLPlugin"/>
|
---|
107 | <plugin name="EmailPlugin"/>
|
---|
108 | <plugin name="PDFv2Plugin"/>
|
---|
109 | <plugin name="UnknownConverterPlugin">
|
---|
110 | <option name="-exec_cmd" value="java -jar $GSDLHOME/ext/tika/tika-app-*.jar --html --pretty-print --encoding=UTF-8 %%INPUT_FILE > %%OUTPUT"/>
|
---|
111 | <option name="-convert_to" value="html"/>
|
---|
112 | <option name="-mime_type" value="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
|
---|
113 | <option name="-srcicon" value="icondocx"/>
|
---|
114 | <option name="-process_extension" value="docx"/>
|
---|
115 | </plugin>
|
---|
116 | <plugin name="RTFPlugin"/>
|
---|
117 | <plugin name="WordPlugin"/>
|
---|
118 | <plugin name="PostScriptPlugin"/>
|
---|
119 | <plugin name="PowerPointPlugin"/>
|
---|
120 | <plugin name="ExcelPlugin"/>
|
---|
121 | <plugin name="ISISPlugin"/>
|
---|
122 | <plugin name="NulPlugin"/>
|
---|
123 | <plugin name="OAIPlugin"/>
|
---|
124 | <plugin name="MetadataXMLPlugin"/>
|
---|
125 | <plugin name="ArchivesInfPlugin"/>
|
---|
126 | <plugin name="DirectoryPlugin"/>
|
---|
127 | </pluginList>
|
---|
128 | </import>
|
---|
129 | <browse>
|
---|
130 | <classifier name="List">
|
---|
131 | <option name="-metadata" value="dc.Title,Title"/>
|
---|
132 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
133 | <option name="-numeric_partition_type_within_level" value="approximate_size"/>
|
---|
134 | <option name="-metadata_selection_mode_within_level" value="firstvalue"/>
|
---|
135 | </classifier>
|
---|
136 | <format>
|
---|
137 | <gsf:template match="documentNode">
|
---|
138 | <td valign="top">
|
---|
139 | <gsf:link type="document">
|
---|
140 | <gsf:choose-metadata>
|
---|
141 | <gsf:metadata name="thumbicon"/>
|
---|
142 | <gsf:metadata name="srcicon"/>
|
---|
143 | <gsf:default>
|
---|
144 | <gsf:icon type="document"/>
|
---|
145 | </gsf:default>
|
---|
146 | </gsf:choose-metadata>
|
---|
147 | </gsf:link>
|
---|
148 | </td>
|
---|
149 | <td valign="top">
|
---|
150 | <gsf:link type="document">
|
---|
151 | <!--
|
---|
152 | Defined in the global format statement
|
---|
153 | -->
|
---|
154 | <xsl:call-template name="choose-title"/>
|
---|
155 | </gsf:link>
|
---|
156 | <gsf:metadata hidden="true" name="tk.Attribution"/>
|
---|
157 | <gsf:metadata hidden="true" name="tk.Clan"/>
|
---|
158 | <gsf:metadata hidden="true" name="tk.Family"/>
|
---|
159 | <gsf:metadata hidden="true" name="tk.MultipleCommunities"/>
|
---|
160 | <gsf:metadata hidden="true" name="tk.CommunityVoice"/>
|
---|
161 | <gsf:metadata hidden="true" name="tk.Creative"/>
|
---|
162 | <gsf:metadata hidden="true" name="tk.Verified"/>
|
---|
163 | <gsf:metadata hidden="true" name="tk.NonVerified"/>
|
---|
164 | <gsf:metadata hidden="true" name="tk.Seasonal"/>
|
---|
165 | <gsf:metadata hidden="true" name="tk.WomenGeneral"/>
|
---|
166 | <gsf:metadata hidden="true" name="tk.MenGeneral"/>
|
---|
167 | <gsf:metadata hidden="true" name="tk.MenRestricted"/>
|
---|
168 | <gsf:metadata hidden="true" name="tk.WomenRestricted"/>
|
---|
169 | <gsf:metadata hidden="true" name="tk.CulturallySensitive"/>
|
---|
170 | <gsf:metadata hidden="true" name="tk.SecretSacred"/>
|
---|
171 | <gsf:metadata hidden="true" name="tk.OpenToCommercialization"/>
|
---|
172 | <gsf:metadata hidden="true" name="tk.NonCommercial"/>
|
---|
173 | <gsf:metadata hidden="true" name="tk.CommunityUseOnly"/>
|
---|
174 | <gsf:metadata hidden="true" name="tk.Outreach"/>
|
---|
175 | <gsf:metadata hidden="true" name="tk.OpenToCollaboration"/>
|
---|
176 | <xsl:call-template name="choose-tklabels-small"/>
|
---|
177 | </td>
|
---|
178 | </gsf:template>
|
---|
179 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
180 | <td valign="top">
|
---|
181 | <gsf:link style="static" type="classifier">
|
---|
182 | <gsf:icon type="classifier"/>
|
---|
183 | </gsf:link>
|
---|
184 | </td>
|
---|
185 | <td valign="top">
|
---|
186 | <gsf:link type="classifier">
|
---|
187 | <gsf:metadata name="Title"/>
|
---|
188 | </gsf:link>
|
---|
189 | </td>
|
---|
190 | </gsf:template>
|
---|
191 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
192 | <gsf:link style="static" type="classifier">
|
---|
193 | <gsf:metadata name="Title"/>
|
---|
194 | </gsf:link>
|
---|
195 | </gsf:template>
|
---|
196 | </format>
|
---|
197 | </browse>
|
---|
198 | <display>
|
---|
199 | <format> <gsf:option name="TOC" value="true"/>
|
---|
200 | <gsf:option name="allowUserComments" value="false"/>
|
---|
201 | <gsf:option name="allowDocumentEditing" value="true"/>
|
---|
202 | <gsf:option name="allowMapGPSEditing" value="true"/>
|
---|
203 | <!--
|
---|
204 | Overwriting this template allows you to change the heading of the document.
|
---|
205 | -->
|
---|
206 | <gsf:template name="documentHeading">
|
---|
207 | <span style="font-weight:italic; font-size: 120%;">
|
---|
208 | <xsl:call-template name="choose-title"/>
|
---|
209 | <xsl:call-template name="choose-tklabels-small"/>
|
---|
210 | </span>
|
---|
211 | </gsf:template>
|
---|
212 | <!--
|
---|
213 | 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.
|
---|
214 | -->
|
---|
215 | <gsf:template name="documentContent">
|
---|
216 | <div id="gs-document">
|
---|
217 | <xsl:call-template name="documentPre"/>
|
---|
218 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
219 | <div id="gs-document-text">
|
---|
220 | <xsl:call-template name="documentNodeText"/>
|
---|
221 | </div>
|
---|
222 | </div>
|
---|
223 | </gsf:template>
|
---|
224 | <!--
|
---|
225 | Overwriting this template can be used to change the content of section headings.
|
---|
226 | -->
|
---|
227 | <gsf:template name="sectionHeading">
|
---|
228 | <xsl:call-template name="choose-title"/>
|
---|
229 | <gsf:metadata hidden="true" name="tk.Attribution"/>
|
---|
230 | <gsf:metadata hidden="true" name="tk.Clan"/>
|
---|
231 | <gsf:metadata hidden="true" name="tk.Family"/>
|
---|
232 | <gsf:metadata hidden="true" name="tk.MultipleCommunities"/>
|
---|
233 | <gsf:metadata hidden="true" name="tk.CommunityVoice"/>
|
---|
234 | <gsf:metadata hidden="true" name="tk.Creative"/>
|
---|
235 | <gsf:metadata hidden="true" name="tk.Verified"/>
|
---|
236 | <gsf:metadata hidden="true" name="tk.NonVerified"/>
|
---|
237 | <gsf:metadata hidden="true" name="tk.Seasonal"/>
|
---|
238 | <gsf:metadata hidden="true" name="tk.WomenGeneral"/>
|
---|
239 | <gsf:metadata hidden="true" name="tk.MenGeneral"/>
|
---|
240 | <gsf:metadata hidden="true" name="tk.MenRestricted"/>
|
---|
241 | <gsf:metadata hidden="true" name="tk.WomenRestricted"/>
|
---|
242 | <gsf:metadata hidden="true" name="tk.CulturallySensitive"/>
|
---|
243 | <gsf:metadata hidden="true" name="tk.SecretSacred"/>
|
---|
244 | <gsf:metadata hidden="true" name="tk.OpenToCommercialization"/>
|
---|
245 | <gsf:metadata hidden="true" name="tk.NonCommercial"/>
|
---|
246 | <gsf:metadata hidden="true" name="tk.CommunityUseOnly"/>
|
---|
247 | <gsf:metadata hidden="true" name="tk.Outreach"/>
|
---|
248 | <gsf:metadata hidden="true" name="tk.OpenToCollaboration"/>
|
---|
249 | <xsl:call-template name="choose-tklabels"/>
|
---|
250 | </gsf:template>
|
---|
251 | <!--
|
---|
252 | Overwriting this template can be used to change the content of the top-level section.
|
---|
253 | -->
|
---|
254 | <!--
|
---|
255 | <gsf:template name="topLevelSectionContent">
|
---|
256 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
257 | <xsl:call-template name="wrappedSectionText"/>
|
---|
258 | </gsf:template>
|
---|
259 | -->
|
---|
260 | <!--
|
---|
261 | Overwriting this template can be used to change the content of sections.
|
---|
262 | -->
|
---|
263 | <!--
|
---|
264 | <gsf:template name="sectionContent">
|
---|
265 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
266 | <xsl:call-template name="wrappedSectionText"/>
|
---|
267 | </gsf:template>
|
---|
268 | -->
|
---|
269 |
|
---|
270 | </format>
|
---|
271 | </display>
|
---|
272 | <replaceListRef id="gs2-standard"/>
|
---|
273 | <replaceListRef id="gs2-image"/>
|
---|
274 | <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
|
---|
275 | <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
276 | <serviceRack name="OAIPMH">
|
---|
277 | <setName>wandaima</setName>
|
---|
278 | <setDescription/><!-- uncomment the following and set the name attribute if
|
---|
279 | you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
|
---|
280 | <ListMetadataFormats><!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like:
|
---|
281 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
282 | <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
|
---|
283 | </ListMetadataFormats>
|
---|
284 | </serviceRack>
|
---|
285 | </serviceRackList>
|
---|
286 | </CollectionConfig>
|
---|