Issues

ZF-8411: Consider using 'term' if 'label' is an empty string in Zend_Feed_Reader_Collection_Category::getValues()

Issue Type: Improvement Created: 2009-11-27T10:12:32.000+0000 Last Updated: 2010-02-06T09:56:07.000+0000 Status: Resolved Fix version(s): - 1.10.1 (10/Feb/10)

Reporter: Bradley Holt (bradley.holt) Assignee: Pádraic Brady (padraic) Tags: - Zend_Feed_Reader

Related issues: Attachments:

Description

Zend_Feed_Reader_Collection_Category::getValues() currently returns an array of 'label' values. This makes sense as the label element (according to the Atom Syndication Format specification) is supposed to be human-readable. However, the label attribute is optional (again, according to the Atom Syndication Format specification) and some feeds instead use the required 'term' attribute. Consider adding the 'term' attribute to the returned array instead of the 'label' attribute if and when the 'label' attribute is an empty string. For reference:

http://atompub.org/rfc4287.html#element.category

As a side note, this new category functionality is working very well!

Comments

Posted by Pádraic Brady (padraic) on 2010-02-06T09:56:07.000+0000

Implement with r20953 - sorry for the longer than usual wait ;)

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts