source: other-projects/nightly-tasks/diffcol/trunk/gs3-model-collect/Tudor-Formatted/etc/collectionConfig.xml@ 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: 10.2 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-Formatted</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 <br/>
84 <gsf:metadata name="dc.Subject"/>
85 </td>
86 </gsf:template>
87 </format>
88 </search>
89 <infodb type="gdbm"/>
90 <import>
91 <pluginList>
92 <plugin name="ZIPPlugin"/>
93 <plugin name="GreenstoneXMLPlugin"/>
94 <plugin name="TextPlugin"/>
95 <plugin name="HTMLPlugin">
96 <option name="-metadata_fields" value="Title,Author,Page_topic,Content "/>
97 </plugin>
98 <plugin name="EmailPlugin"/>
99 <plugin name="PDFPlugin"/>
100 <plugin name="RTFPlugin"/>
101 <plugin name="WordPlugin"/>
102 <plugin name="PostScriptPlugin"/>
103 <plugin name="PowerPointPlugin"/>
104 <plugin name="ExcelPlugin"/>
105 <plugin name="ImagePlugin"/>
106 <plugin name="ISISPlugin"/>
107 <plugin name="NulPlugin"/>
108 <plugin name="OAIPlugin"/>
109 <plugin name="MetadataXMLPlugin"/>
110 <plugin name="ArchivesInfPlugin">
111 <option name="-sort"/>
112 </plugin>
113 <plugin name="DirectoryPlugin"/>
114 </pluginList>
115 </import>
116 <browse>
117 <classifier name="List">
118 <option name="-metadata" value="dc.Title;Title"/>
119 <option name="-partition_type_within_level" value="approximate_size"/>
120 </classifier>
121 <classifier name="Hierarchy">
122 <option name="-metadata" value="dc.Subject"/>
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 <b>Title:</b>
132 <gsf:metadata name="Title"/>
133 </td>
134 </gsf:template>
135 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
136 <td valign="top">
137 <gsf:link type="classifier">
138 <gsf:icon type="classifier"/>
139 </gsf:link>
140 </td>
141 <td valign="top">
142 <b>Bookshelf title:</b>
143 <gsf:metadata name="Title"/>
144 </td>
145 </gsf:template>
146 </format>
147 </classifier>
148 <classifier name="Phind"/>
149 <format>
150 <gsf:template match="documentNode">
151 <td valign="top">
152 <gsf:link type="document">
153 <gsf:icon type="document"/>
154 </gsf:link>
155 </td>
156 <td valign="top">
157 <gsf:link type="document">
158 <gsf:metadata name="Title"/>
159 <br/>
160 <i>(<gsf:metadata name="Source"/>)</i>
161 </gsf:link>
162 </td>
163 </gsf:template>
164 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
165 <td valign="top">
166 <gsf:link type="classifier">
167 <gsf:icon type="classifier"/>
168 </gsf:link>
169 </td>
170 <td valign="top">
171 <gsf:metadata name="Title"/>
172 <br/>
173 <i>(<gsf:metadata name="Source"/>)</i>
174 </td>
175 </gsf:template>
176 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
177 <gsf:link type="classifier">
178 <gsf:metadata name="Title"/>
179 </gsf:link>
180 </gsf:template>
181 </format>
182 </browse>
183 <display>
184 <format>
185 <gsf:option name="TOC" value="true"/>
186<!--
187Overwriting this template allows you to change the heading of the document.
188-->
189<!--
190<gsf:template name="documentHeading">
191 <span style="font-weight:bold; font-size: 120%;">
192 <xsl:call-template name="choose-title"/>
193 </span>
194 </gsf:template>
195-->
196<!--
197Overwriting this template can be used to redefine the content of the whole document.
198 This is useful for simple documents, but not recommended for more complex documents
199 (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
200-->
201<!--
202<gsf:template name="documentContent">
203 <xsl:call-template name="wrappedSectionImage"/>
204 <xsl:call-template name="wrappedSectionText"/>
205 </gsf:template>
206-->
207<!--
208Overwriting this template can be used to change the content of section headings.
209-->
210<!--
211<gsf:template name="sectionHeading">
212 <xsl:call-template name="choose-title"/>
213 </gsf:template>
214-->
215<!--
216Overwriting this template can be used to change the content of the top-level section.
217-->
218<!--
219<gsf:template name="topLevelSectionContent">
220 <xsl:call-template name="wrappedSectionImage"/>
221 <xsl:call-template name="wrappedSectionText"/>
222 </gsf:template>
223-->
224<!--
225Overwriting this template can be used to change the content of sections.
226-->
227<!--
228<gsf:template name="sectionContent">
229 <xsl:call-template name="wrappedSectionImage"/>
230 <xsl:call-template name="wrappedSectionText"/>
231 </gsf:template>
232-->
233 </format>
234 </display>
235 <replaceListRef id="gs2-standard"/>
236 <replaceListRef id="gs2-image"/>
237 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
238 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
239 <serviceRack name="OAIPMH">
240 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
241 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
242 -->
243 <metadataFormat metadataPrefix="oai_dc">
244 <metadataPrefix>oai_dc</metadataPrefix>
245 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
246 <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>-->
247 <mappingList><!--
248 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
249 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
250 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
251 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
252 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
253
254 **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.
255
256 **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.
257 -->
258 <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. -->
259 </mappingList>
260 </metadataFormat>
261 </ListMetadataFormats>
262 </serviceRack>
263 </serviceRackList>
264 <importOption name="OIDtype" value="hash_on_full_filename"/>
265 <importOption name="sortmeta" value="OID"/>
266</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.