X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dwpost%2Fdwpost.php;h=25f7ac87484e56c3a3f87746bd9f11755314a1a0;hb=71f988d1bf42f512e9fef75aff3e467172f28a46;hp=85e808c0d7b6d9f3956f7bedfcb63b37148af709;hpb=3d38180d8f61c9922f4bbdbda0ac5010463a0b0e;p=friendica-addons.git diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php index 85e808c0..25f7ac87 100644 --- a/dwpost/dwpost.php +++ b/dwpost/dwpost.php @@ -66,8 +66,14 @@ function dwpost_settings(&$a,&$s) { /* Add some HTML to the existing form */ - $s .= '
'; - $s .= '

' . t('Dreamwidth Post Settings') . '

'; + $s .= ''; + $s .= '

'. t("Dreamwidth Export").'

'; + $s .= '
'; + $s .= ''; } @@ -213,7 +219,7 @@ EOT; logger('dwpost: data: ' . $xml, LOGGER_DATA); if($dw_blog !== 'test') - $x = post_url($dw_blog,$xml); + $x = post_url($dw_blog,$xml,array("Content-Type: text/xml")); logger('posted to dreamwidth: ' . ($x) ? $x : '', LOGGER_DEBUG); }