<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Mon, 05 Jan 2009 19:26:27 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Turning a Zend_Log log file into a RSS feed]]></title>
      <guid>http://www.phpdeveloper.org/news/8123</guid>
      <link>http://www.phpdeveloper.org/news/8123</link>
      <description><![CDATA[<p>
In a <a href="http://raphaelstolt.blogspot.com/2007/06/turning-zendlog-log-file-into-rss-feed.html">new post</a> to his blog today, <i>Raphael Stolt</i> 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.
</p>
<blockquote>
Whilst touring the web I found an interesting <a href="http://www.simonecarletti.com/code/apachelog2feed/">project</a> 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 <a href="http://framework.zend.com/manual/en/zend.log.html">Zend_Log</a> instance will be set up and the resulting log file will be transformed into a RSS feed via a custom <a href="http://framework.zend.com/manual/en/zend.controller.actionhelpers.html">Action Helper</a> wrapping a XSLT transfomation.
</blockquote>
<p>
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 href="http://farm2.static.flickr.com/1245/626281306_4d13890519_o.png">a screenshot</a> of what it might look like in a feed reader).
</p>]]></description>
      <pubDate>Tue, 26 Jun 2007 08:33:00 -0500</pubDate>
    </item>
  </channel>
</rss>
