source: main/trunk/model-sites-dev/atea/collect/wanda-images/etc/collectionConfig.bak@ 36270

Last change on this file since 36270 was 36270, checked in by davidb, 8 weeks ago

initial cut at collection files for wanda-images

File size: 11.3 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"/>
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<!--
31modify 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="-block_exp" value="(?i)\.(txt|item)$"/>
101 </plugin>
102 <plugin name="TextPlugin">
103 <option name="-process_exp" value="(?=(?i).te?xt\$)(?=^(?!.*tk_))"/>
104 </plugin>
105 <plugin name="HTMLPlugin"/>
106 <plugin name="EmailPlugin"/>
107 <plugin name="PDFv2Plugin"/>
108 <plugin name="UnknownConverterPlugin">
109 <option name="-exec_cmd" value="java -jar $GSDLHOME/ext/tika/tika-app-*.jar --html --pretty-print --encoding=UTF-8 %%INPUT_FILE > %%OUTPUT"/>
110 <option name="-convert_to" value="html"/>
111 <option name="-mime_type" value="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
112 <option name="-srcicon" value="icondocx"/>
113 <option name="-process_extension" value="docx"/>
114 </plugin>
115 <plugin name="RTFPlugin"/>
116 <plugin name="WordPlugin"/>
117 <plugin name="PostScriptPlugin"/>
118 <plugin name="PowerPointPlugin"/>
119 <plugin name="ExcelPlugin"/>
120 <plugin name="ISISPlugin"/>
121 <plugin name="NulPlugin"/>
122 <plugin name="OAIPlugin"/>
123 <plugin name="MetadataXMLPlugin"/>
124 <plugin name="ArchivesInfPlugin"/>
125 <plugin name="DirectoryPlugin"/>
126 </pluginList>
127 </import>
128 <browse>
129 <classifier name="List">
130 <option name="-metadata" value="dc.Title,Title"/>
131 <option name="-partition_type_within_level" value="approximate_size"/>
132 <option name="-numeric_partition_type_within_level" value="approximate_size"/>
133 <option name="-metadata_selection_mode_within_level" value="firstvalue"/>
134 </classifier>
135 <format>
136 <gsf:template match="documentNode">
137 <td valign="top">
138 <gsf:link type="document">
139 <gsf:choose-metadata>
140 <gsf:metadata name="thumbicon"/>
141 <gsf:metadata name="srcicon"/>
142 <gsf:default>
143 <gsf:icon type="document"/>
144 </gsf:default>
145 </gsf:choose-metadata>
146 </gsf:link>
147 </td>
148 <td valign="top">
149 <gsf:link type="document">
150<!--
151Defined in the global format statement
152-->
153 <xsl:call-template name="choose-title"/>
154 </gsf:link>
155 <gsf:metadata hidden="true" name="tk.Attribution"/>
156 <gsf:metadata hidden="true" name="tk.Clan"/>
157 <gsf:metadata hidden="true" name="tk.Family"/>
158 <gsf:metadata hidden="true" name="tk.MultipleCommunities"/>
159 <gsf:metadata hidden="true" name="tk.CommunityVoice"/>
160 <gsf:metadata hidden="true" name="tk.Creative"/>
161 <gsf:metadata hidden="true" name="tk.Verified"/>
162 <gsf:metadata hidden="true" name="tk.NonVerified"/>
163 <gsf:metadata hidden="true" name="tk.Seasonal"/>
164 <gsf:metadata hidden="true" name="tk.WomenGeneral"/>
165 <gsf:metadata hidden="true" name="tk.MenGeneral"/>
166 <gsf:metadata hidden="true" name="tk.MenRestricted"/>
167 <gsf:metadata hidden="true" name="tk.WomenRestricted"/>
168 <gsf:metadata hidden="true" name="tk.CulturallySensitive"/>
169 <gsf:metadata hidden="true" name="tk.SecretSacred"/>
170 <gsf:metadata hidden="true" name="tk.OpenToCommercialization"/>
171 <gsf:metadata hidden="true" name="tk.NonCommercial"/>
172 <gsf:metadata hidden="true" name="tk.CommunityUseOnly"/>
173 <gsf:metadata hidden="true" name="tk.Outreach"/>
174 <gsf:metadata hidden="true" name="tk.OpenToCollaboration"/>
175 <xsl:call-template name="choose-tklabels-small"/>
176 </td>
177 </gsf:template>
178 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
179 <td valign="top">
180 <gsf:link style="static" type="classifier">
181 <gsf:icon type="classifier"/>
182 </gsf:link>
183 </td>
184 <td valign="top">
185 <gsf:link type="classifier">
186 <gsf:metadata name="Title"/>
187 </gsf:link>
188 </td>
189 </gsf:template>
190 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
191 <gsf:link style="static" type="classifier">
192 <gsf:metadata name="Title"/>
193 </gsf:link>
194 </gsf:template>
195 </format>
196 </browse>
197 <display>
198 <format> <gsf:option name="TOC" value="true"/>
199 <gsf:option name="allowUserComments" value="false"/>
200 <gsf:option name="allowDocumentEditing" value="true"/>
201 <gsf:option name="allowMapGPSEditing" value="true"/>
202<!--
203Overwriting this template allows you to change the heading of the document.
204-->
205 <gsf:template name="documentHeading">
206 <span style="font-weight:italic; font-size: 120%;">
207 <xsl:call-template name="choose-title"/>
208 </span>
209 </gsf:template>
210<!--
211Overwriting 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.
212-->
213
214<gsf:template name="documentContent">
215<div id="gs-document">
216<xsl:call-template name="documentPre"/>
217<xsl:call-template name="wrappedSectionImage"/>
218<div id="gs-document-text">
219<xsl:call-template name="documentNodeText"/>
220<gsf:text/>
221</div>
222</div>
223</gsf:template>
224
225<!--
226Overwriting this template can be used to change the content of section headings.
227-->
228 <gsf:template name="sectionHeading">
229 <xsl:call-template name="choose-title"/>
230 <gsf:metadata hidden="true" name="tk.Attribution"/>
231 <gsf:metadata hidden="true" name="tk.Clan"/>
232 <gsf:metadata hidden="true" name="tk.Family"/>
233 <gsf:metadata hidden="true" name="tk.MultipleCommunities"/>
234 <gsf:metadata hidden="true" name="tk.CommunityVoice"/>
235 <gsf:metadata hidden="true" name="tk.Creative"/>
236 <gsf:metadata hidden="true" name="tk.Verified"/>
237 <gsf:metadata hidden="true" name="tk.NonVerified"/>
238 <gsf:metadata hidden="true" name="tk.Seasonal"/>
239 <gsf:metadata hidden="true" name="tk.WomenGeneral"/>
240 <gsf:metadata hidden="true" name="tk.MenGeneral"/>
241 <gsf:metadata hidden="true" name="tk.MenRestricted"/>
242 <gsf:metadata hidden="true" name="tk.WomenRestricted"/>
243 <gsf:metadata hidden="true" name="tk.CulturallySensitive"/>
244 <gsf:metadata hidden="true" name="tk.SecretSacred"/>
245 <gsf:metadata hidden="true" name="tk.OpenToCommercialization"/>
246 <gsf:metadata hidden="true" name="tk.NonCommercial"/>
247 <gsf:metadata hidden="true" name="tk.CommunityUseOnly"/>
248 <gsf:metadata hidden="true" name="tk.Outreach"/>
249 <gsf:metadata hidden="true" name="tk.OpenToCollaboration"/>
250 <xsl:call-template name="choose-tklabels"/>
251 </gsf:template>
252<!--
253Overwriting this template can be used to change the content of the top-level section.
254-->
255<!--
256<gsf:template name="topLevelSectionContent">
257<xsl:call-template name="wrappedSectionImage"/>
258<xsl:call-template name="wrappedSectionText"/>
259</gsf:template>
260-->
261<!--
262Overwriting this template can be used to change the content of sections.
263-->
264<!--
265<gsf:template name="sectionContent">
266<xsl:call-template name="wrappedSectionImage"/>
267<xsl:call-template name="wrappedSectionText"/>
268</gsf:template>
269-->
270
271</format>
272 </display>
273 <replaceListRef id="gs2-standard"/>
274 <replaceListRef id="gs2-image"/>
275 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
276 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
277 <serviceRack name="OAIPMH">
278 <setName>wandaima</setName>
279 <setDescription/><!-- uncomment the following and set the name attribute if
280 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
281 <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:
282 <metadataFormat metadataPrefix="prefix"/> -->
283 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
284 </ListMetadataFormats>
285 </serviceRack>
286 </serviceRackList>
287</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.