As stated below, you can just preconfigure it at the hub and not do discovery. 
There are also proposals out there for alternate discovery mechanisms that do 
not depend on the format of ATOM/RSS, and the best one I've seen is using the 
HTTP Link header. By specifying a Link in your return, you can be completely 
agnostic to the content of the "feed", meaning it can be an API backed by JSON 
or XML or even binary data and the same hub mechanisms will work.

 -- Justin
________________________________
From: [email protected] [[email protected]] on behalf 
of Julien Genestoux [[email protected]]
Sent: Friday, October 21, 2011 4:33 AM
To: [email protected]
Subject: Re: [pubsubhubbub] Can feeds without an atom:link element pointing to 
a hub endpoint URL be consumed through Pubsubhubbub?

Florent,

As per the spec, to be pubsubhubbub enabled, the feeds need to point to a hub. 
How would you know which hub to subscribe to if the feed doesn't indicate?

Some services, including http://superfeedr.com/ (which I created) do work as 
default hubs : whatever URL you subscribe to, they will poll the content and 
push it to you. , and a bunch of our customers use Google News feeds.

I hope this helps.
Julien


On Tue, Oct 18, 2011 at 6:04 PM, Florent Guileux 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I'm new to Pubsubhubbub and trying to figure out if I can get updates through 
Pubsubhubbub from feeds that don't have an atom:link element pointing to a hub 
server?

http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html#discovery
 says it's required and that seems quite logical.

However the last slide of 
https://docs.google.com/present/view?id=ajd8t6gk4mh2_34dvbpchfs says it's 
optional.

I want to get updates through Pubsubhubbub from Google News feeds like 
feed://news.google.com/news?q=google&output=rss<http://news.google.com/news?q=google&output=rss>
 or 
feed://news.google.com/news?q=pepsi&output=rss<http://news.google.com/news?q=pepsi&output=rss>
 for instance. They do not include a link to a hub server.

Thanks!

Regards,
Florent

Reply via email to