Bear in mind, POST data is usually accessed by reading from the stream 
php://input on most recent PHP 5 versions. The global Shawn referenced should 
even be unavailable in such cases.

Sent from my iPhone

On 11 Oct 2009, at 20:08, pwestbro <[email protected]> wrote:


Hello,
  Yes, I am using php.  Thank you for that suggestions.  When I tried
that, I don't appear to be getting any valid data.

When I add the line:

 error_log(print_r($GLOBALS['HTTP_RAW_POST_DATA']));


I only see the string "1" printed in the logs.

Is this a problem because the feed doesn't have a hub link in it?
Does the reference server support notifications for arbitrary rss
feeds?


Thank you,

Paul



On Oct 10, 12:53 pm, Shawn McCollum <[email protected]> wrote:
Paul what language are you using at the endpoint?  I'm using php on
mine and needed to use $GLOBALS['HTTP_RAW_POST_DATA']

Shawn McCollum

On Sat, Oct 10, 2009 at 3:07 PM, Nick Johnson (Google)

<[email protected]> wrote:
How are you trying to access the POST data? It's not a form, so you can't
access it as form variables they way you usually would - you have to parse
the body of the request itself.

-Nick Johnson

On Sat, Oct 10, 2009 at 6:08 PM, pwestbro <[email protected]> wrote:

Hello,
  I am trying to write a client to subscribe to feed update
notifications.  This code is able to subscribe, and receives the
verification call successfully.  The problem arrises when the feed is
updated.  My coded is called, but no parameters are passed in, either
with GET or POST.  This makes it impossible to know which feed is
actually updated.

This happens when I use the reference server at
http://pubsubhubbub.appspot.com/.
The feed that I am subscribing to is:

http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&topic=h&num=3&ou...

Any help that you can give would be appreciated.

Thanks,

Paul

--
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

Reply via email to