Naveed_Anjum
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2010
06:15 AM
Multilevel categories
Hello everybody:
Can anybody tell me how can we modify code and xml of video player example in order to add multilevel categories?
For example here is the xml sample that is taken from video player example:
I want actully to add another category under "Technology" and then want to add "categoryleaf" under that new category. So tell me guys how can i do that?
Can anybody tell me how can we modify code and xml of video player example in order to add multilevel categories?
For example here is the xml sample that is taken from video player example:
<category title="Technology" description="TED Talks on Technology" sd_img="http://rokudev.roku.com/rokudev/examples/videoplayer/images/TED_Technology.png" hd_ img="http://rokudev.roku.com/rokudev/examples/videoplayer/images/TED_Technology.png">
<categoryLeaf title="The Mind" description="" feed="http://rokudev.roku.com/rokudev/examples/videoplayer/xml/themind.xml"/>
<categoryLeaf title="Global Issues" description="" feed="http://rokudev.roku.com/rokudev/examples/videoplayer/xml/globalissues.xml" />
</category>
I want actully to add another category under "Technology" and then want to add "categoryleaf" under that new category. So tell me guys how can i do that?
1 REPLY 1

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2010
09:59 AM
Re: Multilevel categories
You could create another xml feed for the next level category, and then create a new function like InitCategoryFeedConnection()... maybe call it Init2ndLevelCategoryFeedConnection() and then follow the code through and link it all up just like the home screen was.
--Kevin
--Kevin