X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ijpost%2Fijpost.php;h=d6861f46949b172720b653e01e6f0495f2bbf89a;hb=0889688e712b0a1bfe81e723972f613ad173fae3;hp=00bc375e79e10eb9e8f08626f003612489a4de95;hpb=3d38180d8f61c9922f4bbdbda0ac5010463a0b0e;p=friendica-addons.git diff --git a/ijpost/ijpost.php b/ijpost/ijpost.php index 00bc375e..d6861f46 100644 --- a/ijpost/ijpost.php +++ b/ijpost/ijpost.php @@ -36,7 +36,7 @@ function ijpost_jot_nets(&$a,&$b) { $ij_defpost = get_pconfig(local_user(),'ijpost','post_by_default'); $selected = ((intval($ij_defpost) == 1) ? ' checked="checked" ' : ''); $b .= '
' - . t('Post to insanejournal') . '
'; + . t('Post to Insanejournal') . ''; } } @@ -67,24 +67,24 @@ function ijpost_settings(&$a,&$s) { /* Add some HTML to the existing form */ $s .= '
'; - $s .= '

' . t('Insanejournal Post Settings') . '

'; + $s .= '

' . t('InsaneJournal Post Settings') . '

'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; @@ -150,7 +150,7 @@ function ijpost_send(&$a,&$b) { if($b['parent'] != $b['id']) return; - // insanejournal post in the IJ user's timezone. + // insanejournal 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('ijpost: data: ' . $xml, LOGGER_DATA); if($ij_blog !== 'test') - $x = post_url($ij_blog,$xml); + $x = post_url($ij_blog,$xml,array("Content-Type: text/xml")); logger('posted to insanejournal: ' . ($x) ? $x : '', LOGGER_DEBUG); }