Image-stitching and virtual tour solutions My account Updates
It is currently Sat Aug 30, 2014 3:32 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Link generator
PostPosted: Mon Nov 18, 2013 11:03 pm 
Offline
Member

Joined: Mon Jul 19, 2010 8:53 pm
Posts: 2105
A tool that generates al links to all panoramas and groups into a text file so I can easily send them to customers.

Saves me going through index.xml looking for <scene name="pano text


Top
 Profile  
 
 Post subject: Re: Link generator
PostPosted: Mon Nov 18, 2013 11:20 pm 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 13842
Location: Isleham, Cambridgeshire, UK.
HansKeesom wrote:
A tool that generates al links to all panoramas and groups into a text file so I can easily send them to customers.

Saves me going through index.xml looking for <scene name="pano text


Clicking on the 'i' icon in the panorama properties - see screenshot - will reveal the panoID.


Attachments:
1-ptp2b4-panoid.jpg
1-ptp2b4-panoid.jpg [ 248.08 KiB | Viewed 326 times ]
Top
 Profile  
 
 Post subject: Re: Link generator
PostPosted: Tue Nov 19, 2013 11:43 pm 
Offline
Member

Joined: Mon Jul 19, 2010 8:53 pm
Posts: 2105
Still a bit to much work when 30 panoramas in tour.


Top
 Profile  
 
 Post subject: Re: Link generator
PostPosted: Thu Nov 21, 2013 10:19 am 
Offline
Member
User avatar

Joined: Tue Jan 18, 2011 4:05 pm
Posts: 1620
What can be easily done is a new HTML template containing all the links inside the tour above or on the left of the tour.


Top
 Profile  
 
 Post subject: Re: Link generator
PostPosted: Thu Nov 21, 2013 11:53 am 
Offline
Member
User avatar

Joined: Tue Apr 09, 2013 10:59 am
Posts: 2148
Location: France
Generate an html file into your panotour user directory html (Edit > Open user directory).

Add this code into the file created :
Code:
<!DOCTYPE html>
<html>
   <head>
      <meta charset="utf-8" />
      <title>List of Panorama ID</title>
   </head>
   <body>
{% if project.panoGroups.count %}

{% for group in project.panoGroups %}
{% if group.isExplicit %}
   <p>
   <b>Group</b>
   <br />
   ID : {{group.tourId}}
   <br />
   Title : {{ group.description.name }}
   <br />
   Main scene : {{ group.mainPanoTourId }}
   <br />
   <hr />
   </p>
{% endif %}

 {% for pano in group.panos %}
   <p>
   Panorama name : {{ pano.description.name }}
   <br />
   Panorama ID : {{pano.tourId}}</p>
   <hr />
  {% endfor %}

  <br />
  <br />
{% endfor %}

{% endif %}
   </body>
</html>


Reload panotour and use the new template into the build window.

_________________
Benjamin
http://www.kolor.com


Top
 Profile  
 
 Post subject: Re: Link generator
PostPosted: Thu Nov 21, 2013 8:14 pm 
Offline
Member

Joined: Mon Jul 19, 2010 8:53 pm
Posts: 2105
Cool, but this is just a list, I would like to have it immediately as http://-links


Top
 Profile  
 
 Post subject: Re: Link generator
PostPosted: Fri Nov 22, 2013 9:24 am 
Offline
Member
User avatar

Joined: Tue Apr 09, 2013 10:59 am
Posts: 2148
Location: France
as ?

_________________
Benjamin
http://www.kolor.com


Top
 Profile  
 
 Post subject: Re: Link generator
PostPosted: Sat Nov 23, 2013 12:48 am 
Offline
Member

Joined: Mon Jul 19, 2010 8:53 pm
Posts: 2105
As all the addresses of each individual panorama as they can be linked to when online.

So a list with links like this
..................
Group Beijum
Panorama Buiten
http://alsofjeerbent.nl/panoramas/Sport ... ne=pano415
.................


or at least

..................
Group Beijum
Panorama Buiten
http://127.0.0.1/index.html?startscene=pano415
.................


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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