source: other-projects/nightly-tasks/diffcol/trunk/gs3-model-collect/Tudor-Enhanced2/etc/collectionConfig.bak@ 29229

Last change on this file since 29229 was 29229, checked in by ak19, 10 years ago

3 more GS3 model-collections, two of which are intermediate stages of tutorials

File size: 9.9 KB
Line 
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">Tudor-Enhanced</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="citizens,monarchs,others,relatives">all</displayItem>
19 <displayItem assigned="true" lang="en" name="shortDescription">tudorbas</displayItem>
20 <displayItem assigned="true" lang="en" name=".citizens">citizens</displayItem>
21 <displayItem assigned="true" lang="en" name=".monarchs">monarchs</displayItem>
22 <displayItem assigned="true" lang="en" name=".relatives">relatives</displayItem>
23 <displayItem assigned="true" lang="en" name=".others">others</displayItem>
24 <displayItem assigned="true" lang="en" name=".citizens,monarchs,others,relatives">citizens,monarchs,others,relatives</displayItem>
25 </displayItemList>
26 <format>
27 <gsf:template name="choose-title">
28 <gsf:choose-metadata>
29 <gsf:metadata name="dc.Title"/>
30 <gsf:metadata name="exp.Title"/>
31 <gsf:metadata name="ex.dc.Title"/>
32 <gsf:metadata name="Title"/>
33 <gsf:default>Untitled</gsf:default>
34 </gsf:choose-metadata>
35 </gsf:template>
36 </format>
37 <search type="mgpp">
38 <level name="document">
39 <displayItem lang="en" name="name">document</displayItem>
40 </level>
41 <level name="section">
42 <displayItem lang="en" name="name">section</displayItem>
43 </level>
44 <defaultLevel name="document"/>
45 <index name="text">
46 <displayItem lang="en" name="name">text</displayItem>
47 </index>
48 <index name="dc.Title,ex.dc.Title,Title">
49 <displayItem lang="en" name="name">titles</displayItem>
50 </index>
51 <index name="Source">
52 <displayItem lang="en" name="name">filenames</displayItem>
53 </index>
54 <defaultIndex name="text"/>
55 <indexOption name="accentfold"/>
56 <indexOption name="casefold"/>
57 <indexOption name="stem"/>
58 <indexSubcollection name="citizens,monarchs,others,relatives">
59 <displayItem lang="en" name="name">all</displayItem>
60 </indexSubcollection>
61 <indexSubcollection name="monarchs"/>
62 <indexSubcollection name="relatives"/>
63 <indexSubcollection name="citizens"/>
64 <indexSubcollection name="others"/>
65 <subcollection filter="dc.Subject/Monarchs" name="monarchs"/>
66 <subcollection filter="dc.Subject/Relatives" name="relatives"/>
67 <subcollection filter="dc.Subject/Citizens" name="citizens"/>
68 <subcollection filter="dc.Subject/Others" name="others"/>
69 <searchType name="plain"/>
70 <searchType name="simpleform"/>
71 <searchType name="advancedform"/>
72 <format>
73 <gsf:template match="documentNode">
74 <td valign="top">
75 <gsf:link type="document">
76 <gsf:icon type="document"/>
77 </gsf:link>
78 </td>
79 <td>
80 <gsf:link type="document">
81 <xsl:call-template name="choose-title"/>
82 </gsf:link>
83 </td>
84 </gsf:template>
85 </format>
86 </search>
87 <infodb type="gdbm"/>
88 <import>
89 <pluginList>
90 <plugin name="ZIPPlugin"/>
91 <plugin name="GreenstoneXMLPlugin"/>
92 <plugin name="TextPlugin"/>
93 <plugin name="HTMLPlugin">
94 <option name="-metadata_fields" value="Title,Author,Page_topic,Content "/>
95 </plugin>
96 <plugin name="EmailPlugin"/>
97 <plugin name="PDFPlugin"/>
98 <plugin name="RTFPlugin"/>
99 <plugin name="WordPlugin"/>
100 <plugin name="PostScriptPlugin"/>
101 <plugin name="PowerPointPlugin"/>
102 <plugin name="ExcelPlugin"/>
103 <plugin name="ImagePlugin"/>
104 <plugin name="ISISPlugin"/>
105 <plugin name="NulPlugin"/>
106 <plugin name="OAIPlugin"/>
107 <plugin name="MetadataXMLPlugin"/>
108 <plugin name="ArchivesInfPlugin">
109 <option name="-sort"/>
110 </plugin>
111 <plugin name="DirectoryPlugin"/>
112 </pluginList>
113 </import>
114 <browse>
115 <classifier name="List">
116 <option name="-metadata" value="dc.Title;Title"/>
117 <option name="-partition_type_within_level" value="approximate_size"/>
118 </classifier>
119 <classifier name="Hierarchy">
120 <option name="-metadata" value="dc.Subject"/>
121 </classifier>
122 <classifier name="Phind"/>
123 <format>
124 <gsf:template match="documentNode">
125 <td valign="top">
126 <gsf:link type="document">
127 <gsf:icon type="document"/>
128 </gsf:link>
129 </td>
130 <td valign="top">
131 <gsf:link type="source">
132 <gsf:choose-metadata>
133 <gsf:metadata name="thumbicon"/>
134 <gsf:metadata name="srcicon"/>
135 </gsf:choose-metadata>
136 </gsf:link>
137 </td>
138 <td valign="top">
139 <gsf:link type="document">
140<!--
141Defined in the global format statement
142-->
143 <xsl:call-template name="choose-title"/>
144 <gsf:switch>
145 <gsf:metadata name="Source"/>
146 <gsf:when test="exists">
147 <br/>
148 <i>(<gsf:metadata name="Source"/>)</i>
149 </gsf:when>
150 </gsf:switch>
151 </gsf:link>
152 </td>
153 </gsf:template>
154 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
155 <td valign="top">
156 <gsf:link type="classifier">
157 <gsf:icon type="classifier"/>
158 </gsf:link>
159 </td>
160 <td valign="top">
161 <gsf:metadata name="Title"/>
162 </td>
163 </gsf:template>
164 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
165 <gsf:link type="classifier">
166 <gsf:metadata name="Title"/>
167 </gsf:link>
168 </gsf:template>
169 </format>
170 </browse>
171 <display>
172 <format>
173 <gsf:option name="TOC" value="true"/>
174<!--
175Overwriting 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<!--
185Overwriting 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<!--
196Overwriting 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<!--
204Overwriting 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<!--
213Overwriting 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 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
229 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
230 -->
231 <metadataFormat metadataPrefix="oai_dc">
232 <metadataPrefix>oai_dc</metadataPrefix>
233 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
234 <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace><!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>-->
235 <mappingList><!--
236 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
237 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
238 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
239 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
240 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
241
242 **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
243
244 **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
245 -->
246 <mapping>dc:title,Title</mapping><!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
247 </mappingList>
248 </metadataFormat>
249 </ListMetadataFormats>
250 </serviceRack>
251 </serviceRackList>
252 <importOption name="OIDtype" value="hash_on_full_filename"/>
253 <importOption name="sortmeta" value="OID"/>
254</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.