Add a workaround for Rss 1.0 feeds

This commit is contained in:
Frédéric Guillot 2014-07-04 12:05:01 -03:00
parent debd94c5af
commit 8813d46c1f
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class Reader
array('parser' => 'Rss20', 'needles' => array('<rss', '2.0')),
array('parser' => 'Rss92', 'needles' => array('<rss', '0.92')),
array('parser' => 'Rss91', 'needles' => array('<rss', '0.91')),
array('parser' => 'Rss10', 'needles' => array('<rdf:', 'xmlns="http://purl.org/rss/1.0/"')),
array('parser' => 'Rss10', 'needles' => array('<rdf:'/*, 'xmlns="http://purl.org/rss/1.0/"'*/)),
);
$first_tag = $this->getFirstTag($this->content);