Forum Discussion

Kavin_Jade's avatar
Kavin_Jade
Visitor
8 years ago

How to implement and where to host Json Feed?

How to implement and where to host Json Feed (file) . This is the feed file
{
"Videos" : [
{
"Title" : "Jeff Han Demos his Breakthrough Touchscreen",
"Image" : "http://rokudev.roku.com/rokudev/examples/videoplayer/images/JeffHan.jpg",
"Url" : "http://video.ted.com/talks/podcast/JeffHan_2006_480.mp4"
},
{
"Title" : "David Kelley on Human-Centered Design",
"Image" : "http://rokudev.roku.com/rokudev/examples/videoplayer/images/DavidKelley.jpg",
"Url" : "http://video.ted.com/talks/podcast/DavidKelley_2002_480.mp4"
},
{
"Title" : "Imogen Heap Plays 'Wait It Out'",
"Image" : "http://rokudev.roku.com/rokudev/examples/videoplayer/images/ImogenHeap.jpg",
"Url" : "http://video.ted.com/talks/podcast/ImogenHeap_WaitItOut_2009G_480.mp4"
},
{
"Title" : "Naturally 7 Beatboxes a Whole Band",
"Image" : "http://rokudev.roku.com/rokudev/examples/videoplayer/images/Naturally7.jpg",
"Url" : "http://video.ted.com/talks/podcast/Naturally7FLYBABY_2009_480.mp4"
},
{
"Title" : "Juan Enriquez Wants to Grow Energy",
"Image" : "http://rokudev.roku.com/rokudev/examples/videoplayer/images/JuanEnriquez.jpg",
"Url" : "http://video.ted.com/talks/podcast/JuanEnriquez_2007S_480.mp4"
}
]
}

Can anyone suggest me the code for getting the content from the server through Url and parse it. 
mail@ kavin.inbox@outlook.com

1 Reply

  • if you have only that many videos then it's ok, but it's not a proper way to get a response from URL. Basically it's a static JSON file not api