more debugging to see if the google push hub is even trying to publish our content.
This commit is contained in:
parent
c012843282
commit
e8d52d879b
|
@ -26,6 +26,7 @@ function dfrn_poll_init(&$a) {
|
|||
}
|
||||
|
||||
if(($dfrn_id === '') && (! x($_POST,'dfrn_id')) && ($a->argc > 1)) {
|
||||
logger('dfrn_poll: public feed request from ' . $_SERVER['REMOTE_ADDR'] );
|
||||
header("Content-type: application/atom+xml");
|
||||
$o = get_feed_for($a, '*', $a->argv[1],$last_update);
|
||||
echo $o;
|
||||
|
|
|
@ -71,6 +71,7 @@ function item_post(&$a) {
|
|||
$location = notags(trim($_POST['location']));
|
||||
$coord = notags(trim($_POST['coord']));
|
||||
$verb = notags(trim($_POST['verb']));
|
||||
$emailcc = notags(trim($_POST['emailcc']));
|
||||
|
||||
if(! strlen($body)) {
|
||||
notice( t('Empty post discarded.') . EOL );
|
||||
|
|
Loading…
Reference in New Issue
Block a user