Add rel="self" #5

BandonRandon opened this Issue Jan 13, 2013 · 2 comments

3 participants


When I validate a Feed outputted by FeedWriter.php I get this error Missing atom:link with rel="self"

The docs on the issue can be found here:

I was able to fix the issue by adding xmlns:atom="" to the $out.= on line 283

then adding the atom rel=self inside the channel I added this to line 386 by adding echo '<atom:link href="http:/" rel="self" type="application/rss+xml" />';

Would love to see this added to core. Thanks :)



@mibe mibe closed this in 46df278 Feb 25, 2013

Use the new setSelfLink method of the Feed class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment