[pLog-svn] r3999 - plog/branches/lifetype-1.1.1/class/net/xmlrpc

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Wed Sep 20 09:35:24 GMT 2006


Author: pwestbro
Date: 2006-09-20 09:35:24 +0000 (Wed, 20 Sep 2006)
New Revision: 3999

Modified:
   plog/branches/lifetype-1.1.1/class/net/xmlrpc/xmlrpcserver.class.php
Log:
The article text being returned by xmlrpc was having
POST_EXTENDED_TEXT_MODIFIER stripped out


Modified: plog/branches/lifetype-1.1.1/class/net/xmlrpc/xmlrpcserver.class.php
===================================================================
--- plog/branches/lifetype-1.1.1/class/net/xmlrpc/xmlrpcserver.class.php	2006-09-20 07:42:53 UTC (rev 3998)
+++ plog/branches/lifetype-1.1.1/class/net/xmlrpc/xmlrpcserver.class.php	2006-09-20 09:35:24 UTC (rev 3999)
@@ -410,7 +410,7 @@
 				$userInfo               = $item->getUserInfo();
 	            $dummy["userid"]        = $userInfo->getId();
 	            $dummy["dateCreated"]   = new IXR_Date($time);
-	            $dummy["content"]       = $item->getTopic() . "\r\n" . $item->getText() . " ";
+	            $dummy["content"]       = $item->getTopic() . "\r\n" . $item->getText(false) . " ";
 	            $dummy["postid"]        = $item->getId();
 
 				$blogInfo = $item->getBlogInfo();
@@ -464,7 +464,7 @@
 	            $dummy["userid"]        = $userInfo->getId();
 	            $dummy["dateCreated"]   = new IXR_Date($time);
 	            $dummy["title"]         = $item->getTopic();
-	            $dummy["description"]   = $item->getText();
+	            $dummy["description"]   = $item->getText(false); 
 	            $dummy["postid"]        = $item->getId();
 
 	            $dummy["link"]          = $url->postLink( $item );
@@ -758,7 +758,7 @@
 					$userInfo               = $item->getUserInfo();
 	                $dummy["userid"]        = $userInfo->getId();
 	                $dummy["dateCreated"]   = new IXR_Date($time);
-	                $dummy["content"]       = $item->getTopic() . "\r\n" . $item->getText() . " ";
+	                $dummy["content"]       = $item->getTopic() . "\r\n" . $item->getText(false) . " ";
 	                $dummy["postid"]        = $item->getId();
 
 	                $ret[]                  = $dummy;
@@ -809,7 +809,7 @@
 	                $dummy["userid"]        = $userInfo->getId();
 	                $dummy["dateCreated"]   = new IXR_Date($time);
 	                $dummy["title"]         = $item->getTopic(); 
-	                $dummy["description"]   = $item->getText();
+	                $dummy["description"]   = $item->getText(false);
 	                $dummy["postid"]        = $item->getId();
 
 	                $blogInfo = $item->getBlogInfo();



More information about the pLog-svn mailing list