[pLog-svn] r2950 - plugins/branches/lifetype-1.0/feedreader/class/action

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Feb 13 17:50:40 GMT 2006


Author: oscar
Date: 2006-02-13 17:50:40 +0000 (Mon, 13 Feb 2006)
New Revision: 2950

Modified:
   plugins/branches/lifetype-1.0/feedreader/class/action/readfeedaction.class.php
Log:
fixed issue 830 (http://bugs.lifetype.net/view.php?id=830)


Modified: plugins/branches/lifetype-1.0/feedreader/class/action/readfeedaction.class.php
===================================================================
--- plugins/branches/lifetype-1.0/feedreader/class/action/readfeedaction.class.php	2006-02-13 17:46:38 UTC (rev 2949)
+++ plugins/branches/lifetype-1.0/feedreader/class/action/readfeedaction.class.php	2006-02-13 17:50:40 UTC (rev 2950)
@@ -19,7 +19,7 @@
 			$this->registerFieldValidator( "feedId", new IntegerValidator());
 			$view = new AdminPluginTemplatedView( $this->_blogInfo, "feedreader", "feedlist" );
 			$view->setErrorMessage( $this->_locale->tr("error_invalid_feed_id" ));
-			$this->setValidationErrorView( $view );
+			$this->setValidationErrorView( $view );			
 		}
 		
 		function perform()
@@ -58,6 +58,9 @@
 			define( "MAGPIE_CACHE_DIR", $tmpDir );
 			define( "MAGPIE_CACHE_AGE", 3600 );
 			define( "MAGPIE_DEBUG", 0 );
+
+        	// define the MagpieRSS output encoding according to the current locale
+            define('MAGPIE_OUTPUT_ENCODING', $this->_locale->getCharset());			
 			
 			$rssParser = new RssParser();
 			if( !$rssParser->parse( $link->getRssFeed())) {



More information about the pLog-svn mailing list