source: other-projects/nightly-tasks/diffcol/trunk/gs3-model-collect/Images-GPS/etc/collectionConfig.xml@ 36658

Last change on this file since 36658 was 36658, checked in by anupama, 19 months ago

Related to commit -r36657, committing the collectionConfig.xml files specifying sort to classifiers for GS3 model collections. Still in testing stage. If it works, some more related collections will get sort specified for affected classifiers.

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