Enclosure weirdness

Topics: User Forum
Feb 8, 2007 at 8:48 PM
I have an internal feed that consists of podcasts, using RSS enclosures. My feed validates fine in a variety of tools and FeedReader displays the items, however instead of the underlying URL for each item pointing to the enclosure (mp3 file), it points to http://www.smilinggoat.net!

I have external feeds from sources like the Wall Street Journal and they work just fine.

Any thoughts about how I may resolve this?
Feb 21, 2007 at 6:39 PM
Edited Feb 21, 2007 at 6:41 PM
Oh, foolish me. I decided to compare my feed to one that worked and the solution was to include a <link> element with the URL of the audio file, inside of my <item> element in the feed (see example below). Without the <link> element, FeedReader didn't know what to point to.

// multi-line
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
 <channel>
  <title>XO Podcasts</title>
  <link>http://xouniversity.org/podcasts/</link>
  <description>XO podcasting pilot feeds</description>
  <lastBuildDate>Tue, 16 Jan 2007 21:07:03 GMT</lastBuildDate>
  <generator>ListGarden Program 1.3.1</generator>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <item>
   <title>Gaylynn on Quitline</title>
   <description>One of the 2007 wellness initiatives.</description>
   <link>http://xouniversity.org/podcasts/GaylynnQuitline.mp3</link>
   <enclosure url="http://xouniversity.org/podcasts/GaylynnQuitline.mp3" length="2617782" type="audio/mpeg" />
   <pubDate>Tue, 06 Feb 2007 18:56:47 GMT</pubDate>
   <guid isPermaLink="false">rss-2007-02-06-18-56-47</guid>
  </item>
  <item>
   <title>Terri and Sean Talk Podcasting</title>
   <description>What are we trying to accomplish?</description>
   <link>http://xouniversity.org/podcasts/TBurke20070112.m4a</link>
   <enclosure url="http://xouniversity.org/podcasts/TBurke20070112.m4a" length="5192505" type="audio/mpeg" />
   <pubDate>Fri, 12 Jan 2007 15:48:47 GMT</pubDate>
   <guid isPermaLink="false">rss-2007-01-16-18-38-58</guid>
  </item>
  <item>
   <title>Your First XO Podcast</title>
   <description>Let's make sure it works!</description>
   <link>http://xouniversity.org/podcasts/welcomePodcast.mp3</link>
   <enclosure url="http://xouniversity.org/podcasts/welcomePodcast.mp3" length="197850" type="audio/mpeg" />
   <pubDate>Wed, 6 Dec 2006 07:48:47 GMT</pubDate>
   <guid isPermaLink="false">rss-2007-01-16-18-35-12</guid>
  </item>
 </channel>
</rss>