Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

1

Freitag, 27. Mai 2011, 10:43

include xml for ipad

I just got addicted to include, that simplifies my "worst on earh," muddy dirty code ain a dirtier but easier to deal with trashy load of xmls.
And I understand it is NOT working on ipads!
:-D
Any solution for this?!

thanx!
Luca.

2

Freitag, 27. Mai 2011, 10:51

Hi,

the <include> is working in the krpanoJS viewer (since version 1.0.8.12),

but in HTML/JS the xml files must be valid xml files (the Flashplayer excepts also xml files which were against the xml syntax rules),
to check if a xml file is valid - just open it directly in the browser - the browser should show you the location and the type of the xml syntax error,

best regards,
Klaus

  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

3

Freitag, 27. Mai 2011, 11:05

How fast!!!!
Thank you so much. I've no idea of what is a xml syntax, so for SHURE the problem is this!!!

  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

4

Freitag, 27. Mai 2011, 11:21

In fact that is the problem. But I really do not know how to solve it, since my knowledge of coding and xml is below zero (limited to cut and paste)

Quellcode

1
2
3
Linea numero 23, colonna 2:	
        	<hotspot name="hs1"
	--------^

5

Freitag, 27. Mai 2011, 16:25

You are gonna have to show more code if you want help. Or a link to the xml file.

  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

6

Dienstag, 31. Mai 2011, 15:24

Quellcode

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
		<view 
      	hlookat="0" 
      	vlookat="0" 
      	fovtype="MFOV" 
      	fov="90" 
      	maxpixelzoom="2.0" 
      	fovmin="30" 
      	fovmax="110" />

		<preview url="pano-01.tiles/preview.jpg" />

		<image type="CUBE" multires="true" tilesize="713" progressive="false">
			<level tiledimagewidth="3565" tiledimageheight="3565">
				<left  url="pano-01.tiles/l3_l_%0v%0h.jpg" />
				<front url="pano-01.tiles/l3_f_%0v%0h.jpg" />
				<right url="pano-01.tiles/l3_r_%0v%0h.jpg" />
				<back  url="pano-01.tiles/l3_b_%0v%0h.jpg" />
				<up	url="pano-01.tiles/l3_u_%0v%0h.jpg" />
				<down  url="pano-01.tiles/l3_d_%0v%0h.jpg" />
			</level>
			<level tiledimagewidth="1783" tiledimageheight="1783">
				<left  url="pano-01.tiles/l2_l_%0v%0h.jpg" />
				<front url="pano-01.tiles/l2_f_%0v%0h.jpg" />
				<right url="pano-01.tiles/l2_r_%0v%0h.jpg" />
				<back  url="pano-01.tiles/l2_b_%0v%0h.jpg" />
				<up	url="pano-01.tiles/l2_u_%0v%0h.jpg" />
				<down  url="pano-01.tiles/l2_d_%0v%0h.jpg" />
			</level>
			<level tiledimagewidth="892" tiledimageheight="892">
				<left  url="pano-01.tiles/l1_l_%0v%0h.jpg" />
				<front url="pano-01.tiles/l1_f_%0v%0h.jpg" />
				<right url="pano-01.tiles/l1_r_%0v%0h.jpg" />
				<back  url="pano-01.tiles/l1_b_%0v%0h.jpg" />
				<up	url="pano-01.tiles/l1_u_%0v%0h.jpg" />
				<down  url="pano-01.tiles/l1_d_%0v%0h.jpg" />
			</level>
			<mobile>
				<left  url="pano-01.tiles/mobile_l.jpg" />
				<front url="pano-01.tiles/mobile_f.jpg" />
				<right url="pano-01.tiles/mobile_r.jpg" />
				<back  url="pano-01.tiles/mobile_b.jpg" />
				<up	url="pano-01.tiles/mobile_u.jpg" />
				<down  url="pano-01.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="pano-01.tiles/tablet_l.jpg" />
				<front url="pano-01.tiles/tablet_f.jpg" />
				<right url="pano-01.tiles/tablet_r.jpg" />
				<back  url="pano-01.tiles/tablet_b.jpg" />
				<up	url="pano-01.tiles/tablet_u.jpg" />
				<down  url="pano-01.tiles/tablet_d.jpg" />
			</tablet>
		</image>


this is an example...

7

Mittwoch, 1. Juni 2011, 14:50

Hi,

@officinepanottiche
please post a link to the xml or the full xml here, just parts wouldn't help,

regarding to that posted code from you:

Quellcode

1
2
3
Linea numero 23, colonna 2:
        <hotspot name="hs1"
--------^

there seem to be a xml syntax problem in the xml at line 23, column 2,
but without the full xml code it would not be possible to say what is wrong,

best regards,
Klaus

  • »officinepanottiche« ist der Autor dieses Themas

Beiträge: 130

Wohnort: Venezia

Beruf: interactive pictures

  • Nachricht senden

8

Montag, 8. August 2011, 12:50

I start to understand.
I can put an external XLM with a
<scene>
</scene>

and all thet is within is ok.
But if I put a
series of actions:

<action name=open-scene1>
</scene>
<action name=open-scene2>
</scene>
<action name=open-scene3>
</scene>
that is an error.

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

9

Montag, 8. August 2011, 14:52

Tag mismatch. If you open a tag you must close it.
Action
/action
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour