--- a/web/lib/Zend/Feed/Reader/Extension/Atom/Entry.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Feed/Reader/Extension/Atom/Entry.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: Entry.php 23170 2010-10-19 18:29:24Z mabe $
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -52,7 +52,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_Extension_Atom_Entry
@@ -127,9 +127,9 @@
if (array_key_exists('content', $this->_data)) {
return $this->_data['content'];
}
-
+
$content = null;
-
+
$el = $this->getXpath()->query($this->getXpathPrefix() . '/atom:content');
if($el->length > 0) {
$el = $el->item(0);
@@ -158,7 +158,7 @@
break;
}
}
-
+
//var_dump($content); exit;
if (!$content) {
@@ -169,7 +169,7 @@
return $this->_data['content'];
}
-
+
/**
* Parse out XHTML to remove the namespacing
*/
@@ -510,7 +510,7 @@
return $this->_data['commentfeedlink'];
}
-
+
/**
* Get all categories
*
@@ -551,7 +551,7 @@
return $this->_data['categories'];
}
-
+
/**
* Get source feed metadata from the entry
*
@@ -562,7 +562,7 @@
if (array_key_exists('source', $this->_data)) {
return $this->_data['source'];
}
-
+
$source = null;
// TODO: Investigate why _getAtomType() fails here. Is it even needed?
if ($this->getType() == Zend_Feed_Reader::TYPE_ATOM_10) {
@@ -572,9 +572,9 @@
$source = new Zend_Feed_Reader_Feed_Atom_Source($element, $this->getXpathPrefix());
}
}
-
+
$this->_data['source'] = $source;
- return $this->_data['source'];
+ return $this->_data['source'];
}
/**
@@ -607,7 +607,7 @@
$emailNode = $element->getElementsByTagName('email');
$nameNode = $element->getElementsByTagName('name');
$uriNode = $element->getElementsByTagName('uri');
-
+
if ($emailNode->length && strlen($emailNode->item(0)->nodeValue) > 0) {
$author['email'] = $emailNode->item(0)->nodeValue;
}