X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ljpost%2Fljpost.php;h=c8690c26e18a1a1bfbdc352d7824e778d31278b2;hb=fd9cfc7f31f93f23afc597622d75ee777db4e3ec;hp=e1bd2d630e28beb0e2c56acbbc71316b9cd0b2c8;hpb=84f26d06c41a6110e9dc08c5622f256be628241f;p=friendica-addons.git diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php index e1bd2d63..c8690c26 100755 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -4,7 +4,7 @@ * Name: LiveJournal Post Connector * Description: Post to LiveJournal * Version: 1.0 - * Author: Tony Baldwin + * Author: Tony Baldwin * Author: Michael Johnston * Author: Cat Gray */ @@ -90,7 +90,7 @@ function ljpost_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } @@ -232,7 +232,7 @@ EOT; logger('ljpost: data: ' . $xml, LOGGER_DATA); if($lj_blog !== 'test') - $x = post_url($lj_blog,$xml); + $x = post_url($lj_blog,$xml,array("Content-Type: text/xml")); logger('posted to livejournal: ' . ($x) ? $x : '', LOGGER_DEBUG); }