Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
wagbklyn
Level 7

Roku SceneGraph Sample Channel – “SThree”


In the Sample grid and video example

the following code is located in the main brs. file
the working example uses this to feed the media rss feed? Correct?

Function GetApiArray()
url = CreateObject("roUrlTransfer")
url.SetUrl("http://api.delvenetworks.com/rest/organizations/59021fabe3b645968e382ac726cd6c7b/channels/1cfd09ab38e54f48be8498e0249f5c83/media.rss")

How do I create an Mrss feed of my content?

so I can use the same sample grid and video example - I want to add my own content but use the sample as is.

Currently I have a youtube channel of my video playlist.

Thanks in advance
0 Kudos
9 Replies
EnTerr
Level 8

Re: Roku SceneGraph Sample Channel – “SThree”

Simplest way would be "mutating" the xml from the example. Open the url from above in browser, save locally, open in text editor and start massaging "by example". That way you hit the ground running. Upload the result to own server and peruse. Cheers!
0 Kudos
Roku Employee
Roku Employee

Re: Roku SceneGraph Sample Channel – “SThree”

Before you can create a feed you'll need to host your content somewhere, typically through an OVP or CDN. Unfortunately, YouTube does not create feeds for its users, so you'll need to pay for another service. We've included a list of popular hosting options in our "How Roku Channels Work" blog post: https://blog.roku.com/developer/2016/04/06/how-roku-channels-work/

Once you've decided on a platform to host your content, their UI will likely have some sort of option to generate an MRSS feed for you.
0 Kudos
hnet
Level 7

Re: Roku SceneGraph Sample Channel – “SThree”

I have worked the code around to fit my needs of the channel of Biztale.
You may download the .zip and edit the file to your needs for yourself.
This is my entire Channel rebuilt--> https://1drv.ms/u/s!Aq_6QqHVZYj8maUEp8GU-mZLjxbcQA
To see the channel in action my.roku.com/add/biztale


Here is my version of MRSS. If you download my .zip the feed will be inside the folder marked XML

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
<channel>
<title>Biztale Feed</title>
<link />
<description>This is AutoPlaylist for Biztale based on Roku-Sample Feed</description>
<pubDate>Fri, 25 March 2016 8:19am EST</pubDate>
<image>
<title>Biztale AutoPlay Feed</title>
<url>http://biztale.xyz/roku/images/splash_hd.png</url>
</image>
<item>
<title>MemoryTale : Robin Williams</title>
<link>http://media5000.dropshots.com/photos/1321530/20160511/071052.mp4</link>
<description>Preserving our Past and Future - In respect for those we loved and adorned I’ve decided to launch a new feature to sustain a legacy and to capture the essence for ages to experience. </description>
<pubDate>Thu, 11 Jun 2015 16:51:07 GMT</pubDate>
<guid isPermaLink="false">decbe34b64ea4ca281dc09997d0f23fd</guid>
<media:content channels="2" bitrate="1328.0" duration="137" fileSize="8731706" framerate="23.976" height="720" type="video/mp4" width="1280" isDefault="true" url="http://media5000.dropshots.com/photos/1321530/20160511/071052.mp4">
<media:description>Preserving our Past and Future - In respect for those we loved and adorned I’ve decided to launch a new feature to sustain a legacy and to capture the essence for ages to experience. </media:description>
<media:keywords>episode 7, memorytale</media:keywords>
<media:releasedate>May 11, 2016</media:releasedate>
<media:thumbnail url="http://biztale.xyz/images/biztale/MemoryTale%20-%20Robin%20Williams.png" />
<media:title>MemoryTale : Robin Williams</media:title>
</media:content>
</item>
<item>
<title>LIMITED **Angriest Whopper and EXTRA LONG PHILLY CHEESEBURGER** http://www.bk.com</title>
<link>http://media4002.dropshots.com/photos/1246494/20151125/224333.mp4</link>
<description>Bring it @ BKC! We’re a business that’s 100% built on the energy and hunger. facebook.com/burgerking | twitter.com/BurgerKing</description>
<pubDate>Thu, 11 Jun 2015 16:51:07 GMT</pubDate>
<guid isPermaLink="false">decbe34b64ea4ca281dc09997d0f23fd</guid>
<media:content channels="2" bitrate="1328.0" duration="120" fileSize="8731706" framerate="23.976" height="720" type="video/mp4" width="1280" isDefault="true" url="http://media4002.dropshots.com/photos/1246494/20151125/224333.mp4">
<media:description>Join the Fan Kingdom! http://www.bk.com</media:description>
<media:keywords>episode 1, biztale</media:keywords>
<media:releasedate>Jan 1, 2012</media:releasedate>
<media:thumbnail url="http://hnet.16mb.com/images/biztale/bk_hd.png" />
<media:title>Burger King: Bring it @ BKC!</media:title>
</media:content>
</item>
<item>
<title>CSX: How Tommorow Moves</title>
<link>http://media4002.dropshots.com/photos/1246494/20151110/062327.mp4</link>
<description>csx.com|We don't just pass through our Communities, We Join Them!|facebook.com/OfficialCSX | twitter.com/CSX</description>
<pubDate>Thu, 21 May 2015 18:47:20 GMT</pubDate>
<guid isPermaLink="false">6c9d0951d6d74229afe4adf972b278dd</guid>
<media:content channels="2" bitrate="1328.0" duration="120" fileSize="9523612" framerate="23.976" height="720" type="video/mp4" width="1280" isDefault="true" url="http://media4002.dropshots.com/photos/1246494/20151110/062327.mp4">
<media:description>csx.com|We don't just pass through our Communities, We Join Them! | facebook.com/OfficialCSX | twitter.com/CSX</media:description>
<media:keywords>episode 2, biztale</media:keywords>
<media:thumbnail url="http://hnet.16mb.com/images/biztale/csx-logo_hd.png" />
<media:title>CSX: How Tommorow Moves</media:title>
</media:content>
</item>
<item>
<title>GameStop: Power to the Players</title>
<link>http://media5002.dropshots.com/photos/1321530/20160309/085448.mp4</link>
<description>You have been to our stores and traded out games, but did you know there is more to what we are about? Learn more at Gamestop.com and join our reward program to earn more.</description>
<pubDate>Thu, 21 May 2015 18:45:58 GMT</pubDate>
<guid isPermaLink="false">7405a8c101ee4c9da312c426e6067044</guid>
<media:content channels="2" bitrate="1328.0" duration="219" fileSize="11678262" framerate="23.976" height="720" type="video/mp4" width="1280" isDefault="true" url="http://media5002.dropshots.com/photos/1321530/20160309/085448.mp4">
<media:description>You have been to our stores and traded out games, but did you know there is more to what we are about? Learn more at Gamestop.com and join our reward program to earn more.</media:description>
<media:keywords>episode 3, biztale</media:keywords>
<media:thumbnail url="http://hnet.16mb.com/images/biztale/gamestop_hd.png" />
<media:title>GameStop: Power to the Players</media:title>
</media:content>
</item>
<item>
<title>Sykes Enterprises: You were Referred by John Hilla in Sales and Support</title>
<link>http://media4000.dropshots.com/photos/1246494/20151014/231540.mp4</link>
<description>Discover how Sykes customer engagement solutions can help your business grow! -> Now hiring on Sykes.com, Learn more on facebook.com/sykeslakeland2</description>
<pubDate>Thu, 13 Aug 2015 17:48:22 GMT</pubDate>
<guid isPermaLink="false">5686748268874a57a4ba3debda1619dd</guid>
<media:content channels="2" bitrate="1328.0" duration="120" fileSize="10344255" framerate="23.976" height="720" type="video/mp4" width="1280" isDefault="true" url="http://media4000.dropshots.com/photos/1246494/20151014/231540.mp4">
<media:description>An EOE with Expertise and Integrity. Discover how Sykes customer engagement solutions can help your business grow! Learn more on facebook.com/sykeslakeland2 | twitter.com/SYKESteam</media:description>
<media:keywords>episode 4, biztale</media:keywords>
<media:thumbnail url="http://hnet.16mb.com/images/biztale/sykes_hd.png" />
<media:title>Sykes: An EOE with Expertise and Integrity.</media:title>
</media:content>
</item>
<item>
<title>WordTale: A is for Apple</title>
<link>http://media5001.dropshots.com/photos/1321530/20160113/011650.mp4</link>
<description>WordTale: A is for Apple -- Email hnet@biztale.xyz for your WordTale creation. We always reference "A" is for Apple, but where did the Apple come from and how does it benefit us?</description>
<pubDate>Thu, 13 Aug 2015 17:48:22 GMT</pubDate>
<guid isPermaLink="false">5686748268874a57a4ba3debda1619dd</guid>
<media:content channels="2" bitrate="1328.0" duration="120" fileSize="10344255" framerate="23.976" height="720" type="video/mp4" width="1280" isDefault="true" url="http://media5001.dropshots.com/photos/1321530/20160113/011650.mp4">
<media:description>WordTale: A is for Apple -- Email hnet@biztale.xyz for your WordTale creation. We always reference "A" is for Apple, but where did the Apple come from and how does it benefit us?</media:description>
<media:keywords>episode 5, wordtale</media:keywords>
<media:thumbnail url="http://biztale.xyz/images/biztale/A%20is%20for%20Apple_hd.png" />
<media:title>WordTale: A is for Apple</media:title>
</media:content>
</item>
<item>
<title>Youtale: Dumpsterman - Discover old and new games, in Comments send Request</title>
<link>http://media5000.dropshots.com/photos/1321530/20160414/072252.mp4</link>
<description>Email hnet@biztale.xyz for your Youtale.</description>
<pubDate>Thu, 13 Aug 2015 17:48:22 GMT</pubDate>
<guid isPermaLink="false">5686748268874a57a4ba3debda1619dd</guid>
<media:content channels="2" bitrate="1328.0" duration="130" fileSize="10344255" framerate="23.976" height="720" type="video/mp4" width="480" isDefault="true" url="http://media5000.dropshots.com/photos/1321530/20160414/072252.mp4">
<media:description>Youtale: A Moment in Gaming - Discover old and new games</media:description>
<media:keywords>episode 6, youtale</media:keywords>
<media:thumbnail url="http://biztale.xyz/images/biztale/dumpsterman.png" />
<media:title>Email hnet@biztale.xyz for your Youtale.</media:title>
</media:content>
</item>
</channel>
</rss>
0 Kudos

Re: Roku SceneGraph Sample Channel – “SThree”

This helped tremendously - thank you!
0 Kudos
matrixebiz
Level 7

Re: Roku SceneGraph Sample Channel – “SThree”

Hello, is there a way that I can use/modify your zip Biztale package to load an XML file with a bunch of HLS streams/links instead of an rss file? 
Is the original Biztale package already setup to parse an XML file? Where can I download it to test if it is? Thank you

Example XML file: 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<categories>
 <feed title="Channel">
  <item sdImg="pkg:/images/SD/2.png" hdImg="pkg:/images/HD/2.png">
        <title>Stream 1</title>
          <description></description>
          <streamFormat>hls</streamFormat>
          <switchingStrategy>full-adaptation</switchingStrategy>
          <media>
                <streamQuality>HD</streamQuality>
                <streamBitrate>0</streamBitrate>
              <streamUrl>http://myserver.com/video.m3u8</streamUrl>
          </media>
          <synopsis></synopsis>
            <genres>Cable</genres>
          <live>True</live>
    </item>
  </feed>
</categories> 
0 Kudos
biztale
Level 7

Re: Roku SceneGraph Sample Channel – “SThree”

This version may work better for your need of HLS. This release of Biztale 4.0 includes the AutoPlay feature.
See the channel in action by downloading the file and side load into your Roku or Subscribe to the channel

https://1drv.ms/u/s!Aq_6QqHVZYj8m9g3y17qK2Y7J4CSTw[/url:2tynt3gv]

link above is download link.
Extrac...

0 Kudos
matrixebiz
Level 7

Re: Roku SceneGraph Sample Channel – “SThree”

okay, thank you. I'll check it out
0 Kudos
calengineer
Level 7

Re: Roku SceneGraph Sample Channel – “SThree”

Is there a way to show a slideshow from another XML once the user clicks on the grid icon. In the grid, I still need some icons to be videos but also some others to be slideshows from a different XML. I have the XML ready, but I"m stuck now, how do I implement this?
0 Kudos
newchannel
Level 7

Re: Roku SceneGraph Sample Channel – “SThree”

I have several channels to migrate over to SceneGraph. Is there still an example available to help me in this process since the link is old and expired?
http://www.victoryNOWfilmsandtv.com
0 Kudos