]> git.mxchange.org Git - friendica-addons.git/blobdiff - ljpost/ljpost.php
pumpio: cleaning up the entered data
[friendica-addons.git] / ljpost / ljpost.php
index e1bd2d630e28beb0e2c56acbbc71316b9cd0b2c8..dc17e83fc8e7d667b71c1bad2a440ba8c2d03238 100755 (executable)
@@ -4,7 +4,7 @@
  * Name: LiveJournal Post Connector
  * Description: Post to LiveJournal
  * Version: 1.0
- * Author: Tony Baldwin <http://tonybaldwin.me/friendica/profile/tony>
+ * Author: Tony Baldwin <https://free-haven.org/profile/tony>
  * Author: Michael Johnston
  * Author: Cat Gray <https://free-haven.org/profile/catness>
  */
@@ -232,7 +232,7 @@ EOT;
                logger('ljpost: data: ' . $xml, LOGGER_DATA);
 
                if($lj_blog !== 'test')
-                       $x = post_url($lj_blog,$xml);
+                       $x = post_url($lj_blog,$xml,array("Content-Type: text/xml"));
                logger('posted to livejournal: ' . ($x) ? $x : '', LOGGER_DEBUG);
 
        }