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

JSON File...to server?

Can someone help me a bit on JSON files?

1. Can it add it to my AWS server like I did XML files? I have files in a bucket on AWS.

2. Then, I just refer to the url of the JSON file in the bucket to paste it into the DP correct"

3.. Or, where can I save JSON file so i can have a url link to put into Direct Publisher? 

I may have more questions later. I've been reading online but need help because I have 10 channels to convert with  DP. I appreciate all info you can provide.

Thank you. 
http://www.victoryNOWfilmsandtv.com
0 Kudos
8 REPLIES 8
genepensiero
Roku Guru

Re: JSON File...to server?

I have some of these same questions. I'm not familiar with JSON, need all the help I can get. 
0 Kudos
newchannel
Roku Guru

Re: JSON File...to server?

I've been researching for 2 days but still have not found enough information so i can prepare my channels. I hope we both can get the answers we need. 
http://www.victoryNOWfilmsandtv.com
0 Kudos
37mediagroup
Roku Guru

Re: JSON File...to server?

Is using myjson.com trustworthy?  Do their URLs stay indefinitely? (longevity/permanant)  I realize it may not be ideal to host it elsehwere but my personal site is a Wordpress site and I don't think I can mix a custom page into it.  I suppose I could look to create a subdomain and point it to it.
0 Kudos
kane2931
Channel Surfer

Re: JSON File...to server?

You can even use Pastebin to host your JSON file (save it as unlisted), then use the "raw" link and paste it on Direct Publisher url.  Simple, easy and cost nothing.
0 Kudos
DGPT
Visitor

Re: JSON File...to server?

I'm just getting started as well but myjson.com seems like a perfect site to utilize as it will set the file to the right type and makes it callable by Roku. Good luck!
0 Kudos
mitchstein
Roku Guru

Re: JSON File...to server?

on most servers all you need to is create a mime type to handle the json file...

On windows servers simple assign it to be interpeted by asp.dll..


  1. Open IIS Manager

  2. Display properties for the IIS Server

  3. Click MIME Types and then add the JSON extension:

    • File name extension: .json

    • MIME type: application/json

  4. Go back to the properties for IIS Server

  5. Click on Handler Mappings

    • Add a script map

    • Request path: *.json

    • Executable: C:\WINDOWS\system32\inetsrv\asp.dll

    • Name: JSON
http://www.TVByDemand.com
0 Kudos
stubbstarbuck
Binge Watcher

Re: JSON File...to server?

You can have your JSON file anywhere where it can be accessed publicly. Make sure uploading it doesn't change the mime type from application/json. I host mine on Github pages, though you may want to keep it private so your video links aren't public.

Since the file needs to be publicly available (not password protected), you may want to create a robots.txt file for the folder it is in. Just create a text file, put it one step above the containing folder, and put the following text in.

User-agent: *
Disallow: /jsonfeedfoldername/
0 Kudos
mitchstein
Roku Guru

Re: JSON File...to server?

yes anywhere where it can publicly accessed and that the server it is on knows to handle it as a script file and not a txt file.. 
http://www.TVByDemand.com
0 Kudos