Permalink
Browse files

Fix for atom:link channel tag (thanks hofrob)

  • Loading branch information...
1 parent 8812ee0 commit cd41b9d16bcc7e0a2a1f5bb83e9e2c4115e674bd Antonio Ramirez committed Feb 29, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 extensions/EFeed/EFeed.php
@@ -380,6 +380,11 @@ private function renderChannels(){
// And add the id for ATOM
echo $this->makeNode('id',$this->uuid($value,'urn:uuid:'));
}
+ elseif ($this->type == self::RSS2 && $key == 'atom:link')
+ {
+ echo $this->makeNode($key,'',array('rel'=>'self', 'href'=>$value, 'type'=>'application/rss+xml'));
+
+ }
else
{
echo $this->makeNode($key, $value);

0 comments on commit cd41b9d

Please sign in to comment.