Direct Access Node - professional feature

Q&A about the latest versions
Post Reply
punkito
Posts: 9
Joined: Fri Mar 20, 2009 7:12 am

Hi GGnome Team and community, I have been doing advanced virtual tours using the skin editor since a few years (have a look at http://www.holoesferica.com ), I just upgraded to the Pro version to use the Direct Access Node, that in my experience is a very useful feature for big and professional virtual tours (10+ panoramas). Reading the documentation, it shows a way to call a specific node directly from the URL, using a simple

http://example.com/example.html#nodeXX

but to truly call this a Pro feature it is needed to use custom and more simple node names like:

http://example.com/example.html#lobby
or
http://example.com/example.html#jrsuite

This really help the people who uses the virtual tour to make it easier to navigate. Otherwise in a 40+ panoramas virtual tour how can you remember the node number to call the exact URL?

Is there a way to do accomplish this?
User avatar
hum@no.id
Posts: 945
Joined: Sat Sep 09, 2006 10:35 pm
Location: Dark side of the Moon
Contact:

You can do any (as you like) URL via .htaccess with mod_rewrite engine

ex. _http://example.com/example.html#node1 to _http://example.com/lobby.html or _http://example.com/example.html#lobby

you can turn your address even more short and human-readable URL
work so all CMS

Use for quick work - Mod Rewrite Generator
http://www.generateit.net/mod-rewrite/index.php
Gumir J | VR Panoramic Photographer | mobile: +77055717171 | skype: gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
punkito
Posts: 9
Joined: Fri Mar 20, 2009 7:12 am

Thanks, that is actually a solution, but I dont find it practical as we are not always able to modify .htaccess in every server we host the images.

Even more, if we are using a PRO version we should use any name we want, not only the assigned name and number with no relation to a human-readable or practical.

Thanks again for the solution; I may submit this to the pano2vr wishlist...
User avatar
JimWatters
Posts: 329
Joined: Thu Oct 07, 2010 6:16 pm
Location: Saint John, New Brunswick
Contact:

You could do your substitution in the html file right after the line.
var startNode=document.location.hash.substring(1);

The biggest problem with human entered names might be duplicate names. The node ID need to be unique.

I could see if someone created a link pointing to #node12 then the tour gets updated with more panos and rearranged so what was #node12 is someplace else. Using unique names would take you back to that node if it still existed.

Created a feature request. See Issue #1132
punkito
Posts: 9
Joined: Fri Mar 20, 2009 7:12 am

Thanks Jim! Regarding duplicated node ID's we already have in the skin editor a ! sign when duplicating an ID.

Nice that you already posted it in the wishlist. Thanks again!
Post Reply