I have a hub/client library implemented in .NET WCF framework. I am
able to subscribe properly (I get a No Content response when I do a
sync request). But when I add a post to the blog, I dont get a
notification. I do get a notification if I publish from
http://pubsubhubbub.appspot.com/publish to my topic url.
Here are the details
blog i am testing with : http://realtime-web.blogspot.com/
topic URL I am using (from the self link) :
http://www.blogger.com/feeds/7051586282694728525/posts/default
subscriber url : http://galactica.webhop.net/PubSubHubbub/PubSubHubbub.svc/callback2
I can see my subscription at :
https://pubsubhubbub.appspot.com/subscription-details?hub.callback=http://galactica.webhop.net/PubSubHubbub/PubSubHubbub.svc/callback2&hub.topic=http://www.blogger.com/feeds/7051586282694728525/posts/default&hub.secret=
Any help is much appreciated.
Thanks
Ravikant
I think you're doing things right except for one thing: The self-link
that you're subscribing to is the not the one being pinged. You need
to subscribe to the one advertised from the blogger page:
<link rel="alternate" type="application/atom+xml" title="realtime-web
- Atom" href="http://realtime-web.blogspot.com/feeds/posts/default" />
The reference hub does the best job it can at determining feed aliases
and working around these canonicalization issues, but in your case
specifically the heuristics fell short. Sorry for the trouble!
Also note that the 0.3 draft spec removed the dependency on the
self-link subscription for precisely this reason. You should subscribe
to whatever user-visible feed link you can find via feed
auto-discovery (i.e., links in the head element).
-Brett
Currently I am subscribed to
http://realtime-web.blogspot.com/feeds/posts/default
Now I dont even get a notification from http://pubsubhubbub.appspot.com/publish.
My subscribe request still returned me a "No Content". When I look at
the publisher diagnostics, I see the following error message:
"Could not find any record for topic URL: http://realtime-web.blogspot.com/feeds/posts/default"
Could it be that this is getting canonicalized to the older URL and
so not creating a topic for the new one?
Thanks
Ravikant
On Feb 17, 2:55 pm, Brett Slatkin <bslat...@gmail.com> wrote:
> Hi Ravikant,
>
> I think you're doing things right except for one thing: The self-link
> that you're subscribing to is the not the one being pinged. You need
> to subscribe to the one advertised from the blogger page:
>
> <link rel="alternate" type="application/atom+xml" title="realtime-web
> - Atom" href="http://realtime-web.blogspot.com/feeds/posts/default" />
>
> The reference hub does the best job it can at determining feed aliases
> and working around these canonicalization issues, but in your case
> specifically the heuristics fell short. Sorry for the trouble!
>
> Also note that the 0.3 draft spec removed the dependency on the
> self-link subscription for precisely this reason. You should subscribe
> to whatever user-visible feed link you can find via feed
> auto-discovery (i.e., links in the head element).
>
> -Brett
>
>
>
> On Wed, Feb 17, 2010 at 2:26 PM, ravikant <rkdee...@gmail.com> wrote:
> > Hi there,
>
> > I have a hub/client library implemented in .NET WCF framework. I am
> > able to subscribe properly (I get a No Content response when I do a
> > sync request). But when I add a post to the blog, I dont get a
> > notification. I do get a notification if I publish from
> >http://pubsubhubbub.appspot.com/publishto my topic url.
>
> > Here are the details
>
> > blog i am testing with :http://realtime-web.blogspot.com/
> > topic URL I am using (from the self link) :
> >http://www.blogger.com/feeds/7051586282694728525/posts/default
> > subscriber url :http://galactica.webhop.net/PubSubHubbub/PubSubHubbub.svc/callback2
>
> > I can see my subscription at :
> >https://pubsubhubbub.appspot.com/subscription-details?hub.callback=ht...