Browse files

Fixed issue with channel tag on RSS1

  • Loading branch information...
1 parent cd41b9d commit 1b8f516d4c482f869672aeb5aecfe8996200da24 Antonio Ramirez committed Mar 1, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 extensions/EFeed/EFeed.php
View
6 extensions/EFeed/EFeed.php
@@ -364,9 +364,9 @@ private function renderChannels(){
break;
case self::RSS1:
if(null !== $this->RSS1ChannelAbout )
- echo CHtml::tag('channel',array('rdf:about'=>$this->RSS1ChannelAbout ));
+ echo CHtml::openTag('channel',array('rdf:about'=>$this->RSS1ChannelAbout )) . PHP_EOL;
else
- echo CHtml::tag('channel',array('rdf:about'=>$this->link));
+ echo CHtml::openTag('channel',array('rdf:about'=>$this->link)) . PHP_EOL;
break;
}
@@ -410,6 +410,8 @@ private function renderChannels(){
echo CHtml::tag('rdf:li',array('resource'=>$tag->content ),true).PHP_EOL;
}
echo "</rdf:Seq>" . PHP_EOL . "</items>" . PHP_EOL;
+
+ echo CHtml::closeTag('channel') . PHP_EOL;
}
}
/**

0 comments on commit 1b8f516

Please sign in to comment.