Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for atom:link channel tag (thanks hofrob)

  • Loading branch information...
commit cd41b9d16bcc7e0a2a1f5bb83e9e2c4115e674bd 1 parent 8812ee0
Antonio Ramirez authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 extensions/EFeed/EFeed.php
View
5 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);
Please sign in to comment.
Something went wrong with that request. Please try again.