-
Notifications
You must be signed in to change notification settings - Fork 10
/
TourMLInstanceExample.xml
175 lines (149 loc) · 7.53 KB
/
TourMLInstanceExample.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<?xml version="1.0" encoding="UTF-8"?>
<tourml:Tour xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tourml="http://tapintomuseums.org/TourML"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:gml="http://www.opengis.net/gml"
xsi:schemaLocation="http://tapintomuseums.org/TourML TourML.xsd"
tourml:id="org.imamuseum.tap.ToLiveForever">
<tourml:TourMetadata>
<!-- Title information of the tour -->
<tourml:Title xml:lang="en">A sample TourML document</tourml:Title>
<tourml:Title xml:lang="es">Una muestra TourML documento</tourml:Title>
<tourml:Description xml:lang="en">
This tour is meant to demonstrate proper usage of the TourML standard.
</tourml:Description>
<tourml:Description xml:lang="es">
.....
</tourml:Description>
<!-- General tour metadata -->
<tourml:Author>Indianapolis Museum of Art</tourml:Author>
<!-- An optional pointer to the first stop to start at -->
<tourml:RootStopRef tourml:id="stop-1"/>
<!-- List of all application specific resources -->
<tourml:AppResource tourml:id="app-icon" tourml:usage="icon" />
<tourml:AppResource tourml:id="app-splash" tourml:usage="splash" />
<!-- Application wide properties -->
<tourml:PropertySet>
<tourml:Property tourml:name="google-analytics">UA-123456</tourml:Property>
</tourml:PropertySet>
</tourml:TourMetadata>
<!-- List of all tour stops -->
<!-- Example of a stop group. Refer to the Connections for this stop. -->
<tourml:Stop tourml:id="stop-1" tourml:view="StopGroup"> <!-- All stops require an id used for Ref -->
<tourml:Title xml:lang="en">Ankhaman's remains</tourml:Title>
<tourml:Title xml:lang="es">remainos Ankhaman's</tourml:Title>
<tourml:Description xml:lang="en">Ankhaman's remains</tourml:Description>
<tourml:Description xml:lang="es">remainos Ankhaman's</tourml:Description>
<tourml:PropertySet>
<tourml:Property tourml:name="code">100</tourml:Property>
</tourml:PropertySet>
</tourml:Stop>
<!-- Example of a stop for viewing an image -->
<tourml:Stop tourml:id="stop-2" tourml:view="ImageStop">
<tourml:Title xml:lang="en">CT imagery of the mummy</tourml:Title>
<tourml:AssetRef tourml:id="img-1" tourml:usage="primary" /> <!-- Ref to the main image for this stop -->
<tourml:AssetRef tourml:id="icon-1" tourml:usage="icon" /> <!-- Ref to a interface icon for the image stop -->
<tourml:AssetRef tourml:id="caption-1" tourml:usage="caption" /> <!-- A caption to display with the image -->
<tourml:PropertySet>
<tourml:Property tourml:name="code">200</tourml:Property>
</tourml:PropertySet>
</tourml:Stop>
<!-- Example of a video stop that autoplays -->
<tourml:Stop tourml:id="stop-3" tourml:view="VideoStop">
<tourml:Title>How do you give a mummy a CT scan?</tourml:Title>
<tourml:AssetRef tourml:id="vid-1" tourml:usage="primary" />
<tourml:PropertySet>
<!-- no code means this stop is not directly accessible in the TAP keypad interface -->
<tourml:Property tourml:name="autoplay" xsd:type="boolean">true</tourml:Property>
</tourml:PropertySet>
</tourml:Stop>
<!-- Example of an audio stop -->
<tourml:Stop tourml:id="stop-4" tourml:view="AudioStop">
<tourml:Title>Dr. Abbot's observations</tourml:Title>
<tourml:AssetRef tourml:id="aud-1" tourml:usage="primary" />
<tourml:PropertySet>
<tourml:Property tourml:name="autoplay" xsd:type="boolean">true</tourml:Property>
</tourml:PropertySet>
</tourml:Stop>
<!-- Example of a web stop -->
<tourml:Stop tourml:id="stop-5" tourml:view="WebStop">
<tourml:Title xml:lang="en">Learn about mummies on Wikipedia</tourml:Title>
<tourml:AssetRef tourml:id="web-1" tourml:usage="primary"/>
<tourml:PropertySet>
<tourml:Property tourml:name="code">300</tourml:Property>
</tourml:PropertySet>
</tourml:Stop>
<!-- Example of an object stop -->
<tourml:Stop tourml:id="stop-6" tourml:view="ObjectStop">
<tourml:Title xml:lang="en">Explore the object you are standing by</tourml:Title>
<tourml:AssetRef tourml:id="obj-1" />
<tourml:PropertySet>
<tourml:Property tourml:name="code">400</tourml:Property>
</tourml:PropertySet>
</tourml:Stop>
<!-- Example of geolocation information in a stop -->
<tourml:Stop tourml:id="stop-7" tourml:view="GeoStop">
<tourml:Title xml:lang="en">See where this mummy was discovered</tourml:Title>
<tourml:AssetRef tourml:id="geo-1" />
</tourml:Stop>
<!-- List of all tour assets -->
<tourml:Asset tourml:id="img-1">
<tourml:Source tourml:format="image/png" tourml:lastModified="2011-09-29T12:01:32" tourml:uri="file:///images/ankh-ct.png" />
</tourml:Asset>
<tourml:Asset tourml:id="icon-1">
<tourml:Source tourml:format="image/jpg" tourml:lastModified="2011-09-29T12:01:32" tourml:uri="file:///images/icon1.jpg" />
</tourml:Asset>
<tourml:Asset tourml:id="caption-1">
<tourml:Content xml:lang="en" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Data>This is a caption</tourml:Data>
</tourml:Content>
<tourml:Content xml:lang="es" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Data>Se trata de un título</tourml:Data>
</tourml:Content>
</tourml:Asset>
<tourml:Asset tourml:id="vid-1">
<tourml:Source tourml:format="video/quicktime" tourml:lastModified="2011-09-29T12:01:32" xml:lang="en" tourml:uri="file:///videos/ankh-ct.mov">
<tourml:PropertySet>
<tourml:Property tourml:name="duration">00:10:36</tourml:Property>
<tourml:Property tourml:name="width">1920</tourml:Property>
<tourml:Property tourml:name="height">1080</tourml:Property>
</tourml:PropertySet>
</tourml:Source>
<tourml:Source tourml:format="video/ogg-theora" tourml:lastModified="2011-09-29T12:01:32" xml:lang="en" tourml:uri="file:///videos/ankh-ct.ogg">
<tourml:PropertySet>
<tourml:Property tourml:name="duration">00:10:32</tourml:Property>
<tourml:Property tourml:name="width">1920</tourml:Property>
<tourml:Property tourml:name="height">1280</tourml:Property>
</tourml:PropertySet>
</tourml:Source>
</tourml:Asset>
<tourml:Asset tourml:id="geo-1">
<tourml:Content tourml:format="gml" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Data>
<gml:Point srsName="EPSG:4326">
<gml:pos>21.052 -10.854</gml:pos>
</gml:Point>
</tourml:Data>
</tourml:Content>
</tourml:Asset>
<tourml:Asset tourml:id="aud-1">
<tourml:Source tourml:format="audio/mp3" tourml:lastModified="2011-09-29T12:01:32" xml:lang="en" tourml:uri="./audio/abbot-interview-english.mp3" />
<tourml:Source tourml:format="audio/mp3" tourml:lastModified="2011-09-29T12:01:32" xml:lang="es" tourml:uri="./audio/abbot-interview-spanish.mp3" />
</tourml:Asset>
<tourml:Asset tourml:id="www-1">
<tourml:Source tourml:format="text/html" tourml:uri="http://en.wikipedia.org/wiki/Mummy" />
</tourml:Asset>
<tourml:Asset tourml:id="obj-1">
<tourml:Source tourml:format="text/xml" tourml:lastModified="2011-09-29T12:01:32" tourml:uri="file:///objects.xml" />
</tourml:Asset>
<tourml:Asset tourml:id="app-icon">
<tourml:Source tourml:format="image/jpg" tourml:lastModified="2011-09-29T12:01:32" tourml:uri="file:///images/app-icon.jpg" />
</tourml:Asset>
<tourml:Asset tourml:id="app-splash">
<tourml:Source tourml:format="image/jpg" tourml:lastModified="2011-09-29T12:01:32" tourml:uri="file:///images/app-splash.jpg" />
</tourml:Asset>
<!-- List of all tour connections -->
<tourml:Connection tourml:srcId="stop-1" tourml:destId="stop-3" tourml:priority="0" /> <!-- Ref to CT video -->
<tourml:Connection tourml:srcId="stop-1" tourml:destId="stop-4" tourml:priority="1" /> <!-- Ref to Dr's audio interview -->
</tourml:Tour>