]> projects.mako.cc - scuttle/blobdiff - rss.php
updated readme with information on a series of bugs I know exist
[scuttle] / rss.php
diff --git a/rss.php b/rss.php
index 533bf4cd3185b94d760881fde96a017b47494d7d..3f8be6f0413383748a1fb322ae529e47a4d6a1e6 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -20,10 +20,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 require_once 'header.inc.php';
 
 
 require_once 'header.inc.php';
 
-$bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService');
-$cacheservice    =& ServiceFactory::getServiceInstance('CacheService');
-$templateservice =& ServiceFactory::getServiceInstance('TemplateService');
-$userservice     =& ServiceFactory::getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$bookmarkservice =& $sf->getServiceInstance('BookmarkService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
+$userservice     =& $sf->getServiceInstance('UserService');
+$cacheservice    =& $sf->getServiceInstance('CacheService');
 
 $tplVars = array();
 header('Content-Type: application/xml');
 
 $tplVars = array();
 header('Content-Type: application/xml');

Benjamin Mako Hill || Want to submit a patch?