xml:base in RSS - The RSS Blog
Randy Charles Morin blogs about Really Simple Syndication, RDF, FOAF, The Semantic Web and Social Software.
Copyright 2003-5 Randy Charles Morin
The RSS Blog
<< Previous Main Next >>
Mon, 27 Jun 2005 16:47:47 GMT
xml:base in RSS

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

Reader Comments Subscribe
Type "339":
Top Articles
  1. Unblock MySpace
  2. MySpace
  3. FaceParty, the British MySpace
  4. del.icio.us and sex.com
  5. Blocking Facebook and MySpace
  1. Review of RSS Readers
  2. MySpace Layouts
  3. RSS Stock Ticker
  4. RSS Gets an Enema
  5. Google Reader rejects del.icio.us