ZF-11379: Zend_Feed_Writer_Renderer_Entry_Rss can't be easy extended

Issue Type: Improvement Created: 2011-05-14T08:27:21.000+0000 Last Updated: 2011-05-14T08:27:21.000+0000 Status: Open Fix version(s): Reporter: mayhem (mayhem) Assignee: Pádraic Brady (padraic) Tags: - Zend_Feed_Writer

  • Zend_Feed

Related issues: Attachments:


Due to requirements of some site which aggregates my feed I need to remove CDATA from category tag in rss feed. This section inserted in method Zend_Feed_Writer_Renderer_Entry_Rss class::_setCategories(). So i decide to extend this class and modify method. This class initialized for every entry in rss feed on method Zend_Feed_Writer_Renderer_Feed_Rss::render(). Class Zend_Feed_Writer_Renderer_Entry_Rss hardcoded there, so calling of this class can't be modifeied. It will be useful to set class name "Zend_Feed_Writer_Renderer_Entry_Rss" as protected property of class Zend_Feed_Writer_Renderer_Feed_Rss, how it done in Zend_Db component with rows and rowsets. It will be easy to change entry renderer class just extending feed renderer class and modifying protected property.


No comments to display

Have you found an issue?

See the Overview section for more details.


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

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