Padraic Thanks for you reply. I can see GET callbacks that are trying to verify the subscription and no errors are thrown. The following log file snippet is (I believe) the hub trying to verify the subscription:
74.125.75.4 - - [08/Oct/2010:13:34:45 +0100] "GET /feed/callback?xhub.subscription=d0b79c084c2d24bdf5df62e45e7aeca0&hub.verify_token=1672036224caf0fe4df4ac8.570603301286541284&hub.challenge=RNPpwPzDJObkTyyNCKIOpd6JEseYc0o-16c8vh8K-kV4t33DtTDwDp5V8pK2P1RlsMQIONbgKzFT_jHVaRjsW6YAyBb-YxibpUT7RY2WlknpABgZXp_1J7edymPcKvdP&hub.topic=http%3A%2F%2Fwww.google.com%2Freader%2Fpublic%2Fatom%2Fuser%2F00446741949858159700%2Flabel%2FStephen%2520Fry&hub.mode=subscribe&hub.lease_seconds=2592000 HTTP/1.1" 200 128 "-" "AppEngine-Google; (+http://code.google.com/appengine; appid: pubsubhubbub)" As you can see, my callback returns a 200 with a body 128 bytes long (containing the hub.challenge). However, I don't get any posts and if I use the Hub subscription form at https://pubsubhubbub.appspot.com/subscription-details I get 'not verified'. The request looks like: https://pubsubhubbub.appspot.com/subscription-details?hub.callback=http%3A%2F%2Fportal.go-optimisation.co.uk%2Ffeed%2Fcallback&hub.topic=http%3A%2F%2Fwww.google.com%2Freader%2Fpublic%2Fatom%2Fuser%2F00446741949858159700%2Flabel%2FStephen%2520Fry&hub.secret= If I subscribe using the form on the same page, my callback function receives a GET to verify the subscription but the GET does not have an xhub.subscription parameter so my callback function fails with a 404. If I spoof the xhub.subscription parameter then my callback fails as the verify.token does not match. Love the protocol - beginning to hate trying to get it to work :) Kind regards, Bill On 7 October 2010 16:20, Pádraic Brady <[email protected]> wrote: > Hi Bill, > > Also be sure that if using this in the context of a Zend Framework app, that > you have an appropriate callback and the necessary Route defined. Check the > reference guide for ZF for the options you can use here to ensure there are > no mistakes. Have you checked your web server's access logs in case you are > getting updates but they are being mis-routed within your app? > > Best regards, > Paddy > > Pádraic Brady > > http://blog.astrumfutura.com > http://www.survivethedeepend.com > Zend Framework Community Review Team > > > ________________________________ > From: billf <[email protected]> > To: Pubsubhubbub <[email protected]> > Sent: Tue, October 5, 2010 1:20:28 PM > Subject: [pubsubhubbub] Zend Framework / Pubsubhubbub / Google Reader - no > updates > > I am using the Zend Framework Pubsubhubbub classes to subscribe to a > Google Reader feed. I have Zend experience, relatively new to feeds > and v.new to pubsubhubbub. > > So far I can: > - use Zend_Feed_Reader to import the feed and get the hub details > (http://pubsubhubbub.appspot.com/) > - use Zend Pubsubhubbub to subscribe (tokens are verified and the hub > doesn't return an error) > > However I never get a post of a feed update. > > I have seen that there have been problems with the hub - would that > explain the problem? > > As the feed contains a link to hub I assume that the hub posts updates > for the feed - is that always correct? > > How can I check that the hub shares my app's view of the subscription > status (that I am subscribed to the feed)? > > What else can I do to find out what the problem is? > > many thanks for any response, > Bill >
