Nested Outline Structure for OPML File

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

You may nest

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

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>

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 & 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