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">
|
---|
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">Demo Lucene</displayItem>
|
---|
10 | <displayItem assigned="true" lang="en" name="allfields">all fields</displayItem>
|
---|
11 | <displayItem assigned="true" lang="en" name="text">text</displayItem>
|
---|
12 | <displayItem assigned="true" lang="en" name="dc.Title,Title">titles</displayItem>
|
---|
13 | <displayItem assigned="true" lang="en" name="dc.Subject">subjects</displayItem>
|
---|
14 | <displayItem assigned="true" lang="en" name="dls.Organization">organisations</displayItem>
|
---|
15 | <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
|
---|
16 | <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
|
---|
17 | <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
|
---|
18 | <displayItem assigned="true" lang="en" name="section">chapter</displayItem>
|
---|
19 | <displayItem assigned="true" lang="en" name="document">book</displayItem>
|
---|
20 | <displayItem assigned="true" lang="en" name="shortDescription">
|
---|
21 | Demonstration collection containing a few books from the Humanitarian and Development
|
---|
22 | Libraries. Uses Lucene and JDBM.
|
---|
23 | </displayItem>
|
---|
24 | </displayItemList>
|
---|
25 | <format>
|
---|
26 | <!--
|
---|
27 | Define any global format statements here
|
---|
28 | -->
|
---|
29 | <!--
|
---|
30 | Setting the RSS option to true here will display a link to the collection's RSS feed on all
|
---|
31 | pages of the collection. Can include the RSS feed link in section specific format statements
|
---|
32 | too, such as search, if wishing to display the link only in particular sections.
|
---|
33 | -->
|
---|
34 | <gsf:option name="RSS" value="true"/>
|
---|
35 | </format>
|
---|
36 | <search type="lucene">
|
---|
37 | <level name="section">
|
---|
38 | <displayItem lang="en" name="name">chapter</displayItem>
|
---|
39 | </level>
|
---|
40 | <level name="document">
|
---|
41 | <displayItem lang="en" name="name">book</displayItem>
|
---|
42 | </level>
|
---|
43 | <defaultLevel name="section"/>
|
---|
44 | <index name="allfields">
|
---|
45 | <displayItem lang="en" name="name">all fields</displayItem>
|
---|
46 | </index>
|
---|
47 | <index name="text">
|
---|
48 | <displayItem lang="en" name="name">text</displayItem>
|
---|
49 | </index>
|
---|
50 | <index name="dc.Title,Title">
|
---|
51 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
52 | </index>
|
---|
53 | <index name="dc.Subject">
|
---|
54 | <displayItem lang="en" name="name">subjects</displayItem>
|
---|
55 | </index>
|
---|
56 | <index name="dls.Organization">
|
---|
57 | <displayItem lang="en" name="name">organisations</displayItem>
|
---|
58 | </index>
|
---|
59 | <indexOption name=""/>
|
---|
60 | <searchType name="plain"/>
|
---|
61 | <searchType name="simpleform"/>
|
---|
62 | <searchType name="advancedform"/>
|
---|
63 | <format>
|
---|
64 | <gsf:template match="documentNode">
|
---|
65 | <td valign="top">
|
---|
66 | <gsf:link type="document">
|
---|
67 | <gsf:icon type="document"/>
|
---|
68 | </gsf:link>
|
---|
69 | </td>
|
---|
70 | <td>
|
---|
71 | <gsf:link type="document">
|
---|
72 | <gsf:choose-metadata>
|
---|
73 | <gsf:metadata name="dc.Title"/>
|
---|
74 | <gsf:metadata name="exp.Title"/>
|
---|
75 | <gsf:metadata name="ex.dc.Title"/>
|
---|
76 | <gsf:metadata name="Title"/>
|
---|
77 | <gsf:default>Untitled</gsf:default>
|
---|
78 | </gsf:choose-metadata>
|
---|
79 | </gsf:link>
|
---|
80 | </td>
|
---|
81 | </gsf:template>
|
---|
82 | </format>
|
---|
83 | </search>
|
---|
84 | <infodb type="jdbm"/>
|
---|
85 | <import>
|
---|
86 | <pluginList>
|
---|
87 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
88 | <plugin name="HTMLPlugin">
|
---|
89 | <option name="-description_tags"/>
|
---|
90 | </plugin>
|
---|
91 | <plugin name="ImagePlugin"/>
|
---|
92 | <plugin name="MetadataXMLPlugin"/>
|
---|
93 | <plugin name="ArchivesInfPlugin">
|
---|
94 | <option name="-sort"/>
|
---|
95 | </plugin>
|
---|
96 | <plugin name="DirectoryPlugin"/>
|
---|
97 | </pluginList>
|
---|
98 | </import>
|
---|
99 | <browse>
|
---|
100 | <classifier name="List">
|
---|
101 | <option name="-metadata" value="dc.Title"/>
|
---|
102 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
103 | </classifier>
|
---|
104 | <classifier name="Hierarchy">
|
---|
105 | <option name="-metadata" value="dc.Subject"/>
|
---|
106 | <option name="-sort" value="dc.Title"/>
|
---|
107 | </classifier>
|
---|
108 | <classifier name="List">
|
---|
109 | <option name="-metadata" value="dls.Organization"/>
|
---|
110 | <option name="-sort_leaf_nodes_using" value="dc.Title"/>
|
---|
111 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
112 | <option name="-bookshelf_type" value="always"/>
|
---|
113 | <option name="-buttonname" value="Organization"/>
|
---|
114 | </classifier>
|
---|
115 | <classifier name="List">
|
---|
116 | <option name="-metadata" value="dls.Keyword"/>
|
---|
117 | <option name="-buttonname" value="Howto"/>
|
---|
118 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
119 | <format>
|
---|
120 | <gsf:template match="documentNode">
|
---|
121 | <td>
|
---|
122 | <gsf:link type="document">
|
---|
123 | <gsf:metadata name="dls.Keyword"/>
|
---|
124 | </gsf:link>
|
---|
125 | </td>
|
---|
126 | </gsf:template>
|
---|
127 | <gsf:template match="classifierNode">
|
---|
128 | <td>
|
---|
129 | <gsf:link type="classifier">
|
---|
130 | <gsf:metadata name="Title"/>
|
---|
131 | </gsf:link>
|
---|
132 | </td>
|
---|
133 | </gsf:template>
|
---|
134 | </format>
|
---|
135 | </classifier>
|
---|
136 | <format>
|
---|
137 | <gsf:template match="documentNode">
|
---|
138 | <td valign="top">
|
---|
139 | <gsf:link type="document">
|
---|
140 | <gsf:icon type="document"/>
|
---|
141 | </gsf:link>
|
---|
142 | </td>
|
---|
143 | <td valign="top">
|
---|
144 | <gsf:link type="source">
|
---|
145 | <gsf:choose-metadata>
|
---|
146 | <gsf:metadata name="thumbicon"/>
|
---|
147 | <gsf:metadata name="srcicon"/>
|
---|
148 | </gsf:choose-metadata>
|
---|
149 | </gsf:link>
|
---|
150 | </td>
|
---|
151 | <td valign="top">
|
---|
152 | <gsf:link type="document">
|
---|
153 | <gsf:choose-metadata>
|
---|
154 | <gsf:metadata name="dc.Title"/>
|
---|
155 | <gsf:metadata name="exp.Title"/>
|
---|
156 | <gsf:metadata name="ex.dc.Title"/>
|
---|
157 | <gsf:metadata name="Title"/>
|
---|
158 | <gsf:default>Untitled</gsf:default>
|
---|
159 | </gsf:choose-metadata>
|
---|
160 | </gsf:link>
|
---|
161 | <gsf:switch>
|
---|
162 | <gsf:metadata name="Source"/>
|
---|
163 | <gsf:when test="exists">
|
---|
164 | <br/>
|
---|
165 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
166 | </gsf:when>
|
---|
167 | </gsf:switch>
|
---|
168 | </td>
|
---|
169 | </gsf:template>
|
---|
170 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
171 | <td valign="top">
|
---|
172 | <gsf:link type="classifier">
|
---|
173 | <gsf:icon type="classifier"/>
|
---|
174 | </gsf:link>
|
---|
175 | </td>
|
---|
176 | <td valign="top">
|
---|
177 | <gsf:choose-metadata>
|
---|
178 | <gsf:metadata name="dc.Title"/>
|
---|
179 | <gsf:metadata name="exp.Title"/>
|
---|
180 | <gsf:metadata name="ex.dc.Title"/>
|
---|
181 | <gsf:metadata name="Title"/>
|
---|
182 | <gsf:default>Untitled</gsf:default>
|
---|
183 | </gsf:choose-metadata>
|
---|
184 | <gsf:switch>
|
---|
185 | <gsf:metadata name="Source"/>
|
---|
186 | <gsf:when test="exists">
|
---|
187 | <br/>
|
---|
188 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
189 | </gsf:when>
|
---|
190 | </gsf:switch>
|
---|
191 | </td>
|
---|
192 | </gsf:template>
|
---|
193 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
194 | <gsf:link type="classifier">
|
---|
195 | <gsf:metadata name="Title"/>
|
---|
196 | </gsf:link>
|
---|
197 | </gsf:template>
|
---|
198 | </format>
|
---|
199 | </browse>
|
---|
200 | <display>
|
---|
201 | <format>
|
---|
202 | <gsf:option name="TOC" value="true"/>
|
---|
203 | <gsf:headMetaTags>
|
---|
204 | <gsf:metadata name="dc.Title"/>
|
---|
205 | <gsf:metadata name="dc.Subject"/>
|
---|
206 | <gsf:metadata name="dls.Organization"/>
|
---|
207 | </gsf:headMetaTags>
|
---|
208 | </format>
|
---|
209 | </display>
|
---|
210 | <replaceListRef id="gs2-standard"/>
|
---|
211 | <serviceRackList>
|
---|
212 | <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
213 | <serviceRack name="OAIPMH">
|
---|
214 | <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
215 | The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
|
---|
216 | -->
|
---|
217 | <metadataFormat metadataPrefix="oai_dc">
|
---|
218 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
219 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
220 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace><!-- a custom mapping as this collection doesn't have dc metadata -->
|
---|
221 | <mappingList>
|
---|
222 | <mapping>dc:title,dc.Title</mapping>
|
---|
223 | <mapping>dc:subject,dc.Subject</mapping>
|
---|
224 | <mapping>dc:language,dc.Language</mapping>
|
---|
225 | <mapping>dc:publisher,dls.Organization</mapping>
|
---|
226 | </mappingList>
|
---|
227 | </metadataFormat>
|
---|
228 | </ListMetadataFormats>
|
---|
229 | </serviceRack>
|
---|
230 | </serviceRackList>
|
---|
231 | <importOption name="OIDtype" value="hash_on_full_filename"/>
|
---|
232 | <importOption name="sortmeta" value="OID"/>
|
---|
233 | </CollectionConfig>
|
---|