default title for wppost
parent
591fa095aa
commit
e031a5209c
BIN
wppost.tgz
BIN
wppost.tgz
Binary file not shown.
|
@ -168,8 +168,8 @@ function wppost_send(&$a,&$b) {
|
||||||
|
|
||||||
require_once('include/bbcode.php');
|
require_once('include/bbcode.php');
|
||||||
|
|
||||||
$post = (($b['title']) ? '<title>' . $b['title'] . '</title>' : '');
|
$title = '<title>' . (($b['title']) ? $b['title'] : t('Post from Friendica')) . '</title>';
|
||||||
$post .= bbcode($b['body']);
|
$post = $title . bbcode($b['body']);
|
||||||
$post = xmlify($post);
|
$post = xmlify($post);
|
||||||
|
|
||||||
$xml = <<< EOT
|
$xml = <<< EOT
|
||||||
|
|
Loading…
Reference in New Issue