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