source: main/trunk/model-cols/waikato-campus-view/etc/collectionConfig.xml@ 26888

Last change on this file since 26888 was 26888, checked in by davidb, 8 years ago

Panorama based collection of the University of Waikato campus

File size: 13.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="description">
10 &lt;h2&gt;DIY Streetview&lt;/h2&gt;
11
12
13
14
15
16 &lt;p&gt;
17 &lt;a href="http://www.panoramio.com/photo_explorer#view=photo&amp;position=90&amp;with_photo_id=14308025&amp;order=date_desc&amp;user=2048788"&gt;&lt;img src="http://mw2.google.com/mw-panoramio/photos/small/14308025.jpg"
18 style="float: right; margin:0 10px 0 0;"/&gt;&lt;/a&gt;
19
20
21 Welcome to the Univeristy of Waikato's virutal tour of campus
22 through 360-degree panoramas, built using exclusively
23 open-source software (aka DIY Streetview).
24
25da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
26da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
27da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
28da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
29da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas fda dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
30da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas fda dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
31da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
32
33
34 &lt;/p&gt;
35
36
37 &lt;p&gt;
38bbb b bbbbb bbb bbbb bbb bbb bb bbb
39da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
40da dfas fda fa df dasf das fdsa ffdasfdasjfhads fdasf dasf das fdas fads f dasf ads fdas f das fdsa fdasfdas fda sf dasf ads fdas fda sf dsa fdsa fdsa f adsfadsfadsfad as fads fdas f adsfdasfdasf adsf das fads f dasfdas fdas fdas f
41
42 &lt;/p&gt;
43
44 </displayItem>
45 <displayItem assigned="true" lang="en" name="name">Campus View</displayItem>
46 <displayItem assigned="true" lang="en" name="text">text</displayItem>
47 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
48 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
49 <displayItem assigned="true" lang="en" name="PhotoType">photo type</displayItem>
50 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
51 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
52 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
53 <displayItem assigned="true" lang="en" name="document">document</displayItem>
54 <displayItem assigned="true" lang="en" name="section">section</displayItem>
55 <displayItem assigned="true" lang="en" name="shortDescription">campusvi</displayItem>
56 <displayItem assigned="true" lang="en" name=".LatShort">LatShort</displayItem>
57 <displayItem assigned="true" lang="en" name=".LngShort">LngShort</displayItem>
58 <displayItem assigned="true" lang="en" name=".Latitude">Latitude</displayItem>
59 <displayItem assigned="true" lang="en" name=".Longitude">Longitude</displayItem>
60 </displayItemList>
61 <format>
62 <gsf:template name="choose-title">
63 <gsf:choose-metadata>
64 <gsf:metadata name="dc.Title"/>
65 <gsf:metadata name="exp.Title"/>
66 <gsf:metadata name="ex.dc.Title"/>
67 <gsf:metadata name="Title"/>
68 <gsf:default>Untitled</gsf:default>
69 </gsf:choose-metadata>
70 </gsf:template>
71 <gsf:option name="mapEnabledOpenLayers" value="false"/>
72<!--
73<xsl:template name="additionalHeaderContent">
74<script src="{$httpPath}/js/CampusView.js" type="text/javascript">
75<xsl:text>
76</xsl:text>
77</script>
78<script type="text/javascript">$(window).load(initCampusView);
79</script>
80</xsl:template>
81-->
82 </format>
83 <search type="lucene">
84 <level name="document">
85 <displayItem lang="en" name="name">document</displayItem>
86 </level>
87 <level name="section">
88 <displayItem lang="en" name="name">section</displayItem>
89 </level>
90 <defaultLevel name="document"/>
91 <index name="text">
92 <displayItem lang="en" name="name">text</displayItem>
93 </index>
94 <index name="dc.Title,ex.dc.Title,Title">
95 <displayItem lang="en" name="name">titles</displayItem>
96 </index>
97 <index name="cv.Landmark">
98 <displayItem lang="en" name="name">landmark</displayItem>
99 </index>
100<!--
101 <index name="Source">
102 <displayItem lang="en" name="name">filenames</displayItem>
103 </index>
104-->
105 <index name="PhotoType">
106 <displayItem lang="en" name="name">photo type</displayItem>
107 </index>
108
109 <index name="LatShort" display="false"/>
110 <index name="LngShort" display="false"/>
111 <index name="Latitude" display="false"/>
112 <index name="Longitude" display="false"/>
113
114 <defaultIndex name="text"/>
115
116 <indexOption name="casefold"/>
117 <indexOption name="stem"/>
118
119 <searchType name="plain"/>
120 <searchType name="simpleform"/>
121 <searchType name="advancedform"/>
122 <searchType name="raw"/>
123 <format>
124<!--
125SEARCH
126-->
127 <gsf:template match="documentNode">
128 <td valign="top">
129 <gsf:link type="document">
130 <gsf:icon type="document"/>
131 </gsf:link>
132 </td>
133 <td>
134 <gsf:link type="document">
135 <xsl:call-template name="choose-title"/>
136 </gsf:link>
137 </td>
138 </gsf:template>
139 </format>
140 </search>
141 <infodb type="jdbm"/>
142 <import>
143 <pluginList>
144 <plugin name="ZIPPlugin"/>
145 <plugin name="GreenstoneXMLPlugin"/>
146 <plugin name="PhotafMetadataJSONPlugin"/>
147<!-- <plugin name="EmbeddedMetadataPlugin"/> -->
148 <plugin name="TextPlugin"/>
149 <plugin name="HTMLPlugin"/>
150 <plugin name="EmailPlugin"/>
151 <plugin name="PDFPlugin"/>
152 <plugin name="RTFPlugin"/>
153 <plugin name="WordPlugin"/>
154 <plugin name="PostScriptPlugin"/>
155 <plugin name="PowerPointPlugin"/>
156 <plugin name="ExcelPlugin"/>
157<!--
158 <plugin name="ImagePlugin">
159 <option name="-process_exp" value="(?i)(.*markers.*\.jpg)$"/>
160 <option name="-converttotype" value="png"/>
161 <option name="-screenviewtype" value="png"/>
162 <option name="-thumbnailtype" value="png"/>
163 <option name="-enable_cache"/>
164 </plugin>
165-->
166 <plugin name="ImagePlugin">
167 <option name="-block_exp" value="(?i)(PhotafPic\d+\.jpg)|(\.nomedia)$"/>
168 <option name="-converttotype" value="png"/>
169 <option name="-screenviewtype" value="png"/>
170 <option name="-thumbnailtype" value="png"/>
171 <option name="-apply_aspectpad" value="true"/>
172 <option name="-aspectpad_ratio" value="2.0"/>
173 <option name="-aspectpad_mode" value="al"/>
174 <option name="-aspectpad_colour" value="transparent"/>
175 <option name="-enable_cache"/>
176 </plugin>
177
178 <plugin name="ISISPlugin"/>
179 <plugin name="NulPlugin"/>
180 <plugin name="OAIPlugin"/>
181 <plugin name="MetadataXMLPlugin"/>
182 <plugin name="ArchivesInfPlugin"/>
183 <plugin name="DirectoryPlugin"/>
184 </pluginList>
185 </import>
186 <browse>
187 <classifier name="List">
188 <option name="-metadata" value="dc.Title"/>
189 <option name="-partition_type_within_level" value="approximate_size"/>
190 </classifier>
191 <classifier name="List">
192 <option name="-metadata" value="Source"/>
193 <option name="-partition_type_within_level" value="approximate_size"/>
194 </classifier>
195 <classifier name="AZCompactList">
196 <option name="-metadata" value="PhotoType"/>
197 </classifier>
198 <classifier name="List">
199 <option name="-metadata" value="cv.Landmark"/>
200 <option name="-bookshelf_type" value="always"/>
201 <option name="-partition_type_within_level" value="none"/>
202 </classifier>
203 <format>
204<!--
205BROWSE
206-->
207 <gsf:option name="panoramaViewerEnabled" value="true"/>
208 <gsf:template match="documentNode">
209 <td valign="top">
210 <gsf:link type="document">
211 <gsf:icon type="document"/>
212 </gsf:link>
213 </td>
214<!--
215<td valign="top">
216<gsf:link type="source">
217<gsf:choose-metadata>
218<gsf:metadata name="thumbicon"/>
219<gsf:metadata name="srcicon"/>
220</gsf:choose-metadata>
221</gsf:link>
222</td>
223-->
224 <td style="padding: 5px" valign="top">
225<!--
226<gsf:link type="document">
227-->
228<!--
229Defined in the global format statement
230-->
231 <xsl:call-template name="choose-title"/>
232<!--
233<gsf:switch>
234<gsf:metadata name="Source"/>
235<gsf:when test="exists">
236<br/>
237<i>(
238<gsf:metadata name="Source"/>)
239</i>
240</gsf:when>
241</gsf:switch>
242-->
243<!--
244</gsf:link>
245-->
246 </td>
247 </gsf:template>
248 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
249 <td valign="top">
250 <gsf:link type="classifier">
251 <gsf:icon type="classifier"/>
252 </gsf:link>
253 </td>
254 <td valign="top">
255 <gsf:metadata name="Title"/>
256 </td>
257 </gsf:template>
258 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
259 <gsf:link type="classifier">
260 <gsf:metadata name="Title"/>
261 </gsf:link>
262 </gsf:template>
263 </format>
264 </browse>
265 <display>
266 <format>
267 <gsf:option name="TOC" value="false"/>
268<!--
269Overwriting this template allows you to change the heading of the document.
270-->
271<!--
272<gsf:template name="documentHeading">
273<span style="font-weight:bold; font-size: 120%;">
274<xsl:call-template name="choose-title"/>
275</span>
276</gsf:template>
277-->
278<!--
279Overwriting 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.
280-->
281 <gsf:template name="documentContent">
282 <gsf:image type="screen"/>
283<!--
284<xsl:call-template name="wrappedSectionImage"/>
285<xsl:call-template name="wrappedSectionText"/>
286-->
287 </gsf:template>
288<!--
289Overwriting this template can be used to change the content of section headings.
290-->
291<!--
292<gsf:template name="sectionHeading">
293<xsl:call-template name="choose-title"/>
294</gsf:template>
295-->
296<!--
297Overwriting this template can be used to change the content of the top-level section.
298-->
299<!--
300<gsf:template name="topLevelSectionContent">
301<xsl:call-template name="wrappedSectionImage"/>
302<xsl:call-template name="wrappedSectionText"/>
303</gsf:template>
304-->
305<!--
306Overwriting this template can be used to change the content of sections.
307-->
308<!--
309<gsf:template name="sectionContent">
310<xsl:call-template name="wrappedSectionImage"/>
311<xsl:call-template name="wrappedSectionText"/>
312</gsf:template>
313-->
314 </format>
315 </display>
316 <replaceListRef id="gs2-standard"/>
317 <replaceListRef id="gs2-image"/>
318 <serviceRackList><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
319 <serviceRack name="OAIPMH">
320 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
321 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
322 -->
323 <metadataFormat metadataPrefix="oai_dc">
324 <metadataPrefix>oai_dc</metadataPrefix>
325 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
326 <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>-->
327 <mappingList><!--
328 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
329 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
330 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
331 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
332 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
333
334 **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.
335
336 **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.
337 -->
338 <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. -->
339 </mappingList>
340 </metadataFormat>
341 </ListMetadataFormats>
342 </serviceRack>
343 </serviceRackList>
344</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.