Sie sind nicht angemeldet.

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

1

Freitag, 5. August 2011, 20:04

get contents of data:name

html="data:htmldata"

given the variable link data:htmldata how do you get the contents of the data?
Is there an easy way?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Freitag, 5. August 2011, 20:19

Nevermind, I really only use one data variable at the moment, so I simply hard coded a get for data[html].content. I imagine I could have used some combo of aldos string plugins to get the string just after data: and plugged that in.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Samstag, 6. August 2011, 11:55

Hi,

see here:
http://krpano.com/docu/xml/#data

"data[name].content" contains the content of the <data> element,

best regards,
Klaus

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Samstag, 6. August 2011, 15:04

Yes, I know. But first I queried plugin.html for data:name. I was looking for the shortest method to go from
data:name to data(name).content. But my case is to simple to truly need a complete algorithm. I just matched on the full name instead of try to parse it.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour