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: 

Nested Outline Structure for OPML File

I'm using the MRSS template from Roku, and according to the readme.pdf file:


You may nest <outline> elements to create a multi-level navigation experience.


I have attempted to implement a nested approach, thusly:


<outline title="KCM" img="http://www.kcm.org/images/itunes_bvov_video.png">
<outline title="BVOV" subtitle="Daily & Weekly Podcasts" img="http://www.kcm.org/images/itunes_bvov_video.png" url="http://www.kcm.org/feed/en/itunes/webcast/video" />
<outline title="2011 Events" subtitle="Archived Videos from 2011 Meetings" img="http://www.kcm.org/images/itunes_2011events_video.png" url="http://www.kcm.org/feed/en/itunes/events/2011/video" />
</outline>


According to the OPML specification example I found on the OPML Wiki page ( http://static.userland.com/gems/radiodiscuss/playlist.opml ), the implication is that the outside <outline> declaration does not have to include all 4 parameters that Roku would normally look for.

However, upon entering the channel on Roku, it just sits there at "retrieving..." when I expect to be seeing an image that would allow me to navigate to the lower hierarchy.

Any ideas here?

-
Bruce
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: Nested Outline Structure for OPML File

Your XML is not well formed, so the box is not able to parse it. String literals need to be properly encoded. In this case, you didn't encode the ampersand on the second line. There are several XML validators on the web that can help troubleshoot these types of issues. My favorite is http://www.w3schools.com/xml/xml_validator.asp

 <outline title="KCM" img="http://www.kcm.org/images/itunes_bvov_video.png">
<outline title="BVOV" subtitle="Daily &amp; Weekly Podcasts" img="http://www.kcm.org/images/itunes_bvov_video.png" url="http://www.kcm.org/feed/en/itunes/webcast/video" />
<outline title="2011 Events" subtitle="Archived Videos from 2011 Meetings" img="http://www.kcm.org/images/itunes_2011events_video.png" url="http://www.kcm.org/feed/en/itunes/events/2011/video" />
</outline>
0 Kudos

Re: Nested Outline Structure for OPML File

RokuChris,

Thanks for the great advice on the XML Validator!

I ended up having 2 problems.... your advice on the ampersand char fixed one, and then I figured out that Roku doesn't know what to do with nest outline sections unless there is at least two top-level ones!

This kind of structure worked:


<outline title="Kenneth Copeland Ministries" img="http://www.kcm.org/images/itunes_bvov_video.png">
<outline title="KCM BVOV" subtitle="KCM Daily &amp; Weekly BVOV Podcasts" img="http://www.kcm.org/images/itunes_bvov_video.png" url="http://www.kcm.org/feed/en/itunes/webcast/video" />
<outline title="KCM 2011 Events" subtitle="Archived Videos from KCM 2011 Meetings" img="http://www.kcm.org/images/itunes_2011events_video.png" url="http://www.kcm.org/feed/en/itunes/events/2011/video" />
</outline>

<outline title="Jerry Savelle Ministries International" img="http://www.kcm.org/images/itunes_bvov_video.png" />


-
Bruce
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.