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 | <security scope="document" default_access="private" disabled="true">
|
---|
4 | <!-- a sample security configuration. enable it by removing the 'disabled'
|
---|
5 | attribute above -->
|
---|
6 | <!-- Document level security. All documents are private -->
|
---|
7 | <exception>
|
---|
8 | <!-- except if you are in demo group -->
|
---|
9 | <group name="demo"/>
|
---|
10 | </exception>
|
---|
11 | <exception>
|
---|
12 | <!-- except for the publicset list of documents which are fully public -->
|
---|
13 | <documentSet name="publicset"/>
|
---|
14 | <group name=""/>
|
---|
15 | </exception>
|
---|
16 | <documentSet name="publicset">
|
---|
17 | <match>b17mie</match>
|
---|
18 | <match>b18ase</match>
|
---|
19 | <match>b20cre</match>
|
---|
20 | <match>b21wae</match>
|
---|
21 | </documentSet>
|
---|
22 | </security>
|
---|
23 | <metadataList>
|
---|
24 | <metadata lang="en" name="creator">Greenstone Project</metadata>
|
---|
25 | <metadata lang="en" name="maintainer">Greenstone Project</metadata>
|
---|
26 | <metadata lang="en" name="public">true</metadata>
|
---|
27 | </metadataList>
|
---|
28 | <displayItemList>
|
---|
29 | <displayItem assigned="true" name="name" key="name" dictionary="collectionConfig"/>
|
---|
30 | <displayItem assigned="true" name="description" key="description" dictionary="collectionConfig"/>
|
---|
31 | <displayItem assigned="true" name="shortDescription" key="shortDescription" dictionary="collectionConfig"/>
|
---|
32 | </displayItemList>
|
---|
33 | <format>
|
---|
34 | <!-- Define any global format statements here -->
|
---|
35 |
|
---|
36 | <!-- Setting the RSS option to true here will display a link to the collection's RSS feed on all
|
---|
37 | pages of the collection. Can include the RSS feed link in section specific format statements
|
---|
38 | too, such as search, if wishing to display the link only in particular sections.-->
|
---|
39 | <gsf:option name="RSS" value="true"/>
|
---|
40 | </format>
|
---|
41 | <search type="lucene">
|
---|
42 | <level name="section">
|
---|
43 | <displayItem name="name" key="level.chapter"/>
|
---|
44 | </level>
|
---|
45 | <level name="document">
|
---|
46 | <displayItem name="name" key="level.book"/>
|
---|
47 | </level>
|
---|
48 | <defaultLevel name="section"/>
|
---|
49 | <index name="allfields"/>
|
---|
50 | <index name="text"/>
|
---|
51 | <index name="dc.Title,Title"/>
|
---|
52 | <index name="dc.Subject"/>
|
---|
53 | <index name="dls.Organization"/>
|
---|
54 | <sort name="rank"/>
|
---|
55 | <sort name="dls.Organization">
|
---|
56 | <displayItem name="name" key="Organisation.buttonname"/>
|
---|
57 | </sort>
|
---|
58 | <sort name="none"/>
|
---|
59 | <defaultSort name="rank"/>
|
---|
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:choose-metadata>
|
---|
72 | <gsf:metadata name="dc.Title"/>
|
---|
73 | <gsf:metadata name="Title"/>
|
---|
74 | <gsf:default>Untitled</gsf:default>
|
---|
75 | </gsf:choose-metadata>
|
---|
76 | </td>
|
---|
77 | </gsf:template>
|
---|
78 | </format>
|
---|
79 | </search>
|
---|
80 | <infodb type="jdbm"/>
|
---|
81 | <import>
|
---|
82 | <pluginList>
|
---|
83 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
84 | <plugin name="HTMLPlugin">
|
---|
85 | <option name="-description_tags"/>
|
---|
86 | </plugin>
|
---|
87 | <plugin name="MetadataXMLPlugin"/>
|
---|
88 | <plugin name="ArchivesInfPlugin"/>
|
---|
89 | <plugin name="DirectoryPlugin"/>
|
---|
90 | </pluginList>
|
---|
91 | </import>
|
---|
92 | <importOption name="OIDtype" value="dirname"/>
|
---|
93 | <buildOption name="sections_sort_on_document_metadata" value="unless_section_metadata_exists"/>
|
---|
94 | <browse>
|
---|
95 | <classifier name="List">
|
---|
96 | <option name="-metadata" value="dc.Title"/>
|
---|
97 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
98 | </classifier>
|
---|
99 | <classifier name="Hierarchy">
|
---|
100 | <option name="-metadata" value="dc.Subject"/>
|
---|
101 | <option name="-sort" value="dc.Title"/>
|
---|
102 | </classifier>
|
---|
103 | <classifier name="List">
|
---|
104 | <option name="-metadata" value="dls.Organization"/>
|
---|
105 | <option name="-sort_leaf_nodes_using" value="dc.Title"/>
|
---|
106 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
107 | <option name="-bookshelf_type" value="always"/>
|
---|
108 | <option name="-buttonname" value="Organization"/>
|
---|
109 | </classifier>
|
---|
110 | <classifier name="List">
|
---|
111 | <option name="-metadata" value="dls.Keyword"/>
|
---|
112 | <option name="-buttonname" value="Howto"/>
|
---|
113 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
114 | <format> <!-- format statement specific to this classifier -->
|
---|
115 | <gsf:template match="documentNode">
|
---|
116 | <td>
|
---|
117 | <gsf:link type="document">
|
---|
118 | <gsf:metadata name="dls.Keyword"/>
|
---|
119 | </gsf:link>
|
---|
120 | </td>
|
---|
121 | </gsf:template>
|
---|
122 | <gsf:template match="classifierNode">
|
---|
123 | <td>
|
---|
124 | <gsf:link type="classifier">
|
---|
125 | <gsf:metadata name="Title"/>
|
---|
126 | </gsf:link>
|
---|
127 | </td>
|
---|
128 | </gsf:template>
|
---|
129 | </format>
|
---|
130 | </classifier>
|
---|
131 | <format> <!-- general format statements for all classifiers that don't have their own versions -->
|
---|
132 | <gsf:template match="documentNode">
|
---|
133 | <td valign="top">
|
---|
134 | <gsf:link type="document">
|
---|
135 | <gsf:icon type="document"/>
|
---|
136 | </gsf:link>
|
---|
137 | </td>
|
---|
138 | <td valign="top">
|
---|
139 | <gsf:choose-metadata>
|
---|
140 | <gsf:metadata name="dc.Title"/>
|
---|
141 | <gsf:metadata name="Title"/>
|
---|
142 | <gsf:default>Untitled</gsf:default>
|
---|
143 | </gsf:choose-metadata>
|
---|
144 | </td>
|
---|
145 | </gsf:template>
|
---|
146 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
147 | <td valign="top">
|
---|
148 | <gsf:link type="classifier">
|
---|
149 | <gsf:icon type="classifier"/>
|
---|
150 | </gsf:link>
|
---|
151 | </td>
|
---|
152 | <td valign="top">
|
---|
153 | <gsf:metadata name="Title"/>
|
---|
154 | </td>
|
---|
155 | </gsf:template>
|
---|
156 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
157 | <gsf:link type="classifier">
|
---|
158 | <gsf:metadata name="Title"/>
|
---|
159 | </gsf:link>
|
---|
160 | </gsf:template>
|
---|
161 | </format>
|
---|
162 | </browse>
|
---|
163 | <display>
|
---|
164 | <format>
|
---|
165 | <gsf:option name="TOC" value="true"/>
|
---|
166 | <gsf:headMetaTags>
|
---|
167 | <gsf:metadata name="dc.Title"/>
|
---|
168 | <gsf:metadata name="dc.Subject"/>
|
---|
169 | <gsf:metadata name="dls.Organization"/>
|
---|
170 | </gsf:headMetaTags>
|
---|
171 | </format>
|
---|
172 | </display>
|
---|
173 | <replaceListRef id="gs2-standard"/>
|
---|
174 | <serviceRackList>
|
---|
175 | <serviceRack name="RSSRetrieve"/>
|
---|
176 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
177 | <serviceRack name="OAIPMH">
|
---|
178 | <setName>Lucene demo collection</setName>
|
---|
179 | <setDescription>A demo collection for greenstone, using Lucene and JDBM.</setDescription>
|
---|
180 | <!-- uncomment the following and set the name attribute if you want this
|
---|
181 | collection to be part of a super set. -->
|
---|
182 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
183 | <ListMetadataFormats>
|
---|
184 | <!--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:
|
---|
185 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
186 | <metadataFormat metadataPrefix="oai_dc">
|
---|
187 | <!-- a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set -->
|
---|
188 | <element name="dc:publisher">
|
---|
189 | <mapping elements="dls.Organization"/>
|
---|
190 | </element>
|
---|
191 | </metadataFormat>
|
---|
192 | </ListMetadataFormats>
|
---|
193 | </serviceRack>
|
---|
194 | </serviceRackList>
|
---|
195 | </CollectionConfig>
|
---|