brucerothwell
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2011
07:22 AM
Nested Outline Structure for OPML File
I'm using the MRSS template from Roku, and according to the readme.pdf file:
I have attempted to implement a nested approach, thusly:
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
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
2 REPLIES 2


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2011
09:16 AM
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 & 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>
brucerothwell
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2011
03:59 PM
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:
-
Bruce
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 & 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