Hi everyone,
    I'm getting PSHB updates for feeds that I have previously subscribed to
but I don't want them anymore. To issue an unsubscribe request, I need to
know the hub url and the topic url, of which I only have the hub url because
I had encoded it in the callback URL when I subscribed, but I don't have the
topic URL (long story, don't ask :)

    I started to parse the feed content to extract the topic URL from it
from the <link rel='self'> tag. That worked for a few feeds, but I quickly
found out that Blogger.com blogs actually put a different feed URL in the
"self" link, and they put the actual feed URL in a different tag:

<link rel='http://schemas.google.com/g/2005#feed' ...>

    So I put an exception for blogger.com blogs to grab the topic URL from
the other link. That worked for many feeds, but I still have many other
updates I receive in which the feed doesn't contain a self link at all or
it's a bozo feed that can't be parsed. Am I missing something obvious? Any
suggestions?

Regards,
Waleed

Reply via email to