Forum Discussion

Blackhawk's avatar
Blackhawk
Roku Guru
9 years ago

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?

2 Replies

  • 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.
  • 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?