root/main/trunk/model-sites-dev/atea/collect/voxelvid/etc/collectionConfig.xml @ 33166

Revision 33166, 8.0 KB (checked in by davidb, 4 months ago)

Collection config files and initial programming work for atea collections

  • Property svn:executable set to *
  • Property svn:mime-type set to application/xml
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 Videos</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">voxelvid</displayItem>
19        <displayItem assigned="true" lang="en" name="description">Demonstration videos of the voxel-based story-telling technique being developed at the University of Otago and the University of Canterbury. </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="document">
56        <gsf:metadata name="srcicon"/>
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="UnknownPlugin">
74                <option name="-file_format" value="Video"/>
75                <option name="-mime_type" value="video/mp4"/>
76                <option name="-srcicon" value="iconmp4"/>
77                <option name="-process_extension" value="mp4"/>
78            </plugin>
79            <plugin name="TextPlugin"/>
80            <plugin name="HTMLPlugin"/>
81            <plugin name="EmailPlugin"/>
82            <plugin name="PDFv2Plugin"/>
83            <plugin name="RTFPlugin"/>
84            <plugin name="WordPlugin"/>
85            <plugin name="PostScriptPlugin"/>
86            <plugin name="PowerPointPlugin"/>
87            <plugin name="ExcelPlugin"/>
88            <plugin name="ImagePlugin"/>
89            <plugin name="ISISPlugin"/>
90            <plugin name="NulPlugin"/>
91            <plugin name="OAIPlugin"/>
92            <plugin name="MetadataXMLPlugin"/>
93            <plugin name="ArchivesInfPlugin"/>
94            <plugin name="DirectoryPlugin"/>
95        </pluginList>
96    </import>
97    <browse>
98        <classifier name="List">
99            <option name="-metadata" value="dc.Title;Title"/>
100            <option name="-partition_type_within_level" value="approximate_size"/>
101        </classifier>
102        <format>  <gsf:template match="documentNode">
103    <td valign="top">
104      <gsf:link type="document">
105<!--
106<gsf:icon type="document"/>
107-->
108        <gsf:metadata name="srcicon"/>
109      </gsf:link>
110    </td>
111<!--
112<td valign="top">
113<gsf:link type="source">
114<gsf:choose-metadata>
115<gsf:metadata name="thumbicon"/>
116<gsf:metadata name="srcicon"/>
117</gsf:choose-metadata>
118</gsf:link>
119</td>
120-->
121    <td valign="top">
122      <gsf:link type="document">
123<!--
124Defined in the global format statement
125-->
126        <xsl:call-template name="choose-title"/>
127      </gsf:link>
128    </td>
129  </gsf:template>
130  <gsf:template match="classifierNode[@classifierStyle = 'VList']">
131    <td valign="top">
132      <gsf:link style="static" type="classifier">
133        <gsf:icon type="classifier"/>
134      </gsf:link>
135    </td>
136    <td valign="top">
137      <gsf:link type="classifier">
138        <gsf:metadata name="Title"/>
139      </gsf:link>
140    </td>
141  </gsf:template>
142  <gsf:template match="classifierNode[@classifierStyle = 'HList']">
143    <gsf:link style="static" type="classifier">
144      <gsf:metadata name="Title"/>
145    </gsf:link>
146  </gsf:template>
147
148</format>
149    </browse>
150    <display>
151        <format>  <gsf:option name="TOC" value="true"/>
152  <gsf:option name="AllowUserComments" value="false"/>
153<!--
154Overwriting this template allows you to change the heading of the document.
155-->
156<!--
157<gsf:template name="documentHeading">
158<span style="font-weight:bold; font-size: 120%;">
159<xsl:call-template name="choose-title"/>
160</span>
161</gsf:template>
162-->
163<!--
164Overwriting 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.
165-->
166  <gsf:template name="documentContent">
167    <div id="gs-document">
168      <xsl:call-template name="documentPre"/>
169      <div class="gs-video-player" id="viewer" style="text-align: center;">
170        <div style="padding: 20px;">
171          <video 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 video.</video>
172        </div>
173      </div>
174<!--
175<xsl:call-template name="wrappedSectionImage"/>
176<div id="gs-document-text">
177<xsl:call-template name="documentNodeText"/>
178</div>
179-->
180    </div>
181  </gsf:template>
182<!--
183Overwriting this template can be used to change the content of section headings.
184-->
185<!--
186<gsf:template name="sectionHeading">
187<xsl:call-template name="choose-title"/>
188</gsf:template>
189-->
190<!--
191Overwriting this template can be used to change the content of the top-level section.
192-->
193<!--
194<gsf:template name="topLevelSectionContent">
195<xsl:call-template name="wrappedSectionImage"/>
196<xsl:call-template name="wrappedSectionText"/>
197</gsf:template>
198-->
199<!--
200Overwriting this template can be used to change the content of sections.
201-->
202<!--
203<gsf:template name="sectionContent">
204<xsl:call-template name="wrappedSectionImage"/>
205<xsl:call-template name="wrappedSectionText"/>
206</gsf:template>
207-->
208
209</format>
210    </display>
211    <replaceListRef id="gs2-standard"/>
212    <replaceListRef id="gs2-image"/>
213    <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
214        <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
215        <serviceRack name="OAIPMH">
216            <setName>voxelvid</setName>
217            <setDescription/><!-- uncomment the following and set the name attribute if
218               you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
219            <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:
220                   <metadataFormat metadataPrefix="prefix"/> -->
221                <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
222            </ListMetadataFormats>
223        </serviceRack>
224    </serviceRackList>
225</CollectionConfig>
Note: See TracBrowser for help on using the browser.