News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Raphael Stolt's Blog:
Turning a Zend_Log log file into a RSS feed
June 26, 2007 @ 08:33:00

In a new post to his blog today, Raphael Stolt shows how to take the output from the Zend_Log component of the Zend Framework and, with a bit of custom coding, make it output an RSS feed.

Whilst touring the web I found an interesting project for turning Apache Web Server log files into RSS feeds. This approach can be adjusted to monitor the maintenance needs of a web application deployed on an assumed productive system. Therefor a XML capable Zend_Log instance will be set up and the resulting log file will be transformed into a RSS feed via a custom Action Helper wrapping a XSLT transfomation.

He sets up the XML logger first, using the Zend_Log, Zend_Log_Writer_Stream and Zend_Log_Formatter_Xml to create the XML output from the logging. Then, with the help of the custom helper - Recordshelf_Controller_Action_Helper_Xslt - he reformats the XML output into an RSS feed ready for public consumption. (There's even a screenshot of what it might look like in a feed reader).

0 comments voice your opinion now!
zendlog rss feed xml logger actionhelper xslt zendlog rss feed xml logger actionhelper xslt


blog comments powered by Disqus

Similar Posts

KillerPHP.com: Zend Framework Components - Part 1

Zend Developer Zone: Consuming Google Calendars with the Zend Framework

Informit.com: How To Create an RSS Aggregator with PHP and AJAX

MaltBlue.com: Zend Form Mastery with Zend Config - Part 4 Configuring Zend Validators

DevShed: Introducing the Strategy Pattern


Community Events





Don't see your event here?
Let us know!


community refactor series testing opinion laravel wordpress podcast list install interview api developer unittest release language introduction framework code threedevsandamaybe

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework