Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ken2400
Visitor

My first channel, how do I add RSS feed

Working on my first channel.
How do I add RSS feeds.
Looking for some example code.
I know how add them to Mediafly and other.

Thanks
0 Kudos
4 REPLIES 4
TheEndless
Channel Surfer

Re: My first channel, how do I add RSS feed

Take a look at the MediaRSSToolkit.brs source file in the deviantart SDK example.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
ken2400
Visitor

Re: My first channel, how do I add RSS feed

So I am making some progress by using deviantart.

I would like to build an Associative Array like the one below using a loop.
How can I do it?
Using it to build selections on the screen.

gmainmenudata = [
{ShortDescriptionLine1:"testit", ShortDescriptionLine2:"SlideShow User Favorites", HDPosterUrl:ghdposter, SDPosterUrl:gsdposter}
{ShortDescriptionLine1:"Daily Deviations", ShortDescriptionLine2:"SlideShow Daily Deviation", HDPosterUrl:ghdposter, SDPosterUrl:gsdposter}
]

Thanks
0 Kudos
renojim
Community Streaming Expert

Re: My first channel, how do I add RSS feed

Do you mean something like this?


description1 = ["testit","Daily Deviations"]
description2 = ["SlideShow User Favorites","SlideShow Daily Deviation"]
gmainmenudata = []
for i = 0 to description1.Count() - 1
gmainmenudata.Push({ShortDescriptionLine1:description1[i],
ShortDescriptionLine2:description2[i],
HDPosterUrl:ghdposter,
SDPosterUrl:gsdposter})
end for

-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.
0 Kudos
ken2400
Visitor

Re: My first channel, how do I add RSS feed

Thanks for the help. It works now.
0 Kudos