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

Making separate rows while making RSS feed

I'm setting up a ScreenGraph channel to have each row to be assigned a show, will setting up a playlist in the RSS feed work?
0 Kudos
2 REPLIES 2

Re: Making separate rows while making RSS feed

Hi,
Yeah, if you want to show data row wise on scene graph then you need to add playlist data in RSS feed, well it would be better for me to help you out more clearly if you can elaborate your question little more, we can show in row format using Row list and Markup grid list.
0 Kudos
Blackhawk
Roku Guru

Re: Making separate rows while making RSS feed

This is what I'm doing for now

Function GetApiArray()

url = CreateObject("roUrlTransfer")

url.SetUrl("https://vimeo.com/user58726303/subscriptions/videos/rss/a99c10e1d3d24eb1f2f391facb3722b2615c94dc")

rsp = url.GetToString()

responseXML = ParseXML(rsp)

responseXML = responseXML.GetChildElements()

responseArray = responseXML.GetChildElements()

result = []

for each xmlItem in responseArray

if xmlItem.getName() = "item"

itemAA = xmlItem.GetChildElements()

if itemAA <> invalid

item = {}

for each xmlItem in itemAA

item[xmlItem.getName()] = xmlItem.getText()

if xmlItem.getName() = "media:content"

item.stream = {url : xmlItem.url}

item.url = xmlItem.getAttributes().url

item.streamFormat = "mp4"



mediaContent = xmlItem.GetChildElements()

for each mediaContentItem in mediaContent

if mediaContentItem.getName() = "media:thumbnail"

item.HDPosterUrl = mediaContentItem.getattributes().url

item.hdBackgroundImageUrl = mediaContentItem.getattributes().url

end if

end for

end if

end for

result.push(item)

end if

end if

end for

return result

End Function


If I make my own RSS feed, what language should I use?
0 Kudos