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: 
5ytech
Visitor

Adding XML to ROKU GRID

Hello All,

I am New to ROKU... i have a grid screen. and i want to connect xml to this grid in a simple way. how can i connect that?


please help me i am struck
my xml looks like:

<video>
<ChannelTitle>A TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Archive_20130408_15.17.45.asf111111</VideoTitle>
<Videosource/>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>A TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Prash</VideoTitle>
<Videosource>source</Videosource>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>A TV</ChannelTitle>
<LikesCount>1</LikesCount>
<Thumbnail>ChildrenMuseum_Thumb.jpg</Thumbnail>
<VideoTitle>2012 07 03 4 32 pm.mp4</VideoTitle>
<Videosource>ChildrenMuseum.ism</Videosource>
<ViewsCount>39</ViewsCount>
</video>
<video>
<ChannelTitle>A TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Archive_20130406_11.55.48.asf</VideoTitle>
<Videosource/>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>A TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Archive_20130408_15.31.14.asf</VideoTitle>
<Videosource/>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>A TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Amber_10.wmv</VideoTitle>
<Videosource/>
<ViewsCount>10</ViewsCount>
</video>
<video>
<ChannelTitle>A TV</ChannelTitle>
<LikesCount>1</LikesCount>
<Thumbnail>10Little Numbers_18_Thumb.jpg</Thumbnail>
<VideoTitle>ABCAlphabetTrain.mov</VideoTitle>
<Videosource>10Little Numbers_18.ism</Videosource>
<ViewsCount>34</ViewsCount>
</video>
<video>
<ChannelTitle>B TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Archive_20130409_10.57.20.asf</VideoTitle>
<Videosource>source</Videosource>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>B TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail>Parrots_1_Thumb.jpg</Thumbnail>
<VideoTitle>MrsEppsTeacherOfYear_Thumb.mp4</VideoTitle>
<Videosource>Parrots_1.ism</Videosource>
<ViewsCount>9</ViewsCount>
</video>
<video>
<ChannelTitle>B TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>test121.ts</VideoTitle>
<Videosource/>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>B TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>123_test_Archive_20130412_17.17.45.asf</VideoTitle>
<Videosource>source</Videosource>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>B TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail>Encoder1-868000_39_Thumb.jpg</Thumbnail>
<VideoTitle>testedit1.ts</VideoTitle>
<Videosource>Encoder1-868000_39.ism</Videosource>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>B TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Archive_20130410_14.36.02.asf</VideoTitle>
<Videosource>source</Videosource>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>B TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Archive_20130409_10.52.28.asf</VideoTitle>
<Videosource/>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>B TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Archive_20130410_11.19.35555555555.asf</VideoTitle>
<Videosource/>
<ViewsCount>0</ViewsCount>
</video>
<video>
<ChannelTitle>C TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail>Christmas_holidays_1_Thumb.jpg</Thumbnail>
<VideoTitle>Christmas_holidays_1.mp4</VideoTitle>
<Videosource>Christmas_holidays_1.ism</Videosource>
<ViewsCount>7</ViewsCount>
</video>
<video>
<ChannelTitle>C TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail/>
<VideoTitle>Archive_20130408_18.31.52.asf</VideoTitle>
<Videosource>source</Videosource>
<ViewsCount>13</ViewsCount>
</video>
<video>
<ChannelTitle>G TV</ChannelTitle>
<LikesCount>0</LikesCount>
<Thumbnail>Christmas_holidays_14_Thumb.jpg</Thumbnail>
<VideoTitle>2012 Tennis sudhakar test.mp4</VideoTitle>
<Videosource>Christmas_holidays_14.ism</Videosource>
<ViewsCount>96</ViewsCount>
</video>
<video>
0 Kudos
1 REPLY 1
joetesta
Roku Guru

Re: Adding XML to ROKU GRID

I haven't done it yet but I'm about to start; the simplevideoplayer app has the code needed, just need to figure how to merge the simplegrid into it.
aspiring
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.