My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- All tours have a root "Tour" element -->
<tourml:Tour xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tourml="http://www.imamuseum.org/TourML/2011/09"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:gml="http://www.opengis.net/gml"
xsi:schemaLocation="http://www.imamuseum.org/TourML/2011/09 TourML.xsd"
tourml:id="org.imamuseum.tap.ToLiveForever">

<!-- 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>
<tourml:PublishDate>2010-10-14</tourml:PublishDate>

<!-- List of all application specific resources -->
<tourml:AppResource tourml:id="app-icon" tourml:usage="icon" />
<tourml:AppResource tourml:id="app-splash" tourml:usage="splash" />
<tourml:AppResource tourml:id="google-analytics" tourml:usage="analytics-code" />

<!-- List of all tour assets -->
<tourml:Asset tourml:id="img-1" tourml:format="image/png" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Source tourml:uri="file:///images/ankh-ct.png" />
</tourml:Asset>

<tourml:Asset tourml:id="icon-1" tourml:format="image/jpg" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Source tourml:uri="file:///images/icon1.jpg" />
</tourml:Asset>

<tourml:Asset tourml:id="vid-1" tourml:format="video/quicktime" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Source tourml:uri="file:///videos/ankh-ct.mov" />
</tourml:Asset>

<tourml:Asset tourml:id="aud-1" tourml:format="audio/mp3" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Source xml:lang="en" tourml:uri="./audio/abbot-interview-english.mp3" />
<tourml:Source xml:lang="es" tourml:uri="./audio/abbot-interview-spanish.mp3" />
</tourml:Asset>

<tourml:Asset tourml:id="www-1" tourml:format="text/html">
<tourml:Source tourml:uri="http://en.wikipedia.org/wiki/Mummy" />
</tourml:Asset>

<tourml:Asset tourml:id="obj-1" tourml:format="text/xml" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Source tourml:uri="file:///objects.xml" />
</tourml:Asset>

<tourml:Asset tourml:id="app-icon" tourml:format="image/jpg" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Source tourml:uri="file:///images/app-icon.jpg" />
</tourml:Asset>

<tourml:Asset tourml:id="app-splash" tourml:format="image/jpg" tourml:lastModified="2011-09-29T12:01:32">
<tourml:Source tourml:uri="file:///images/app-splash.jpg" />
</tourml:Asset>

<tourml:Asset tourml:id="google-analytics">
<tourml:PropertySet>
<tourml:Property tourml:name="urchin-code">UA-123456</tourml:Property>
</tourml:PropertySet>
</tourml:Asset>

<!-- 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:PropertySet>
<tourml:Property tourml:name="code">200</tourml:Property>
<tourml:Property tourml:name="caption" xml:lang="en"> <!-- Not sold on this one -->
This is a caption of for an image.
</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: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: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:Title xml:lang="en">See where this mummy was discovered</tourml:Title>
<tourml:PropertySet>
<tourml:Property tourml:name="location">
<gml:Point srsName="EPSG:4326" xsd:type="gml:Point">
<gml:pos>21.052 -10.854</gml:pos>
</gml:Point>
</tourml:Property>
</tourml:PropertySet>
</tourml:Stop>

<!-- 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>

Change log

r238 by cwmoad on Sep 30, 2011   Diff
[No log message]
Go to: 
Project members, sign in to write a code review

Older revisions

r237 by cwmoad on Sep 29, 2011   Diff
PropertyType fixes
r236 by cwmoad on Sep 29, 2011   Diff
updated localization; added
timestamps; added tour sets
r211 by cwmoad on Dec 14, 2010   Diff
updated TourML to include Connection
abstraction
All revisions of this file

File info

Size: 6518 bytes, 150 lines

File properties

svn:mime-type
text/plain
Powered by Google Project Hosting