Embedded XML

Q&A about the latest versions
Post Reply
frodo
Posts: 224
Joined: Wed Oct 15, 2008 2:52 pm

Hi!
When having selected "Embedded XML" in the HTML5 Output, why does it anyway generate an xml file? What should be the advantage of having the xml embedded?
Thanks.
Regards, Martin
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Martin,
Pano2VR still outputs the file as well as adds the XML code to the HTML page.
You can just deleate the XML file.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
frodo
Posts: 224
Joined: Wed Oct 15, 2008 2:52 pm

Thanks Hopki!
Regqrds, Martin
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Hopki,

Is there any advantage of having the .xml in the index.html page?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

xml embedded in HTML file:

Over all number of on-server files reduced as 1 combined code set and not 2 files
xml code can be reviewed and manually edited by opening the HTML page.

Not that I can read and understand html much less xml... but it is nice to have it all in one location.

Having both html and xml files might mean that 1 common xml file can be use by more than 1 html file

ALL speculation of course.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Thanks Dave :)
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

If memory serves...
This was done to get over the local file restrictions of HTML5 outputs.
The first restrictions were you cannot open XML files locally so the pano did not display.
So the workaround was to embed the XML in the HTML page.
There are other uses for it but I think this is why it was done in the first place.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Martin Yes, now that you mentioned it those were the original issues.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
Post Reply