Padraic Brady’s Blog: New Zend_Feed_Writer Component And Zend_Feed_Reader Enhancements (ZF 1.10)

Extend support to the whole of the Atom 1.0 specificationMoving towards Zend Framework 1.10 release more and more new features and components shape up and are being presented by developers and bloggers. Padraic Brady wrote recently about his contribution to Zend_Feed component.

The new kid on the block, to be added in Zend Framework 1.10, is Zend_Feed_Writer. A bit like the older Zend_Feed_Builder classes, its purpose is to generate Atom 1.0 and RSS 2.0 feeds. The difference is that, like its sibling Zend_Feed_Reader, it is standards aware and operates entirely using PHP’s DOM.

Besides developing Zend_Feed_Writer Padraic contributed several interesting enhancements to Zend_Feed_Reader:

  • support to the whole of the Atom 1.0 specification
  • greater API coverage overall
  • Array style access
  • Standardise API return types using ArrayObjects
  • Share/Bookmark