The RSS Blog

News and commentary from the RSS and OPML community.

User: People are telling me that the xml:base directive at the top of the XML stops this issue.

Bill Kearney: In the purest 'technical sense' it can be made to work. But in the context of an RSS feed relative URLs do not work, regardless of any base declarations. There are *one or two* readers that make it work but most will not.

Randy: Excellent observation by Bill about the use of xml:base and relative URLs in RSS. Yes, you can do it, but few RSS readers recognize this construct. An example use of xml:base, which is discouraged, follows.

<rss version='2.0' xml:base='http://www.kbcafe.com/'>
  <channel>
    <item>
      <link>rss/?guid=20050627094747</link>
    </item>
  </channel>
</rss>

Reader Comments Subscribe
Type "339":