source: other-projects/tipple-android/i-greenstone-server-files/greenstone/webapps/greenstone3/sites/localsite/collect/tipple-universe-OLD/etc/collectionConfig.xml@ 26899

Last change on this file since 26899 was 26899, checked in by davidb, 11 years ago

Tipple reborn after Chris's Summer of Code 2013

  • Property svn:mime-type set to application/xml
File size: 8.8 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="description">The Tipple Universe! Everything you wanted to know, everywhere!!
10</displayItem>
11 <displayItem assigned="true" lang="en" name="name">tipple-universe</displayItem>
12 <displayItem assigned="true" lang="en" name="text">text</displayItem>
13 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
14 <displayItem assigned="true" lang="en" name="Source">filenames</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="document">document</displayItem>
19 <displayItem assigned="true" lang="en" name="section">section</displayItem>
20 <displayItem assigned="true" lang="en" name="shortDescription">tippleun</displayItem>
21 </displayItemList>
22 <format>
23 <gsf:template name="choose-title">
24 <gsf:choose-metadata>
25 <gsf:metadata name="dc.Title"/>
26 <gsf:metadata name="exp.Title"/>
27 <gsf:metadata name="ex.dc.Title"/>
28 <gsf:metadata name="Title"/>
29 <gsf:default>Untitled</gsf:default>
30 </gsf:choose-metadata>
31 </gsf:template>
32 </format>
33 <search type="lucene">
34 <level name="document">
35 <displayItem lang="en" name="name">document</displayItem>
36 </level>
37 <level name="section">
38 <displayItem lang="en" name="name">section</displayItem>
39 </level>
40 <defaultLevel name="document"/>
41 <index name="text">
42 <displayItem lang="en" name="name">text</displayItem>
43 </index>
44 <index name="dc.Title,ex.dc.Title,Title">
45 <displayItem lang="en" name="name">titles</displayItem>
46 </index>
47 <index name="Source">
48 <displayItem lang="en" name="name">filenames</displayItem>
49 </index>
50 <index name="LatShort"/>
51 <index name="LngShort"/>
52 <index name="Latitude"/>
53 <index name="Longitude"/>
54 <defaultIndex name="text"/>
55 <indexOption name="casefold"/>
56 <indexOption name="stem"/>
57 <searchType name="plain"/>
58 <searchType name="simpleform"/>
59 <searchType name="advancedform"/>
60 <searchType name="raw"/>
61 <format>
62 <gsf:option name="mapEnabled" value="true"/>
63 <gsf:template match="documentNode">
64 <td valign="top">
65 <gsf:link type="document">
66 <gsf:icon type="document"/>
67 </gsf:link>
68 </td>
69 <td>
70 <gsf:link type="document">
71 <xsl:call-template name="choose-title"/>
72 </gsf:link>
73 </td>
74 </gsf:template>
75 </format>
76 </search>
77 <infodb type="jdbm"/>
78 <import>
79 <pluginList>
80 <plugin name="ZIPPlugin"/>
81 <plugin name="GreenstoneXMLPlugin"/>
82 <plugin name="TextPlugin"/>
83 <plugin name="HTMLPlugin"/>
84 <plugin name="EmailPlugin"/>
85 <plugin name="PDFPlugin"/>
86 <plugin name="RTFPlugin"/>
87 <plugin name="WordPlugin"/>
88 <plugin name="PostScriptPlugin"/>
89 <plugin name="PowerPointPlugin"/>
90 <plugin name="ExcelPlugin"/>
91 <plugin name="ImagePlugin"/>
92 <plugin name="ISISPlugin"/>
93 <plugin name="NulPlugin"/>
94 <plugin name="OAIPlugin"/>
95 <plugin name="MetadataXMLPlugin"/>
96 <plugin name="ArchivesInfPlugin"/>
97 <plugin name="DirectoryPlugin"/>
98 </pluginList>
99 </import>
100 <browse>
101 <classifier name="List">
102 <option name="-metadata" value="dc.Title;Title"/>
103 <option name="-partition_type_within_level" value="approximate_size"/>
104 </classifier>
105 <classifier name="List">
106 <option name="-metadata" value="Source"/>
107 <option name="-partition_type_within_level" value="approximate_size"/>
108 </classifier>
109 <format>
110 <gsf:option name="mapEnabled" value="true"/>
111 <gsf:template match="documentNode">
112 <td valign="top">
113 <gsf:link type="document">
114 <gsf:icon type="document"/>
115 </gsf:link>
116 </td>
117 <td valign="top">
118 <gsf:link type="source">
119 <gsf:choose-metadata>
120 <gsf:metadata name="thumbicon"/>
121 <gsf:metadata name="srcicon"/>
122 </gsf:choose-metadata>
123 </gsf:link>
124 </td>
125 <td valign="top">
126 <gsf:link type="document">
127<!--
128Defined in the global format statement
129-->
130 <xsl:call-template name="choose-title"/>
131 <gsf:switch>
132 <gsf:metadata name="Source"/>
133 <gsf:when test="exists">
134 <br/>
135 <i>(<gsf:metadata name="Source"/>)</i>
136 </gsf:when>
137 </gsf:switch>
138 </gsf:link>
139 </td>
140 </gsf:template>
141 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
142 <td valign="top">
143 <gsf:link type="classifier">
144 <gsf:icon type="classifier"/>
145 </gsf:link>
146 </td>
147 <td valign="top">
148 <gsf:metadata name="Title"/>
149 </td>
150 </gsf:template>
151 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
152 <gsf:link type="classifier">
153 <gsf:metadata name="Title"/>
154 </gsf:link>
155 </gsf:template>
156 </format>
157 </browse>
158 <display>
159 <format>
160 <gsf:option name="TOC" value="false"/>
161 <gsf:option name="mapEnabled" value="true"/>
162<!--
163Overwriting this template allows you to change the heading of the document.
164-->
165<!--
166<gsf:template name="documentHeading">
167<span style="font-weight:bold; font-size: 120%;">
168<xsl:call-template name="choose-title"/>
169</span>
170</gsf:template>
171-->
172<!--
173Overwriting this template can be used to redefine the content of the whole document. This is useful for simple documents, but not recommended for more complex documents (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
174-->
175<!--
176<gsf:template name="documentContent">
177<xsl:call-template name="wrappedSectionImage"/>
178<xsl:call-template name="wrappedSectionText"/>
179</gsf:template>
180-->
181<!--
182Overwriting this template can be used to change the content of section headings.
183-->
184<!--
185<gsf:template name="sectionHeading">
186<xsl:call-template name="choose-title"/>
187</gsf:template>
188-->
189<!--
190Overwriting this template can be used to change the content of the top-level section.
191-->
192<!--
193<gsf:template name="topLevelSectionContent">
194<xsl:call-template name="wrappedSectionImage"/>
195<xsl:call-template name="wrappedSectionText"/>
196</gsf:template>
197-->
198<!--
199Overwriting this template can be used to change the content of sections.
200-->
201<!--
202<gsf:template name="sectionContent">
203<xsl:call-template name="wrappedSectionImage"/>
204<xsl:call-template name="wrappedSectionText"/>
205</gsf:template>
206-->
207 </format>
208 </display>
209 <replaceListRef id="gs2-standard"/>
210 <replaceListRef id="gs2-image"/>
211 <serviceRackList><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
212 <serviceRack name="OAIPMH">
213 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
214 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
215 -->
216 <metadataFormat metadataPrefix="oai_dc">
217 <metadataPrefix>oai_dc</metadataPrefix>
218 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
219 <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>-->
220 <mappingList><!--
221 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
222 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
223 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
224 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
225 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
226
227 **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.
228
229 **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.
230 -->
231 <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. -->
232 </mappingList>
233 </metadataFormat>
234 </ListMetadataFormats>
235 </serviceRack>
236 </serviceRackList>
237</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.