Image-stitching and virtual tour solutions My account Updates
It is currently Thu Oct 02, 2014 11:37 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Custom XML file
PostPosted: Mon May 14, 2012 5:02 pm 
Offline
Member

Joined: Tue Feb 21, 2006 5:32 pm
Posts: 1285
Location: Connecticut, USA
Saw the thread on turning hotspots on and off. This requires custom work in the mai XML file, but not too much work. I think that this file is generated by APT, and may be re-written every time you change the pano. But even if its not, I think it would be more elegant to have a custom file that the main XML file includes (or calls) with all your custom changes, just as wordpress does.

this way, if you want to make a new pano, you just copy custom.xml over.

It would be even better to have a configuartion ability to add certain XML to the main.xml file on building the pano. That way, if you have a feature like turn hotspots on/off, you could include it on all your panos. Then when Kolor includes it as a standard feature, you can remove it from the custom XML once and you won't have to remember to remove it when you recompile any panos.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 14, 2012 9:35 pm 
Offline
Member
User avatar

Joined: Tue Jun 09, 2009 1:01 pm
Posts: 3326
Location: Salzburg
infact such option does exist on krpano side. It exist in krpano xml syntax by using:
include mycustome.xml
unfortunately such include until now does not work in the panotour template files...

the execution of the code is determinded by the order of reading the xml lines from top to bottom. so it depends where you include your customized code.
So in most cases it makes sense to include the xml at the bottom so it can override code executed above. but sometimes it makes sens to include it on top... so such an option in ptp where the code should be added may be useful too.

would be great to have such function...
Georg

_________________
pages: gigapixel.at - jedermann.at - My Equipment


Last edited by gkaefer on Mon May 14, 2012 9:36 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group