[pLog-svn] r2989 - plog/trunk/class/view

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Feb 27 21:46:38 GMT 2006


Author: oscar
Date: 2006-02-27 21:46:37 +0000 (Mon, 27 Feb 2006)
New Revision: 2989

Modified:
   plog/trunk/class/view/blogview.class.php
Log:
the RSS 2.0 feed works again.


Modified: plog/trunk/class/view/blogview.class.php
===================================================================
--- plog/trunk/class/view/blogview.class.php	2006-02-27 21:36:46 UTC (rev 2988)
+++ plog/trunk/class/view/blogview.class.php	2006-02-27 21:46:37 UTC (rev 2989)
@@ -214,7 +214,8 @@
 			if( !$this->isCached() ) {
                 include_once( PLOG_CLASS_PATH.'class/data/plogcalendar.class.php' );
 				include_once( PLOG_CLASS_PATH.'class/misc/version.class.php' );
-				include_once( PLOG_CLASS_PATH.'class/xml/rssparser/rssparser.class.php' );    				
+				include_once( PLOG_CLASS_PATH.'class/xml/rssparser/rssparser.class.php' );
+				include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
 
 				// and then add our stuff to the view...
 				$this->setValue( 'archives', $this->_getArchives());
@@ -227,7 +228,8 @@
                 $this->setValue( 'url', $this->_blogInfo->getBlogRequestGenerator());
                 $this->setValue( 'utils', $this->_blogInfo->getBlogRequestGenerator());
 				$this->setValue( 'rss', new RssParser());
-				$this->setValue( 'version', Version::getVersion());				
+				$this->setValue( 'version', Version::getVersion());
+				$this->setValue( 'now', new Timestamp());
 				
 				// also, let's not forget about the plugins...
 				// put the plugins in the context



More information about the pLog-svn mailing list