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">Sample heritage artefacts from the Global Digital Heritage Project</displayItem>
|
---|
19 | <displayItem assigned="true" lang="en" name="description">
|
---|
20 | A sample of 3D artefacts from the Global Digital Heritage project.
|
---|
21 | As a demonstration of the security authentication model, access to the Pre-Islamic Pottery Jar is restricted
|
---|
22 | to users in the 'atea' group, whereas everything else is publicly available.
|
---|
23 | </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="lucene">
|
---|
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="dc.Title,ex.dc.Title,Title">
|
---|
45 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
46 | </index>
|
---|
47 | <defaultIndex name="dc.Title,ex.dc.Title,Title"/>
|
---|
48 | <sort name="rank">
|
---|
49 | <displayItem lang="en" name="name">rank</displayItem>
|
---|
50 | </sort>
|
---|
51 | <sort name="none">
|
---|
52 | <displayItem lang="en" name="name">natural (build) order</displayItem>
|
---|
53 | </sort>
|
---|
54 | <searchType name="plain"/>
|
---|
55 | <searchType name="simpleform"/>
|
---|
56 | <searchType name="advancedform"/>
|
---|
57 | <format> <gsf:template match="documentNode">
|
---|
58 | <td valign="top">
|
---|
59 | <gsf:link type="document">
|
---|
60 | <gsf:metadata name="srcicon"/>
|
---|
61 | </gsf:link>
|
---|
62 | </td>
|
---|
63 | <td>
|
---|
64 | <gsf:link type="document">
|
---|
65 | <xsl:call-template name="choose-title"/>
|
---|
66 | </gsf:link>
|
---|
67 | </td>
|
---|
68 | </gsf:template>
|
---|
69 |
|
---|
70 | </format>
|
---|
71 | </search>
|
---|
72 | <infodb type="jdbm"/>
|
---|
73 | <import>
|
---|
74 | <pluginList>
|
---|
75 | <!--
|
---|
76 | <plugin name="ZIPPlugin"/>
|
---|
77 | -->
|
---|
78 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
79 | <plugin name="UnknownPlugin">
|
---|
80 | <option name="-file_format" value="3DModel"/>
|
---|
81 | <option name="-mime_type" value="model/gltf-binary"/>
|
---|
82 | <option name="-srcicon" value="icongltf"/>
|
---|
83 | <option name="-process_extension" value="zip"/>
|
---|
84 | </plugin>
|
---|
85 | <plugin name="TextPlugin"/>
|
---|
86 | <plugin name="HTMLPlugin"/>
|
---|
87 | <plugin name="EmailPlugin"/>
|
---|
88 | <plugin name="PDFv2Plugin"/>
|
---|
89 | <plugin name="RTFPlugin"/>
|
---|
90 | <plugin name="WordPlugin"/>
|
---|
91 | <plugin name="PostScriptPlugin"/>
|
---|
92 | <plugin name="PowerPointPlugin"/>
|
---|
93 | <plugin name="ExcelPlugin"/>
|
---|
94 | <plugin name="ImagePlugin"/>
|
---|
95 | <plugin name="ISISPlugin"/>
|
---|
96 | <plugin name="NulPlugin"/>
|
---|
97 | <plugin name="OAIPlugin"/>
|
---|
98 | <plugin name="MetadataXMLPlugin"/>
|
---|
99 | <plugin name="ArchivesInfPlugin"/>
|
---|
100 | <plugin name="DirectoryPlugin"/>
|
---|
101 | </pluginList>
|
---|
102 | </import>
|
---|
103 | <browse>
|
---|
104 | <classifier name="List">
|
---|
105 | <option name="-metadata" value="dc.Title;Title"/>
|
---|
106 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
107 | </classifier>
|
---|
108 | <format> <gsf:template match="documentNode">
|
---|
109 | <td valign="top">
|
---|
110 | <gsf:link type="document">
|
---|
111 | <!--
|
---|
112 | <gsf:icon type="document"/>
|
---|
113 | -->
|
---|
114 | <gsf:metadata name="srcicon"/>
|
---|
115 | </gsf:link>
|
---|
116 | </td>
|
---|
117 | <!--
|
---|
118 | <td valign="top">
|
---|
119 | <gsf:link type="source">
|
---|
120 | <gsf:choose-metadata>
|
---|
121 | <gsf:metadata name="thumbicon"/>
|
---|
122 | <gsf:metadata name="srcicon"/>
|
---|
123 | </gsf:choose-metadata>
|
---|
124 | </gsf:link>
|
---|
125 | </td>
|
---|
126 | -->
|
---|
127 | <td valign="top">
|
---|
128 | <gsf:link type="document">
|
---|
129 | <!--
|
---|
130 | Defined in the global format statement
|
---|
131 | -->
|
---|
132 | <xsl:call-template name="choose-title"/>
|
---|
133 | </gsf:link>
|
---|
134 | </td>
|
---|
135 | </gsf:template>
|
---|
136 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
137 | <td valign="top">
|
---|
138 | <gsf:link style="static" type="classifier">
|
---|
139 | <gsf:icon type="classifier"/>
|
---|
140 | </gsf:link>
|
---|
141 | </td>
|
---|
142 | <td valign="top">
|
---|
143 | <gsf:link type="classifier">
|
---|
144 | <gsf:metadata name="Title"/>
|
---|
145 | </gsf:link>
|
---|
146 | </td>
|
---|
147 | </gsf:template>
|
---|
148 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
149 | <gsf:link style="static" type="classifier">
|
---|
150 | <gsf:metadata name="Title"/>
|
---|
151 | </gsf:link>
|
---|
152 | </gsf:template>
|
---|
153 |
|
---|
154 | </format>
|
---|
155 | </browse>
|
---|
156 | <display>
|
---|
157 | <format> <gsf:option name="TOC" value="true"/>
|
---|
158 | <gsf:option name="AllowUserComments" value="false"/>
|
---|
159 | <!--
|
---|
160 | Overwriting this template allows you to change the heading of the document.
|
---|
161 | -->
|
---|
162 |
|
---|
163 | <gsf:template name="documentHeading">
|
---|
164 | <span style="font-weight:bold; font-size: 120%; display: inline-block; padding-bottom: 10px;">
|
---|
165 | <xsl:call-template name="choose-title"/>
|
---|
166 | </span>
|
---|
167 | </gsf:template>
|
---|
168 |
|
---|
169 | <!--
|
---|
170 | Overwriting 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.
|
---|
171 | -->
|
---|
172 | <gsf:template name="documentContent">
|
---|
173 | <div id="gs-document">
|
---|
174 | <xsl:call-template name="documentPre"/>
|
---|
175 |
|
---|
176 | <xsl:variable name="gdh.Identifier"><gsf:metadata name="gdh.Identifier"/></xsl:variable>
|
---|
177 | <xsl:variable name="gdh.AlphaIdentifier"><gsf:metadata name="gdh.AlphaIdentifier"/></xsl:variable>
|
---|
178 |
|
---|
179 | <div style="padding: 10px;">
|
---|
180 | Download: <a><xsl:attribute name="href"><xsl:value-of select="$httpPath"/>/index/assoc/<gsf:metadata name="assocfilepath" pos="1"/>/<gsf:metadata name="SourceFile"/></xsl:attribute><xsl:attribute name="download"><gsf:metadata name="gdh.AlphaIdentifier"/>-<gsf:metadata name="gdh.Identifier"/>.zip</xsl:attribute><gsf:metadata name="gdh.AlphaIdentifier"/>-<gsf:metadata name="gdh.Identifier"/>.zip</a>
|
---|
181 | </div>
|
---|
182 |
|
---|
183 | <div class="sketchfab-embed-wrapper">
|
---|
184 | <!-- orginally 640 x 480 -->
|
---|
185 | <iframe title="A 3D model" width="960" height="720" alt="{$gdh.Identifier}" src="https://sketchfab.com/models/{$gdh.Identifier}/embed?preload=1&ui_controls=1&ui_infos=1&ui_inspector=1&ui_stop=1&ui_watermark=1&ui_watermark_link=1" frameborder="0" allow="autoplay; fullscreen; vr" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
|
---|
186 | <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;">
|
---|
187 | <a href="https://sketchfab.com/3d-models/{$gdh.AlphaIdentifier}-{$gdh.Identifier}?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;"><gsf:metadata name="dc.Title"/></a>
|
---|
188 | by <a href="https://sketchfab.com/GlobalDigitalHeritage?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Global Digital Heritage</a>
|
---|
189 | on <a href="https://sketchfab.com?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a>
|
---|
190 | </p>
|
---|
191 | </div>
|
---|
192 |
|
---|
193 |
|
---|
194 |
|
---|
195 | <!--
|
---|
196 | <div class="gs-video-player" id="viewer" style="text-align: center;">
|
---|
197 | <div style="padding: 20px;">
|
---|
198 | <video controls="controls" style="width: 100%"><source><xsl:attribute name="src"><xsl:value-of select="$httpPath"/>/index/assoc/<gsf:metadata name="assocfilepath" pos="1"/>/
|
---|
199 | </div>
|
---|
200 | </div>
|
---|
201 | -->
|
---|
202 | <!--
|
---|
203 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
204 | <div id="gs-document-text">
|
---|
205 | <xsl:call-template name="documentNodeText"/>
|
---|
206 | </div>
|
---|
207 | -->
|
---|
208 | </div>
|
---|
209 | </gsf:template>
|
---|
210 | <!--
|
---|
211 | Overwriting this template can be used to change the content of section headings.
|
---|
212 | -->
|
---|
213 | <!--
|
---|
214 | <gsf:template name="sectionHeading">
|
---|
215 | <xsl:call-template name="choose-title"/>
|
---|
216 | </gsf:template>
|
---|
217 | -->
|
---|
218 | <!--
|
---|
219 | Overwriting this template can be used to change the content of the top-level section.
|
---|
220 | -->
|
---|
221 | <!--
|
---|
222 | <gsf:template name="topLevelSectionContent">
|
---|
223 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
224 | <xsl:call-template name="wrappedSectionText"/>
|
---|
225 | </gsf:template>
|
---|
226 | -->
|
---|
227 | <!--
|
---|
228 | Overwriting this template can be used to change the content of sections.
|
---|
229 | -->
|
---|
230 | <!--
|
---|
231 | <gsf:template name="sectionContent">
|
---|
232 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
233 | <xsl:call-template name="wrappedSectionText"/>
|
---|
234 | </gsf:template>
|
---|
235 | -->
|
---|
236 |
|
---|
237 | </format>
|
---|
238 | </display>
|
---|
239 | <replaceListRef id="gs2-standard"/>
|
---|
240 | <replaceListRef id="gs2-image"/>
|
---|
241 | <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
|
---|
242 | <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
243 | <serviceRack name="OAIPMH">
|
---|
244 | <setName>global-digital-heritage</setName>
|
---|
245 | <setDescription/><!-- uncomment the following and set the name attribute if
|
---|
246 | you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
|
---|
247 | <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:
|
---|
248 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
249 | <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
|
---|
250 | </ListMetadataFormats>
|
---|
251 | </serviceRack>
|
---|
252 | </serviceRackList>
|
---|
253 |
|
---|
254 |
|
---|
255 | <security scope="document" default_access="public" >
|
---|
256 | <!-- Document level security. All documents are public -->
|
---|
257 | <exception>
|
---|
258 | <!-- except for the privateset list of documents which are private, user must be in 'atea' group -->
|
---|
259 | <documentSet name="privateset"/>
|
---|
260 | <group name="atea"/>
|
---|
261 | </exception>
|
---|
262 | <documentSet name="privateset">
|
---|
263 | <match>0d6e1775a1ab4e02a49b13ccdcb639be</match>
|
---|
264 | </documentSet>
|
---|
265 | </security>
|
---|
266 |
|
---|
267 | </CollectionConfig>
|
---|