source: main/trunk/model-sites-dev/atea/collect/global-digital-heritage/etc/collectionConfig.xml@ 34023

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

Initial set of files for Global Digital Heritage glTF demonstration set of 3d model artefacts

  • Property svn:executable set to *
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: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">Global Digital Heritage Artefacts</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">artefacts</displayItem>
19 <displayItem assigned="true" lang="en" name="description">A sample of 3D artefacts from the Global Digital Heritage project.</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 <!--
72 <plugin name="ZIPPlugin"/>
73 -->
74 <plugin name="GreenstoneXMLPlugin"/>
75 <plugin name="UnknownPlugin">
76 <option name="-file_format" value="3DModel"/>
77 <option name="-mime_type" value="model/gltf-binary"/>
78 <option name="-srcicon" value="icongltf"/>
79 <option name="-process_extension" value="zip"/>
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="document">
107<!--
108<gsf:icon type="document"/>
109-->
110 <gsf:metadata name="srcicon"/>
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%; display: inline-block; padding-bottom: 10px;">
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
172
173<xsl:variable name="gdh.Identifier"><gsf:metadata name="gdh.Identifier"/></xsl:variable>
174<xsl:variable name="gdh.AlphaIdentifier"><gsf:metadata name="gdh.AlphaIdentifier"/></xsl:variable>
175
176<div class="sketchfab-embed-wrapper">
177 <iframe title="A 3D model" width="640" height="480" alt="{$gdh.Identifier}" src="https://sketchfab.com/models/{$gdh.Identifier}/embed?preload=1&amp;ui_controls=1&amp;ui_infos=1&amp;ui_inspector=1&amp;ui_stop=1&amp;ui_watermark=1&amp;ui_watermark_link=1" frameborder="0" allow="autoplay; fullscreen; vr" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
178 <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;">
179 <a href="https://sketchfab.com/3d-models/{$gdh.AlphaIdentifier}-{$gdh.Identifier}?utm_medium=embed&amp;utm_source=website&amp;utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;"><gsf:metadata name="dc.Title"/> XXXXX Pre-Islamic Pottery Jar, Mleiha, Sharjah, UAE</a>
180 by <a href="https://sketchfab.com/GlobalDigitalHeritage?utm_medium=embed&amp;utm_source=website&amp;utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Global Digital Heritage</a>
181 on <a href="https://sketchfab.com?utm_medium=embed&amp;utm_source=website&amp;utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a>
182 </p>
183</div>
184
185 <!--
186 <div class="gs-video-player" id="viewer" style="text-align: center;">
187 <div style="padding: 20px;">
188 <video controls="controls" style="width: 100%"><source><xsl:attribute name="src"><xsl:value-of select="$httpPath"/>/index/assoc/<gsf:metadata name="assocfilepath" pos="1"/>/
189 </div>
190 </div>
191 -->
192<!--
193<xsl:call-template name="wrappedSectionImage"/>
194<div id="gs-document-text">
195<xsl:call-template name="documentNodeText"/>
196</div>
197-->
198 </div>
199 </gsf:template>
200<!--
201Overwriting this template can be used to change the content of section headings.
202-->
203<!--
204<gsf:template name="sectionHeading">
205<xsl:call-template name="choose-title"/>
206</gsf:template>
207-->
208<!--
209Overwriting this template can be used to change the content of the top-level section.
210-->
211<!--
212<gsf:template name="topLevelSectionContent">
213<xsl:call-template name="wrappedSectionImage"/>
214<xsl:call-template name="wrappedSectionText"/>
215</gsf:template>
216-->
217<!--
218Overwriting this template can be used to change the content of sections.
219-->
220<!--
221<gsf:template name="sectionContent">
222<xsl:call-template name="wrappedSectionImage"/>
223<xsl:call-template name="wrappedSectionText"/>
224</gsf:template>
225-->
226
227</format>
228 </display>
229 <replaceListRef id="gs2-standard"/>
230 <replaceListRef id="gs2-image"/>
231 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
232 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
233 <serviceRack name="OAIPMH">
234 <setName>global-digital-heritage</setName>
235 <setDescription/><!-- uncomment the following and set the name attribute if
236 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
237 <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:
238 <metadataFormat metadataPrefix="prefix"/> -->
239 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
240 </ListMetadataFormats>
241 </serviceRack>
242 </serviceRackList>
243</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.