diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Feed/Reader/Entry/Rss.php --- a/web/lib/Zend/Feed/Reader/Entry/Rss.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Feed/Reader/Entry/Rss.php Thu Mar 21 19:50:53 2013 +0100 @@ -14,9 +14,9 @@ * * @category Zend * @package Zend_Feed_Reader - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Rss.php 22300 2010-05-26 10:13:34Z padraic $ + * @version $Id: Rss.php 24593 2012-01-05 20:35:02Z matthew $ */ /** @@ -77,7 +77,7 @@ /** * @category Zend * @package Zend_Feed_Reader - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Feed_Reader_Entry_Rss extends Zend_Feed_Reader_EntryAbstract implements Zend_Feed_Reader_EntryInterface @@ -159,7 +159,7 @@ if (array_key_exists('authors', $this->_data)) { return $this->_data['authors']; } - + $authors = array(); $authors_dc = $this->getExtension('DublinCore')->getAuthors(); if (!empty($authors_dc)) { @@ -169,7 +169,7 @@ ); } } - + if ($this->getType() !== Zend_Feed_Reader::TYPE_RSS_10 && $this->getType() !== Zend_Feed_Reader::TYPE_RSS_090) { $list = $this->_xpath->query($this->_xpathQueryRss . '//author'); @@ -189,7 +189,7 @@ $data['name'] = $matches[1]; } $authors[] = $data; - } + } } } @@ -472,7 +472,7 @@ return $this->_data['links']; } - + /** * Get all categories * @@ -503,7 +503,7 @@ } else { $categoryCollection = $this->getExtension('DublinCore')->getCategories(); } - + if (count($categoryCollection) == 0) { $categoryCollection = $this->getExtension('Atom')->getCategories(); }