Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
edunn
Visitor

Can't parse feed error, driving me crazy

-------------------------------------------
0 Kudos
8 REPLIES 8
renojim
Community Streaming Expert

Re: Can't parse feed error, driving me crazy

You're missing the slash on the closing <endIndex>.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: Can't parse feed error, driving me crazy

Running your feed through an XML validator can usually help hunt down parsing errors. My favorite is http://www.w3schools.com/xml/xml_validator.asp

This page contains the following errors:
error on line 23 at column 11: Opening and ending tag mismatch: endIndex line 0 and item
0 Kudos
edunn
Visitor

Re: Can't parse feed error, driving me crazy

I've fixed the missing slash, but it's still not parsing.

I entered my rss into that validator and I get "Error: Object # has no method 'load'" but then, when I load the RSS feed that the Roku example uses ( rokudev.roku.com/rokudev/examples/videoplayer/xml/globalissues.xml ) it also gets the same error from the validator.

I should note that the roku xml does work in my app.

Update: I moved the xml files from staging to the normal server, thinking it could be a permissions issue. Even then, it still won't parse. I also made a copy of the working Roku example rss and stored it locally, and it won't work either. Does the demo app have some sort of server configuration piece that's stopping it from loading any RSS feeds that I'm hosting?
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: Can't parse feed error, driving me crazy

You need to paste the XML into the validator, not the URL. But in addition to the endIndex problem, all your opening <item> tags are self-closing when they shouldn't be.
0 Kudos
edunn
Visitor

Re: Can't parse feed error, driving me crazy

Ah! That did the trick.

Thanks so much!!

-Evan
0 Kudos
Gary1980Arb
Channel Surfer

Re: Can't parse feed error, driving me crazy

RokuChris !!!

Thank you so much !!! I was having the same problem... the issue was within my Synopsis.. You can NOT have extended characters ANYWHERE within the XML. Jack & jill does not work... it must be Jack AND Jill...


Thanks again !!
0 Kudos
bandal
Visitor

Re: Can't parse feed error, driving me crazy

Jack &amp; Jill work in xml.
0 Kudos
Gary1980Arb
Channel Surfer

Re: Can't parse feed error, driving me crazy

Cool!! It does work that way!!

Thanks!!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.