X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dwpost%2Fdwpost.php;h=2391b5711cdbf41b8dac81f60cf45659514e8027;hb=54dd4989ce45c866dd21291f4d1c7a7ce858f41f;hp=5f8dcc733ae6f531f1844529c0012bea7df63835;hpb=84f26d06c41a6110e9dc08c5622f256be628241f;p=friendica-addons.git diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php index 5f8dcc73..2391b571 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 */ @@ -213,7 +213,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); }