1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gslib="http://www.greenstone.org/skinning">
|
---|
3 | <metadataList>
|
---|
4 | <metadata name="creator">**creator**</metadata>
|
---|
5 | <metadata name="maintainer">**maintainer**</metadata>
|
---|
6 | <metadata name="public">**public**</metadata>
|
---|
7 | </metadataList>
|
---|
8 | <displayItemList>
|
---|
9 | <displayItem assigned="true" lang="en" name="name">**title**</displayItem>
|
---|
10 | <displayItem assigned="true" lang="en" name="description">**about**</displayItem>
|
---|
11 | <!-- shortDescription is used as a tooltip for collection icon on home page-->
|
---|
12 | <displayItem assigned="true" lang="en" name="shortDescription">**title**</displayItem>
|
---|
13 | </displayItemList>
|
---|
14 | <!-- Global format statement -->
|
---|
15 | <format>
|
---|
16 | <gsf:template name="choose-title">
|
---|
17 | <gsf:choose-metadata>
|
---|
18 | <gsf:metadata name="dc.Title"/>
|
---|
19 | <gsf:metadata name="exp.Title"/>
|
---|
20 | <gsf:metadata name="ex.dc.Title"/>
|
---|
21 | <gsf:metadata name="Title"/>
|
---|
22 | <gsf:default>Untitled</gsf:default>
|
---|
23 | </gsf:choose-metadata>
|
---|
24 | </gsf:template>
|
---|
25 | </format>
|
---|
26 | <search type="lucene">
|
---|
27 | <level name="document">
|
---|
28 | <displayItem lang="en" name="name">document</displayItem>
|
---|
29 | </level>
|
---|
30 | <level name="section">
|
---|
31 | <displayItem lang="en" name="name">section</displayItem>
|
---|
32 | </level>
|
---|
33 | <defaultLevel name="document"/>
|
---|
34 | <index name="text">
|
---|
35 | <displayItem lang="en" name="name">text</displayItem>
|
---|
36 | </index>
|
---|
37 | <index name="dc.Title,ex.dc.Title,Title">
|
---|
38 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
39 | </index>
|
---|
40 | <index name="Source">
|
---|
41 | <displayItem lang="en" name="name">filenames</displayItem>
|
---|
42 | </index>
|
---|
43 | <defaultIndex name="text"/>
|
---|
44 | <sort name="rank">
|
---|
45 | <displayItem lang="en" name="name">rank</displayItem>
|
---|
46 | </sort>
|
---|
47 | <sort name="none">
|
---|
48 | <displayItem lang="en" name="name">natural (build) order</displayItem>
|
---|
49 | </sort>
|
---|
50 | <searchType name="plain"/>
|
---|
51 | <searchType name="simpleform"/>
|
---|
52 | <searchType name="advancedform"/>
|
---|
53 | <format>
|
---|
54 | <gsf:template match="documentNode">
|
---|
55 | <td valign="top">
|
---|
56 | <gsf:link type="document">
|
---|
57 | <gsf:icon type="document"/>
|
---|
58 | </gsf:link>
|
---|
59 | </td>
|
---|
60 | <td>
|
---|
61 | <gsf:link type="document">
|
---|
62 | <xsl:call-template name="choose-title"/>
|
---|
63 | </gsf:link>
|
---|
64 | </td>
|
---|
65 | </gsf:template>
|
---|
66 | </format>
|
---|
67 | </search>
|
---|
68 |
|
---|
69 | <infodb type="jdbm"/>
|
---|
70 |
|
---|
71 | <import>
|
---|
72 | <pluginList>
|
---|
73 | <plugin name="ZIPPlugin"/>
|
---|
74 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
75 | <plugin name="TextPlugin"/>
|
---|
76 | <plugin name="HTMLPlugin"/>
|
---|
77 | <plugin name="EmailPlugin"/>
|
---|
78 | <plugin name="PDFv2Plugin"/>
|
---|
79 | <plugin name="RTFPlugin"/>
|
---|
80 | <plugin name="WordPlugin"/>
|
---|
81 | <plugin name="PostScriptPlugin"/>
|
---|
82 | <plugin name="PowerPointPlugin"/>
|
---|
83 | <plugin name="ExcelPlugin"/>
|
---|
84 | <plugin name="ImagePlugin"/>
|
---|
85 | <plugin name="ISISPlugin"/>
|
---|
86 | <plugin name="NulPlugin"/>
|
---|
87 | <plugin name="OAIPlugin"/>
|
---|
88 | <plugin name="MetadataXMLPlugin"/>
|
---|
89 | <plugin name="ArchivesInfPlugin"/>
|
---|
90 | <plugin name="DirectoryPlugin"/>
|
---|
91 | </pluginList>
|
---|
92 | </import>
|
---|
93 | <browse>
|
---|
94 | <classifier name="List">
|
---|
95 | <option name="-metadata" value="dc.Title;Title"/>
|
---|
96 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
97 | </classifier>
|
---|
98 | <classifier name="List">
|
---|
99 | <option name="-metadata" value="Source"/>
|
---|
100 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
101 | </classifier>
|
---|
102 | <format>
|
---|
103 | <gsf:template match="documentNode">
|
---|
104 | <td valign="top">
|
---|
105 | <gsf:link type="document">
|
---|
106 | <gsf:icon type="document"/>
|
---|
107 | </gsf:link>
|
---|
108 | </td>
|
---|
109 | <td valign="top">
|
---|
110 | <gsf:link type="source">
|
---|
111 | <gsf:choose-metadata>
|
---|
112 | <gsf:metadata name="thumbicon"/>
|
---|
113 | <gsf:metadata name="srcicon"/>
|
---|
114 | </gsf:choose-metadata>
|
---|
115 | </gsf:link>
|
---|
116 | </td>
|
---|
117 | <td valign="top">
|
---|
118 | <gsf:link type="document">
|
---|
119 | <!-- Defined in the global format statement -->
|
---|
120 | <xsl:call-template name="choose-title"/>
|
---|
121 | <gsf:switch>
|
---|
122 | <gsf:metadata name="Source"/>
|
---|
123 | <gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when>
|
---|
124 | </gsf:switch>
|
---|
125 | </gsf:link>
|
---|
126 | </td>
|
---|
127 | </gsf:template>
|
---|
128 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
129 | <td valign="top">
|
---|
130 | <gsf:link type="classifier" style="static">
|
---|
131 | <gsf:icon type="classifier"/>
|
---|
132 | </gsf:link>
|
---|
133 | </td>
|
---|
134 | <td valign="top">
|
---|
135 | <gsf:link type="classifier">
|
---|
136 | <gsf:metadata name="Title"/>
|
---|
137 | </gsf:link>
|
---|
138 | </td>
|
---|
139 | </gsf:template>
|
---|
140 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
141 | <gsf:link type="classifier">
|
---|
142 | <gsf:metadata name="Title"/>
|
---|
143 | </gsf:link>
|
---|
144 | </gsf:template>
|
---|
145 | </format>
|
---|
146 | </browse>
|
---|
147 | <display>
|
---|
148 | <format>
|
---|
149 | <gsf:option name="TOC" value="true"/>
|
---|
150 | <gsf:option name="AllowUserComments" value="false"/>
|
---|
151 | <!--
|
---|
152 | Overwriting this template allows you to change the heading of the document.
|
---|
153 | -->
|
---|
154 | <!--
|
---|
155 | <gsf:template name="documentHeading">
|
---|
156 | <span style="font-weight:bold; font-size: 120%;">
|
---|
157 | <xsl:call-template name="choose-title"/>
|
---|
158 | </span>
|
---|
159 | </gsf:template>
|
---|
160 | -->
|
---|
161 |
|
---|
162 | <!--
|
---|
163 | Overwriting this template can be used to redefine the content of the whole document.
|
---|
164 | This is useful for simple documents, but not recommended for more complex documents
|
---|
165 | (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
|
---|
166 | -->
|
---|
167 | <!--
|
---|
168 | <gsf:template name="documentContent">
|
---|
169 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
170 | <xsl:call-template name="wrappedSectionText"/>
|
---|
171 | </gsf:template>
|
---|
172 | -->
|
---|
173 |
|
---|
174 | <!--
|
---|
175 | Overwriting this template can be used to change the content of section headings.
|
---|
176 | -->
|
---|
177 | <!--
|
---|
178 | <gsf:template name="sectionHeading">
|
---|
179 | <xsl:call-template name="choose-title"/>
|
---|
180 | </gsf:template>
|
---|
181 | -->
|
---|
182 |
|
---|
183 | <!--
|
---|
184 | Overwriting this template can be used to change the content of the top-level section.
|
---|
185 | -->
|
---|
186 | <!--
|
---|
187 | <gsf:template name="topLevelSectionContent">
|
---|
188 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
189 | <xsl:call-template name="wrappedSectionText"/>
|
---|
190 | </gsf:template>
|
---|
191 | -->
|
---|
192 |
|
---|
193 | <!--
|
---|
194 | Overwriting this template can be used to change the content of sections.
|
---|
195 | -->
|
---|
196 | <!--
|
---|
197 | <gsf:template name="sectionContent">
|
---|
198 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
199 | <xsl:call-template name="wrappedSectionText"/>
|
---|
200 | </gsf:template>
|
---|
201 | -->
|
---|
202 | </format>
|
---|
203 | </display>
|
---|
204 | <replaceListRef id="gs2-standard"/>
|
---|
205 | <replaceListRef id="gs2-image" />
|
---|
206 | <serviceRackList>
|
---|
207 | <!-- comment out the following serviceRack if you want to disable RSS for this collection -->
|
---|
208 | <serviceRack name="RSSRetrieve"/>
|
---|
209 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
210 | <serviceRack name="OAIPMH">
|
---|
211 | <setName>**title**</setName>
|
---|
212 | <setDescription>**about**</setDescription>
|
---|
213 | <!-- uncomment the following and set the name attribute if
|
---|
214 | you want this collection to be part of a super set. -->
|
---|
215 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
216 | <ListMetadataFormats>
|
---|
217 | <!--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:
|
---|
218 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
219 |
|
---|
220 | <metadataFormat metadataPrefix="oai_dc">
|
---|
221 | <!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format-->
|
---|
222 | </metadataFormat>
|
---|
223 | </ListMetadataFormats>
|
---|
224 | </serviceRack>
|
---|
225 | </serviceRackList>
|
---|
226 | </CollectionConfig>
|
---|