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
<!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>
Users browsing this forum: No registered users and 2 guests