]> git.mxchange.org Git - friendica-addons.git/commitdiff
minor fixes
authorfriendica <info@friendica.com>
Tue, 28 Feb 2012 07:19:25 +0000 (23:19 -0800)
committerfriendica <info@friendica.com>
Tue, 28 Feb 2012 07:19:25 +0000 (23:19 -0800)
wppost.tgz
wppost/wppost.php

index 6dad5c117973a78a07fc7ea29a3b82d21bed43aa..b5758f6e6c99366a5a5973d15c866826b072b12d 100755 (executable)
Binary files a/wppost.tgz and b/wppost.tgz differ
index 5c1482e7864c46f07e69db795ae1d703eddd4b88..f07861667b7ac504a129b6a5a964d591297404a7 100755 (executable)
@@ -174,8 +174,7 @@ function wppost_send(&$a,&$b) {
                $post = xmlify($post);
 
                $xml = <<< EOT
-
-<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>
+<?xml version=\"1.0\" encoding=\"utf-8\"?>
 <methodCall>
   <methodName>blogger.newPost</methodName>
   <params>
@@ -194,7 +193,7 @@ EOT;
 
                if($wp_blog !== 'test')
                        $x = post_url($wp_blog,$xml);
-               logger('posted to wordpress: ' . ($x) ? $x : '');
+               logger('posted to wordpress: ' . (($x) ? $x : ''), LOGGER_DEBUG);
 
        }
 }