Message

element should not contain relative URL references

Explanation

Some RSS elements are allowed to contain HTML, including links and images. However, if these links use relative URLs to point to resources, users of some news aggregators will not be able to click on them. And your images use the relative URLs, the images may not appear (since the news aggregator will be looking for the images locally on the user's hard drive, rather than on your web site).

Solution

Make sure all URLs are absolute, that is, that they include your server name and a full path.

This is an example of a relative URL in a link (bad):

<a href="../../archives/001087.html">as I discussed yesterday</a>

This is the same example, using an absolute URL (good):

<a href="http://www.example.com/archives/001087.html">as I discussed yesterday</a>

The same thing applies to the src attribute of images. This is an example of an image that uses a relative URL (bad):

<img src="../../images/catpictures/73.jpg">

This is the same image, using an absolute URL (good):

<img src="http://www.example.com/images/catpictures/73.jpg">

Not clear? Disagree?

You might be able to find help in one of these fine resources.

Copyright © 2002-4 Mark Pilgrim and Sam Ruby