Hi Andrea,

When your callback receives GET from the hub it should follow the procedure
described here
http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html#verifysub,
i.e. "respond with an HTTP success (2xx) code with a response body equal to
the hub.challenge parameter" in order to confirm that you really want to
subscribe.

--
Kate

On Wed, Oct 24, 2012 at 11:03 AM, Andrea Candini <[email protected]>wrote:

> I finally managed to put my .war file online, but I still have the same
> problem. You can access my feed from this 
> link<http://receivetemplate.eu01.aws.af.cm/feed/>:
> do you spot any error in the RSS code? My callback is 
> here<http://receivetemplate.eu01.aws.af.cm/receivefromhub>,
> instead: when it receives a GET request it shows a simple text line, while
> it should create an empy txt file if it receives a POST message (I haven't
> implemented anything in particular at the moment, as I would like to get at
> least the base part right).
>
> Subscription confirmation should be automatically done by the PuSHhandler
> class, if I understand properly the code: do I have to implement
> processFeed() method in order for it to work?
> I tried to subscribe from https://pubsubhubbub.appspot.com/subscribe too,
> but result is the same.
>

Reply via email to