PHP Classes


Recommend this page to a friend!

      Universal Feed Generator  >  All threads  >  atom:link  >  (Un) Subscribe thread alerts  
Summary:Getting this warning....
Author:Michael Pawlowsky
Date:2014-03-26 23:29:12


  1. atom:link   Reply   Report abuse  
Picture of Michael Pawlowsky Michael Pawlowsky - 2014-03-26 23:29:12
When running my feed through a feed validator I get the following warning:


Missing atom:link with rel="self"


According to the RSS Advisory Board's Best Practices Profile, identifying a feed's URL within the feed makes it more portable, self-contained, and easier to cache. For these reasons, a feed should contain an atom:link used for this purpose.


If you haven't already done so, declare the Atom namespace at the top of your feed, thus:

<rss version="2.0" xmlns:atom="">
Then insert a atom:link to your feed in the channel section. Below is an example to get you started. Be sure to replace the value of the href attribute with the URL of your feed.

<atom:link href="" rel="self" type="application/rss+xml" />
Not clear? Disagree?

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