source: main/trunk/model-sites-dev/atea/collect/voxel-vr/etc/collectionConfig.xml@ 34473

Last change on this file since 34473 was 34473, checked in by davidb, 4 years ago

Initial cut at files for Voxel-VR executables

  • Property svn:executable set to *
File size: 8.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:gslib="http://www.greenstone.org/skinning" 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">Voxel VR</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="shortDescription">Voxel VR</displayItem>
19 <displayItem assigned="true" lang="en" name="description">A selection of Voxel VR recordings.</displayItem>
20 </displayItemList>
21 <format>
22 <gsf:template name="choose-title">
23 <gsf:choose-metadata>
24 <gsf:metadata name="dc.Title"/>
25 <gsf:metadata name="exp.Title"/>
26 <gsf:metadata name="ex.dc.Title"/>
27 <gsf:metadata name="Title"/>
28 <gsf:default>Untitled</gsf:default>
29 </gsf:choose-metadata>
30 </gsf:template>
31 </format>
32 <search type="lucene">
33 <level name="document">
34 <displayItem lang="en" name="name">document</displayItem>
35 </level>
36 <level name="section">
37 <displayItem lang="en" name="name">section</displayItem>
38 </level>
39 <defaultLevel name="document"/>
40 <index name="dc.Title,ex.dc.Title,Title">
41 <displayItem lang="en" name="name">titles</displayItem>
42 </index>
43 <defaultIndex name="dc.Title,ex.dc.Title,Title"/>
44 <sort name="rank">
45 <displayItem lang="en" name="name">rank</displayItem>
46 </sort>
47 <sort name="none">
48 <displayItem lang="en" name="name">natural (build) order</displayItem>
49 </sort>
50 <searchType name="plain"/>
51 <searchType name="simpleform"/>
52 <searchType name="advancedform"/>
53 <format> <gsf:template match="documentNode">
54 <td valign="top">
55 <gsf:link type="source">
56 <gsf:metadata name="document"/>
57 </gsf:link>
58 </td>
59 <td>
60 <gsf:link type="document">
61 <xsl:call-template name="choose-title"/>
62 </gsf:link>
63 </td>
64 </gsf:template>
65
66</format>
67 </search>
68 <infodb type="jdbm"/>
69 <import>
70 <pluginList>
71 <plugin name="ZIPPlugin"/>
72 <plugin name="GreenstoneXMLPlugin"/>
73 <plugin name="MetadataYAMLPlugin"/>
74
75 <plugin name="UnknownPlugin">
76 <option name="-file_format" value="exe"/>
77 <option name="-mime_type" value="/application/vnd.microsoft.portable-executable"/> <!-- or "application/octet-stream" ??? -->
78 <option name="-srcicon" value="unknown"/>
79 <option name="-process_extension" value="exe"/>
80 </plugin>
81 <plugin name="TextPlugin"/>
82 <plugin name="HTMLPlugin"/>
83 <plugin name="EmailPlugin"/>
84 <plugin name="PDFv2Plugin"/>
85 <plugin name="RTFPlugin"/>
86 <plugin name="WordPlugin"/>
87 <plugin name="PostScriptPlugin"/>
88 <plugin name="PowerPointPlugin"/>
89 <plugin name="ExcelPlugin"/>
90 <plugin name="ImagePlugin"/>
91 <plugin name="ISISPlugin"/>
92 <plugin name="NulPlugin"/>
93 <plugin name="OAIPlugin"/>
94 <plugin name="MetadataXMLPlugin"/>
95 <plugin name="ArchivesInfPlugin"/>
96 <plugin name="DirectoryPlugin"/>
97 </pluginList>
98 </import>
99 <browse>
100 <classifier name="List">
101 <option name="-metadata" value="dc.Title;Title"/>
102 <option name="-partition_type_within_level" value="approximate_size"/>
103 </classifier>
104 <format> <gsf:template match="documentNode">
105 <td valign="top">
106 <gsf:link type="source">
107 <gsf:icon type="document"/>
108<!--
109 <gsf:metadata name="srcicon"/>
110-->
111 </gsf:link>
112 </td>
113<!--
114<td valign="top">
115<gsf:link type="source">
116<gsf:choose-metadata>
117<gsf:metadata name="thumbicon"/>
118<gsf:metadata name="srcicon"/>
119</gsf:choose-metadata>
120</gsf:link>
121</td>
122-->
123 <td valign="top">
124 <gsf:link type="document">
125<!--
126Defined in the global format statement
127-->
128 <xsl:call-template name="choose-title"/>
129 </gsf:link>
130 </td>
131 </gsf:template>
132 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
133 <td valign="top">
134 <gsf:link style="static" type="classifier">
135 <gsf:icon type="classifier"/>
136 </gsf:link>
137 </td>
138 <td valign="top">
139 <gsf:link type="classifier">
140 <gsf:metadata name="Title"/>
141 </gsf:link>
142 </td>
143 </gsf:template>
144 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
145 <gsf:link style="static" type="classifier">
146 <gsf:metadata name="Title"/>
147 </gsf:link>
148 </gsf:template>
149
150</format>
151 </browse>
152 <display>
153 <format> <gsf:option name="TOC" value="true"/>
154 <gsf:option name="AllowUserComments" value="false"/>
155<!--
156Overwriting this template allows you to change the heading of the document.
157-->
158<!--
159<gsf:template name="documentHeading">
160<span style="font-weight:bold; font-size: 120%;">
161<xsl:call-template name="choose-title"/>
162</span>
163</gsf:template>
164-->
165<!--
166Overwriting 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.
167-->
168 <gsf:template name="documentContent">
169 <div id="gs-document">
170 <xsl:call-template name="documentPre"/>
171 <div class="gs-voxelvr-player" id="viewer" style="text-align: center;">
172 <div style="padding: 20px;">
173 <object controls="controls" style="width: 100%"><source><xsl:attribute name="src"><xsl:value-of select="$httpPath"/>/index/assoc/<gsf:metadata name="assocfilepath" pos="1"/>/<gsf:metadata name="srclink_file"/></xsl:attribute></source> Your web browser does not support the this form of Voxel VR.</object>
174 </div>
175 </div>
176<!--
177<xsl:call-template name="wrappedSectionImage"/>
178<div id="gs-document-text">
179<xsl:call-template name="documentNodeText"/>
180</div>
181-->
182 </div>
183 </gsf:template>
184<!--
185Overwriting this template can be used to change the content of section headings.
186-->
187<!--
188<gsf:template name="sectionHeading">
189<xsl:call-template name="choose-title"/>
190</gsf:template>
191-->
192<!--
193Overwriting this template can be used to change the content of the top-level section.
194-->
195<!--
196<gsf:template name="topLevelSectionContent">
197<xsl:call-template name="wrappedSectionImage"/>
198<xsl:call-template name="wrappedSectionText"/>
199</gsf:template>
200-->
201<!--
202Overwriting this template can be used to change the content of sections.
203-->
204<!--
205<gsf:template name="sectionContent">
206<xsl:call-template name="wrappedSectionImage"/>
207<xsl:call-template name="wrappedSectionText"/>
208</gsf:template>
209-->
210
211</format>
212 </display>
213 <replaceListRef id="gs2-standard"/>
214 <replaceListRef id="gs2-image"/>
215 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
216 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
217 <serviceRack name="OAIPMH">
218 <setName>voxel-vr</setName>
219 <setDescription/><!-- uncomment the following and set the name attribute if
220 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
221 <ListMetadataFormats><!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like:
222 <metadataFormat metadataPrefix="prefix"/> -->
223 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
224 </ListMetadataFormats>
225 </serviceRack>
226 </serviceRackList>
227</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.