Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.2
-
Fix Version/s: None
-
Component/s: Zend_Feed
-
Labels:None
Description
I am using setPublishedDate on the _header of a Zend_Feed_Builder_Interface object. It should have no effect on the Atom feed, as the published element is only valid for an individual entry, not for the whole feed (http://tools.ietf.org/html/rfc4287#section-4.2.9) However, the <published> tag is written for the feed, causing validation to fail.
I would recommend trying Zend_Feed_Writer, currently available from trunk, and releasing with 1.10.0 later this month (a beta will release today). Its support for Atom is comprehensive and follows the specification.