--- a/web/lib/Zend/Feed/Writer/Renderer/Entry/Rss.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Feed/Writer/Renderer/Entry/Rss.php Thu Mar 21 19:50:53 2013 +0100
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Feed_Writer
- * @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 22064 2010-04-30 14:02:38Z padraic $
+ * @version $Id: Rss.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -27,7 +27,7 @@
/**
* @category Zend
* @package Zend_Feed_Writer
- * @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_Writer_Renderer_Entry_Rss
@@ -36,18 +36,18 @@
{
/**
* Constructor
- *
- * @param Zend_Feed_Writer_Entry $container
+ *
+ * @param Zend_Feed_Writer_Entry $container
* @return void
*/
public function __construct (Zend_Feed_Writer_Entry $container)
{
parent::__construct($container);
}
-
+
/**
* Render RSS entry
- *
+ *
* @return Zend_Feed_Writer_Renderer_Entry_Rss
*/
public function render()
@@ -57,7 +57,7 @@
$this->_dom->substituteEntities = false;
$entry = $this->_dom->createElement('item');
$this->_dom->appendChild($entry);
-
+
$this->_setTitle($this->_dom, $entry);
$this->_setDescription($this->_dom, $entry);
$this->_setDateCreated($this->_dom, $entry);
@@ -77,12 +77,12 @@
return $this;
}
-
+
/**
* Set entry title
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setTitle(DOMDocument $dom, DOMElement $root)
@@ -106,12 +106,12 @@
$text = $dom->createTextNode($this->getDataContainer()->getTitle());
$title->appendChild($text);
}
-
+
/**
* Set entry description
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDescription(DOMDocument $dom, DOMElement $root)
@@ -139,12 +139,12 @@
$text = $dom->createCDATASection($this->getDataContainer()->getDescription());
$subtitle->appendChild($text);
}
-
+
/**
* Set date entry was last modified
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateModified(DOMDocument $dom, DOMElement $root)
@@ -160,12 +160,12 @@
);
$updated->appendChild($text);
}
-
+
/**
* Set date entry was created
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setDateCreated(DOMDocument $dom, DOMElement $root)
@@ -179,12 +179,12 @@
);
}
}
-
+
/**
* Set entry authors
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setAuthors(DOMDocument $dom, DOMElement $root)
@@ -204,12 +204,12 @@
$root->appendChild($author);
}
}
-
+
/**
* Set entry enclosure
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setEnclosure(DOMDocument $dom, DOMElement $root)
@@ -255,12 +255,12 @@
$enclosure->setAttribute('url', $data['uri']);
$root->appendChild($enclosure);
}
-
+
/**
* Set link to entry
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setLink(DOMDocument $dom, DOMElement $root)
@@ -273,12 +273,12 @@
$text = $dom->createTextNode($this->getDataContainer()->getLink());
$link->appendChild($text);
}
-
+
/**
* Set entry identifier
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setId(DOMDocument $dom, DOMElement $root)
@@ -300,12 +300,12 @@
$id->setAttribute('isPermaLink', 'false');
}
}
-
+
/**
* Set link to entry comments
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCommentLink(DOMDocument $dom, DOMElement $root)
@@ -319,12 +319,12 @@
$clink->appendChild($text);
$root->appendChild($clink);
}
-
+
/**
* Set entry categories
- *
- * @param DOMDocument $dom
- * @param DOMElement $root
+ *
+ * @param DOMDocument $dom
+ * @param DOMElement $root
* @return void
*/
protected function _setCategories(DOMDocument $dom, DOMElement $root)