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: 
matrixebiz
Roku Guru

Re: JSON Feed and Converting Channels

Hi Guys, I copied the same info located in the sample : https://api.myjson.com/bins/3sa1g to my server to file called File.JSON then changed the Feed URL to my server file but when checking the feed status it says;
Unable to download from feedUrl

What am I doing wrong?
0 Kudos
newchannel
Roku Guru

Re: JSON Feed and Converting Channels

You copied the content from that link and tthen to place it on your server...did you paste it into a text file and save the text tile in the folder you made? 

I'm wondering how to add it to my aws server using cloudberry. I have folders that are .xml so have no idea how to ad JSON ..

I discovered a place online that hosts JSON but the one I found is not secure.
http://www.victoryNOWfilmsandtv.com
0 Kudos

Re: JSON Feed and Converting Channels

"matrixebiz" wrote:
Hi Guys, I copied the same info located in the sample : https://api.myjson.com/bins/3sa1g to my server to file called File.JSON then changed the Feed URL to my server file but when checking the feed status it says;
Unable to download from feedUrl

What am I doing wrong?

Did you change the permissions of the file after you uploaded it to have it be able to be Read by All and not just Owner?
0 Kudos
matrixebiz
Roku Guru

Re: JSON Feed and Converting Channels

"attilascreative" wrote:
"matrixebiz" wrote:
Hi Guys, I copied the same info located in the sample : https://api.myjson.com/bins/3sa1g to my server to file called File.JSON then changed the Feed URL to my server file but when checking the feed status it says;
Unable to download from feedUrl

What am I doing wrong?

Did you change the permissions of the file after you uploaded it to have it be able to be Read by All and not just Owner?

EDIT: Changed to a different server to host my file and it is working now : https://forums.roku.com/viewtopic.php?f=100&t=99232
0 Kudos
jofo
Visitor

Re: JSON Feed and Converting Channels

I too am new to this process and would like to understand where the Direct Publisher feed url is pointing to exactly. I've prepared the sample json file as a text file. Converted it to .json. Uploaded the .json file to my s3 aws server and granted public permissions yet I get the error The feed URL(s) could not be validated.
  • The server returned an unsupported content type. Was expecting 'application/rss+xml', 'text/xml', 'application/xml' or 'application/json' but received 'application/octet-stream'.
    Not sure 

    It is asking for a feed url. I'm stomped on this one.
  • 0 Kudos
    matrixebiz
    Roku Guru

    Re: JSON Feed and Converting Channels

    Changed to a different server to host my file and it is working now : https://forums.roku.com/viewtopic.php?f=100&t=99232
    0 Kudos
    hpdean
    Visitor

    Re: JSON Feed and Converting Channels

    "jofo" wrote:
    I too am new to this process and would like to understand where the Direct Publisher feed url is pointing to exactly. I've prepared the sample json file as a text file. Converted it to .json. Uploaded the .json file to my s3 aws server and granted public permissions yet I get the error The feed URL(s) could not be validated.
  • The server returned an unsupported content type. Was expecting 'application/rss+xml', 'text/xml', 'application/xml' or 'application/json' but received 'application/octet-stream'.
    Not sure

    It is asking for a feed url. I'm stomped on this one.



  • You have to change your S3 metadata to application/json.  I had to do it in S3 browser software because it wouldnt let me do it from the panel.
  • 0 Kudos
    hpdean
    Visitor

    Re: JSON Feed and Converting Channels

    I am really having a difficult time converting my content to a JSON Feed.  I have used the sample content from "https://api.myjson.com/bins/3sa1g" and just inserted one of my content videos, I have verified it with the JSON validator, but when I add it as my feed url and check my Feed URL status, it is giving me a ton of errors.  Here is my JSON feed  -http://hproku.s3.amazonaws.com/JSON/single-movie.json.  Could someone please check this and let me know why it is giving me all these errors?

    {"providerName":"Hope Point Church","language":"en-US","lastUpdated":"2017-02-07T22:21:37+00:00",
    "movies":[{"id":"20170205","title":"This is All that Matters","content":{"dateAdded":"2017-02-07T22:21:37+00:00",
    "videos":[{"url":"https://player.vimeo.com/external/202773657.m3u8?s=85a36bc2ad5bc9d8ae53e4157557e550bf28a680",
    "quality":"HD","videoType":"HLS"}],"duration":2934,"genres":["faith"],"tags":["recent"],"thumbnail":
    "http://hopepoint.s3.amazonaws.com/Sermon-Stills/this-is-all-that-matters.jpg","releaseDate":"2017-02-07",
    "shortDescription":"All that matters is faith expressed through our love."}}]}





    • 02/08/2017 02:49PM
      No valid items were found in the feed

    • 1 item has an error: Required content dateAdded missing or invalid.

    • 1 item has an error: Required movie genres is missing or invalid.

    • 1 item has an error: Required movie thumbnail is missing.

    • 1 item has an error: Required movie shortDescription is missing.

    • 1 item has an error: Required movie release date is missing or invalid.
    0 Kudos
    matrixebiz
    Roku Guru

    Re: JSON Feed and Converting Channels

    I'm not sure if this is the problem or not but checking your source page : view-source:https://hproku.s3.amazonaws.com/JSON/single-movie.json your code starts on line 3, what is at the beginning of your file occupying lines 1 and 2? Spaces, Returns, Tabs? Maybe delete all the stuff in the front of {"providerName" and see if that makes a difference. I'm new to this as well so not sure if the feed is checking line 1 and sees that there is nothing there and that is why it is telling you that all that stuff is missing ??
    0 Kudos
    hpdean
    Visitor

    Re: JSON Feed and Converting Channels

    I changed what you suggested but it is still giving me those errors.  Maybe it is because I do not have categories listed.  I will try to figure out how to add categories.    I came across this sample content on the forum and it looks a lot more in depth.  https://api.myjson.com/bins/4tu28  
    0 Kudos
    Community is Temporarily in Read-Only Mode!

    We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

    Planned Downtime:
    Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

    Thanks for your patience — we’re excited to share what’s next!