Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Jen_Jen
Channel Surfer

RSS feed errors despite json validation

When I attempt to create a channel and provide a feed: http://www.msdivine.net/roku/msdivinetv.rss

I keep getting error "Failed to parse the feed with the following XML error: 'Error: Non-whitespace before first tag. Line: 0 Column: 1 Char: {'."

However running this file through a json lint such as https://jsonformatter.curiousconcept.com/, i am able to validate that my format is correct.

 

Please advise.

Tags (2)
0 Kudos
11 REPLIES 11
Baradanikto
Roku Guru

Re: RSS feed errors despite json validation

By using a ".rss" file extension, you are implying that the feed file is XML based, when in fact, its contents are json based.  Try renaming the file to use a ".json" extension.

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
Jen_Jen
Channel Surfer

Re: RSS feed errors despite json validation

So now i upload the feed as http://www.msdivine.net/roku/MsDivineTeeHee.json but it says that "No valid items were found in the feed: validate"

I have no idea why. Please advise.

0 Kudos
37mediagroup
Roku Guru

Re: RSS feed errors despite json validation

What's the deal with the actual video url (.mp4)?  It doesn't seem to play when pasted into a browser, does it?

0 Kudos
Baradanikto
Roku Guru

Re: RSS feed errors despite json validation

Your feed file seems to validate correctly.  If you've used the same name for the feed file after making changes, it may take upwards of 6+ hours for Roku to update your channel.

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
Jen_Jen
Channel Surfer

Re: RSS feed errors despite json validation

The link initially had no video for some weird reason. Now I put the proper link and it plays in the browser.

But I still am getting error ""No valid items were found in the feed: validate"

0 Kudos
Baradanikto
Roku Guru

Re: RSS feed errors despite json validation

One other thing to check.  Go to the Roku Developer's portal and check the menu item for "Categories".  Your feed file contains a Category item, so, you should insure that you've checked "From feed" in the developer portal.

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
Jen_Jen
Channel Surfer

Re: RSS feed errors despite json validation

I checked the portal and category is checked with feed. I still am getting error "1 item has an error: No valid items were found in the feed: validate"

Please advise.

0 Kudos
prod-3213
Newbie

Re: RSS feed errors despite json validation

I am receiving the same error, but not just with my file, with ANY file I try, including the supplied tutorial file, linked here:  https://api.myjson.com/bins/4tu28

 

 

0 Kudos
anthill
Newbie

Re: RSS feed errors despite json validation

Hello.

I'm having the same issue. Feed is json, but I'm getting the same error that others reported:

 

Failed to parse the feed with the following XML error: 'Error: Non-whitespace before first tag. Line: 0 Column: 1 Char: {'.

 

I'm using the WordPress Direct Publisher for Roku (https://github.com/heyjones/roku-direct-publisher).

This is my feed: https://storiessecretsandsagas.com/feed/roku-direct-publisher/

Any assistance is much appreciated.

Thanks.

0 Kudos