On Mon, Jun 10, 2013 at 4:29 PM, Singpolyma <[email protected]>wrote:

> On Jun 10, 7:02 am, Roman <[email protected]> wrote:
> > The hub-initiated automatic subscription renewals are no longer supported
> > by the Google Hub. It's a breaking change in the 0.4 specification.
>
> The 0.4 spec is not linked to from the official google code page.
> Where is the spec hosted?
>

It's at https://superfeedr-misc.s3.amazonaws.com/pubsubhubbub-core-0.4.html.
It'll become "official" later this month.

On further thought: what was the reasoning behind this change?  I've
> gone back and read some discussions of the changes in this group, and
> haven't seen anything about this one specifically.
>

The hub-initiated automatic refresh was prone to accumulating garbage
subscriptions on the hubs. It was also giving the subscribers the false
sense of robustness. What if the hub is unable to reach you when it tries
to refresh your subscription? Will you be OK with that subscription being
lost? In practice, the subscribers are usually not OK with that and want to
be in control of their subscriptions. Also pretty much any subscriber needs
to store all subscriptions in a persistent storage anyway, so it's not too
hard to periodically issue resubscription requests for subscriptions that
need to be extended.

Is there a good "upgrading your subscriber from 0.3" post somewhere to
> tell me what I need to add support for?
>

Not yet. Although there are several breaking changes in 0.4 (e.g., the
absence of 'sync' subscription requests), Google Hub is mostly backwards
compatible. The only thing that has actually changed in a
potentially-user-breaking-way is the one you noticed -- the hub no longer
initiates resubscription requests on its own.


>
> Thanks!
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Pubsubhubbub" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Pubsubhubbub" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to