https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40a8b4d
)
add title
author
Friendika
<info@friendika.com>
Thu, 8 Sep 2011 04:33:54 +0000
(21:33 -0700)
committer
Friendika
<info@friendika.com>
Thu, 8 Sep 2011 04:33:54 +0000
(21:33 -0700)
wppost.tgz
patch
|
blob
|
history
wppost/wppost.php
patch
|
blob
|
history
diff --git
a/wppost.tgz
b/wppost.tgz
index
d18ed64
..
d79d411
100644
(file)
Binary files a/wppost.tgz and b/wppost.tgz differ
diff --git
a/wppost/wppost.php
b/wppost/wppost.php
index
479ad6f
..
9aac6c3
100644
(file)
--- a/
wppost/wppost.php
+++ b/
wppost/wppost.php
@@
-136,7
+136,10
@@
function wppost_send(&$a,&$b) {
if($wp_username && $wp_password && $wp_blog && $wp_post && $wp_enable) {
require_once('include/bbcode.php');
- $post = xmlify(bbcode($b['body']));
+
+ $post = (($b['title']) ? '<title>' . $b['title'] . '</title>' : '');
+ $post .= bbcode($b['body']);
+ $post = xmlify($post);
$xml = <<< EOT