First time poster, but have used the forums to learn quite a bit so far.. Thanks for sharing!
I started with the MRSS template, and have everything working pretty well except for thumbnails. It's just using the image from the config, not the one specific in the rss feed. Any tips?
Here's the code included with the template:
' thumbnail
tmp = item.GetNamedElements("media:thumbnail")
if tmp.Count() > 0
newItem.sdPosterURL = ValidStr(tmp[0]@url)
newItem.hdPosterURL = ValidStr(tmp[0]@url)
else if xml.channel.image.url.Count() > 0
newItem.sdPosterURL = ValidStr(xml.channel.image.url.GetText())
newItem.hdPosterURL = ValidStr(xml.channel.image.url.GetText())
end if
Here's a sample from my rss feed:
<item>
<title>File 1</title>
<link>http://test.com</link>
<description>This is a great episode.</description>
<pubDate>Sun, 02 Jun 2013 11:00:00 -0000</pubDate>
<guid isPermaLink="false">UIj8YptI</guid>
<enclosure url="http://content.bitsontherun.com/videos/UIj8YptI-EAJYb5n4.mp4" length="1006319379" type="video/mp4" />
<itunes:author>HCC</itunes:author>
<itunes:duration>3763</itunes:duration>
<itunes:keywords>Test</itunes:keywords>
<media:content url="http://content.bitsontherun.com/videos/UIj8YptI-EAJYb5n4.mp4" type="video/mp4" duration="3763.90" fileSize="1006319379">
<media:thumbnail url="http://content.bitsontherun.com/thumbs/UIj8YptI-720.jpg" />
<media:credit>HCC</media:credit>
<media:player url="http://test.com/message/part-1-on-becoming-wise/" />
<media:keywords>Test</media:keywords>
</media:content>
</item>