edunn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2011
01:53 PM
Can't parse feed error, driving me crazy
-------------------------------------------
8 REPLIES 8
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2011
01:58 PM
Re: Can't parse feed error, driving me crazy
You're missing the slash on the closing <endIndex>.
-JT
-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.
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.
RokuChris
Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2011
01:58 PM
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
edunn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2011
02:11 PM
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?
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?
RokuChris
Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2011
02:54 PM
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.
edunn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2011
01:03 PM
Re: Can't parse feed error, driving me crazy
Ah! That did the trick.
Thanks so much!!
-Evan
Thanks so much!!
-Evan
Gary1980Arb
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2012
03:58 PM
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 !!
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 !!
bandal
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2012
04:11 PM
Re: Can't parse feed error, driving me crazy
Jack & Jill work in xml.
Gary1980Arb
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2012
07:00 AM
Re: Can't parse feed error, driving me crazy
Cool!! It does work that way!!
Thanks!!
Thanks!!