X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dwpost%2Fdwpost.php;h=25f7ac87484e56c3a3f87746bd9f11755314a1a0;hb=fba810a8fd84a8f64a760bf811f943e52ee03951;hp=5f8dcc733ae6f531f1844529c0012bea7df63835;hpb=84f26d06c41a6110e9dc08c5622f256be628241f;p=friendica-addons.git diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php index 5f8dcc73..25f7ac87 100644 --- a/dwpost/dwpost.php +++ b/dwpost/dwpost.php @@ -4,7 +4,7 @@ * Name: Dreamwidth Post Connector * Description: Post to dreamwidth * Version: 1.0 - * Author: Tony Baldwin + * Author: Tony Baldwin * Author: Michael Johnston * Author: Cat Gray */ @@ -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); }