ioan
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2011
09:36 AM
XML Question
Hi,
Short question, is the roku able to read an xml like this:
<episode title="Ancient Aliens" subtitle="Chariots, Gods & Beyond" basename="Ancient+Aliens%5CAncient+Aliens_20110126_21002300.mpg" airdate="2011-01-26 21:00" hd_img="http://192.168.1.55/dvr/Ancient%20Aliens/Ancient%20Aliens_20110126_21002300_hd.png" sd_img="http://192.168.1.55/dvr/Ancient%20Aliens/Ancient%20Aliens_20110126_21002300_sd.png"></episode>
or should I make it with all the fields encoded like this:
<episode title="Ancient+Aliens" subtitle="Chariots%2C+Gods+%26+Beyond" basename="Ancient+Aliens%5CAncient+Aliens_20110126_21002300.mpg" airdate="2011-01-26+21%3A00" hd_img="http://192.168.1.55/dvr/Ancient%20Aliens/Ancient%20Aliens_20110126_21002300_hd.png" sd_img="http://192.168.1.55/dvr/Ancient%20Aliens/Ancient%20Aliens_20110126_21002300_sd.png"></episode>
Thanks.
Short question, is the roku able to read an xml like this:
<episode title="Ancient Aliens" subtitle="Chariots, Gods & Beyond" basename="Ancient+Aliens%5CAncient+Aliens_20110126_21002300.mpg" airdate="2011-01-26 21:00" hd_img="http://192.168.1.55/dvr/Ancient%20Aliens/Ancient%20Aliens_20110126_21002300_hd.png" sd_img="http://192.168.1.55/dvr/Ancient%20Aliens/Ancient%20Aliens_20110126_21002300_sd.png"></episode>
or should I make it with all the fields encoded like this:
<episode title="Ancient+Aliens" subtitle="Chariots%2C+Gods+%26+Beyond" basename="Ancient+Aliens%5CAncient+Aliens_20110126_21002300.mpg" airdate="2011-01-26+21%3A00" hd_img="http://192.168.1.55/dvr/Ancient%20Aliens/Ancient%20Aliens_20110126_21002300_hd.png" sd_img="http://192.168.1.55/dvr/Ancient%20Aliens/Ancient%20Aliens_20110126_21002300_sd.png"></episode>
Thanks.
https://github.com/e1ioan/
http://rokucam.com
http://rokucam.com
1 REPLY 1

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2011
09:52 AM
Re: XML Question
The Roku will only parse properly formatted XML. "," would be OK but "&" is not acceptable. The characters "<", ">", "&", single quote, and double quote can be encoded with:
< represents "<", > represents ">", & represents "&", ' represents ', and " represents "
--Kevin
< represents "<", > represents ">", & represents "&", ' represents ', and " represents "
--Kevin