ZF-5645: Zend_Feed_Rss missing cdata for image title

Issue Type: Bug Created: 2009-01-28T01:11:44.000+0000 Last Updated: 2012-02-10T09:21:00.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Gordon Franke (gimler) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Feed

Related issues: Attachments:


the rss feed has a cdata for header title but not for header image title ;(

<pre class="highlight">
--- trunk/lib/vendor/Zend/1_6_2/Zend/Feed/Rss.php       (Revision 13622)
+++ trunk/lib/vendor/Zend/1_6_2/Zend/Feed/Rss.php       (Arbeitskopie)
@@ -173,7 +173,8 @@
             $image = $this->_element->createElement('image');
             $url = $this->_element->createElement('url', $array->image);
-            $imagetitle = $this->_element->createElement('title', $array->title);
+            $imagetitle = $this->_element->createElement('title');
+            $imagetitle->appendChild($this->_element->createCDATASection($array->title));
             $imagelink = $this->_element->createElement('link', $array->link);


Posted by old of Satoru Yoshida ( on 2009-02-01T04:04:03.000+0000

Solved in SVN r13901

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.