Continuing with the Zend Framework’s series, here’s another one – how to burn your data into RSS feed within ZF.
Fairly simple. Collect all the data into an array and than …
$feed = Zend_Feed::importArray($feedArray, 'rss'); $feed->send();
Related posts:
- Zend Framework and Media RSS
- MySQL Expressions in Zend Framework
- Can Twitter Replace the RSS Feed Readers




I’d reccommend against using Zend_Feed::importArray(), in favor of using Zend_Feed_Writer. The former is deprecated and scheduled for removal in 2.0; the latter is a much more robust solution with support for a variety of formats and much better encoding support.