How to edit xml file from the code

  • Hi,

    I'm just trying the Krpano to make the virtual tours. I'm able to create the pano via their tool. Now, when I try to add hotspot via the edit file, then I'm able to add those points. But when I click on `Save tour.xml`, then it ask the location. I just want to avoid this and save to the location from where I've read the images (where the already uploaded xml file is saved..just to override this file). I don't want users to save it on their side first.

  • Hi, not quite sure what you mean. No one can edit file and save it on your server. When you upload the files do not include the tour_editor.html.

    You can edit/add hotspots etc locally using the tour_editor.html then save it to overwrite the existing tour.xml file. Then FTP the new xml file to replace the existing one.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!