function posterous_send(&$a,&$b) {
+ logger('posterous_send: invoked');
+ logger('posterous: plugin disabled. API endpoint no longer responds.');
+ return;
+
if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited']))
return;
if($pstr_username && $pstr_password && $pstr_blog) {
require_once('include/bbcode.php');
- require_once('posterous-api.php');
+ require_once('addon/posterous/posterous-api.php');
$tag_arr = array();
$tags = '';
$x = preg_match_all('/\#\[(.*?)\](.*?)\[/',$b['tag'],$matches,PREG_SET_ORDER);
'body' => bbcode($b['body'])
);
+ logger('posterous: params: ' . print_r($params,true), LOGGER_DATA);
+
$api = new PosterousAPI($pstr_username,$pstr_password);
$result = $api->newpost($params);