This project is used to rename krpano tour.xml scenes and generate texts hotspots based in hotspots existents. Made by my own.
Feel free to contribute
This project use node-xml2js
In project folder execute:
$ npm install
Copy tour.xml
into root project folder.
$ node scenes.js e
{ scenes:
[ { name: 'scene_1', title: 'Entrada Principal' },
{ name: 'scene_2', title: 'Área Comum' }, ...
Edit this: title: 'Entrada Principal'
to title: 'Entrada Principal 2'
After edit scenes.json
using command bellow:
$ node scenes.js i
This command generate tour_modificado.xml
and keep the original file tour.xml
.
Copy tour.xml
into root project folder and execute the command bellow:
$ node hotspot.js
This command generate tour_modificado.xml
and keep the original file tour.xml
.
Use <br>
when you use <br>
into xml code.
Any questions or suggestions contact me.
Twitter: @alexishida
Telegram: @alexishida
E-mail: [email protected]