mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 16:33:45 +00:00
minor fixes
This commit is contained in:
parent
bce0e4f5a0
commit
4b35c8e140
2 changed files with 2 additions and 3 deletions
BIN
wppost.tgz
BIN
wppost.tgz
Binary file not shown.
|
@ -174,8 +174,7 @@ function wppost_send(&$a,&$b) {
|
||||||
$post = xmlify($post);
|
$post = xmlify($post);
|
||||||
|
|
||||||
$xml = <<< EOT
|
$xml = <<< EOT
|
||||||
|
<?xml version=\"1.0\" encoding=\"utf-8\"?>
|
||||||
<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>
|
|
||||||
<methodCall>
|
<methodCall>
|
||||||
<methodName>blogger.newPost</methodName>
|
<methodName>blogger.newPost</methodName>
|
||||||
<params>
|
<params>
|
||||||
|
@ -194,7 +193,7 @@ EOT;
|
||||||
|
|
||||||
if($wp_blog !== 'test')
|
if($wp_blog !== 'test')
|
||||||
$x = post_url($wp_blog,$xml);
|
$x = post_url($wp_blog,$xml);
|
||||||
logger('posted to wordpress: ' . ($x) ? $x : '');
|
logger('posted to wordpress: ' . (($x) ? $x : ''), LOGGER_DEBUG);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue