]> git.mxchange.org Git - friendica-addons.git/blobdiff - dwpost/dwpost.php
Merge remote-tracking branch 'friendica/master'
[friendica-addons.git] / dwpost / dwpost.php
index 4e4d45e229d620d7c0017b28a9c8c8e884a3711b..2391b5711cdbf41b8dac81f60cf45659514e8027 100644 (file)
@@ -150,7 +150,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 +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);
 
        }