Chris@0: getType() !== Reader\Reader::TYPE_RSS_10 Chris@0: && $this->getType() !== Reader\Reader::TYPE_RSS_090 Chris@0: ) { Chris@0: $content = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/content:encoded)'); Chris@0: } else { Chris@0: $content = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/content:encoded)'); Chris@0: } Chris@0: return $content; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Register RSS Content Module namespace Chris@0: */ Chris@0: protected function registerNamespaces() Chris@0: { Chris@0: $this->xpath->registerNamespace('content', 'http://purl.org/rss/1.0/modules/content/'); Chris@0: } Chris@0: }