You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, November 22nd 2012, 6:11am

The national museum of Korea

I just compeleted this project, and would like to share.
I am still not good at krpano, and all the codes are written in xml.

http://360vr.kr/panoramas/NMus/tour.html

source : http://360vr.kr/panoramas/NMus/tour.xml

This site, however, doesnt work in iOS. it says:
FATAL error:
tour.xml - xml parsing failed!

Please ckeck it for me.

Min

Phil

Trainee

Posts: 97

Location: Texas

  • Send private message

2

Thursday, November 22nd 2012, 3:15pm

XML Parsing Error: duplicate attribute
Location: http://360vr.kr/panoramas/NMus/tour.xml
Line Number 57, Column 108: origin="center" edge="center" yoffset="-20" textalign="center" background="true" border="true" origin="cursor"

Remove the duplicate origin="cursor" should fix the error. There is also a type in the tour.html title. Change Natioal to National.

Nice work and great hotspot silhouettes!

Phil

3

Friday, November 23rd 2012, 2:19am

XML Parsing Error: duplicate attribute
Line Number 57, Column 108: origin="center" edge="center" yoffset="-20" textalign="center" background="true" border="true" origin="cursor"

Remove the duplicate origin="cursor" should fix the error. There is also a type in the tour.html title. Change Natioal to National.

Phil


Thanks, Phil. It's very helpful, but the same error happened.
Would you please let me know how to check the xml ?
There may be more errors, I think, so I would like to check it again and again.

In addtion, thank you for the complements, the siluette hotspot is my favorite. :)

Min

Phil

Trainee

Posts: 97

Location: Texas

  • Send private message

4

Friday, November 23rd 2012, 3:39am

Min,

When I paste http://360vr.kr/panoramas/NMus/tour.xml into my firefox browser I get the attached message saying you need to add a space on Line Number 421, Column 64. I don't get an error when viewing your project.

When viewing the project in IE9 the hotspots are very small. I don't understand why they would be a different size.

After reloading the page in IE everything was normal.

Phil
Phil has attached the following image:
  • xml-error.png

This post has been edited 1 times, last edit by "Phil" (Nov 23rd 2012, 4:46am)


5

Friday, November 23rd 2012, 5:10am

Phil,

Thank you very much for your information. I have checked and removed all the "errors" using your information and XML validator : http://www.w3schools.com/xml/xml_validator.asp .

However, there are still problems. The site is no problems in chrome and IE, however, only gray screen with tool bar has been appeared in Safari desktop ,Firefox desktop, iphone Safari, iphone chrome.

Is there anything to concern?


best

MIn,

This post has been edited 1 times, last edit by "heomin61" (Nov 23rd 2012, 3:15pm)


6

Friday, November 23rd 2012, 3:21pm

Finally I found out what has been happen.

I have tested my code with inserting one module by one, and then I found out the gray layer is something like :

<layer name="darkback" url="skin/darkgray.png" blendmode="multiply" visible="false" autoalpha="true" keep="true" width="100%" height="100%" />

The layer should not be seen (because visible = false), but it shows. I added alpha="0.0" then it has gone.

I am testing now and will load it again.

Min

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

7

Friday, November 23rd 2012, 4:32pm

Default alpha setting is 1.0
autoalpha sets visible true when alpha value > 0
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour