diff -r 000000000000 -r 4eba9c11703f web/Zend/Feed/Reader/Extension/Content/Entry.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Feed/Reader/Extension/Content/Entry.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,61 @@ +getType() !== Zend_Feed_Reader::TYPE_RSS_10 + && $this->getType() !== Zend_Feed_Reader::TYPE_RSS_090 + ) { + $content = $this->_xpath->evaluate('string('.$this->getXpathPrefix().'/content:encoded)'); + } else { + $content = $this->_xpath->evaluate('string('.$this->getXpathPrefix().'/content:encoded)'); + } + return $content; + } + + /** + * Register RSS Content Module namespace + */ + protected function _registerNamespaces() + { + $this->_xpath->registerNamespace('content', 'http://purl.org/rss/1.0/modules/content/'); + } +}