X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dwpost%2Fdwpost.php;h=25f7ac87484e56c3a3f87746bd9f11755314a1a0;hb=fe1153a54db152797b7743eed28f0ec09788ed4e;hp=4e4d45e229d620d7c0017b28a9c8c8e884a3711b;hpb=06e04aca2ff0665a90028e70d3f8ba6a8f173eb2;p=friendica-addons.git diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php index 4e4d45e2..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 .= ''; } @@ -150,7 +156,7 @@ function dwpost_send(&$a,&$b) { if($b['parent'] != $b['id']) return; - // dreamwidth post in the DW user's timezone. + // dreamwidth post in the LJ user's timezone. // Hopefully the person's Friendica account // will be set to the same thing. @@ -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); }