You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2010-01-26 16:11:38

Adrien F
Moderator
Registered: 2009-07-03
Posts: 267

Indirection file export for developpers

As said by scraff in a previous post, some changes can happen in the correspondence between xml names and the linked panorama (when saving a project, manipulating history, deleting pano, adding some new). This lead to problems for users doing dynamic visits (http://www.myWebSite.com/myVisit.swf?th … ToLoad.xml).

Allowing the user to manually name the xml files raises some issues:
a - unicity of pano identification is no more guaranteed
b - krpano XML parsor isn't reliable enough for this kind of stuff : commas, blank spaces and other quotes character may break your visit.

A solution would be to export an additional XML file containing an indirection table:

Code:

<panos>
    <pano name="visit10" filePath="C:/Img/myPano1.jpeg" xmlFile="visit10.xml" ... />
    ...
</panos>

This would allow a advanced post-treatment for website generation.

It also implies to add a check box in the user interface which is quite heavy yet.

Questions are the following:
Who would benefit from such a feature?
Wht would you like to see in the xml file?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson