After subscribing to various wordpress with success (with a custom
python subscriber client), i tried to subscribe to a series of blogger
weblogs. However the appspot hosted hub keeps returning an error 500
code. It seems that i'm not the only one having this strange problem,
reading: http://stii.co.za/article/pubsubhubbub-on-google-appspot/

I'm using the urllib2 python library and tried various topic urls
including the  /atom.xml, the self url from the feed. Futhermore, i
have been able to subscribe to the appspot hub for various feedburner,
also this fails now.

secret = '2186dfbd1f0b0b044a36f4ef1ccc3a324728d234'
verify = '2186dfbd1f0b0b044a36f4ef1ccc3a324728d234'

hub = 'http://pubsubhubbub.appspot.com/'
topic = 'http://feeds.feedburner.com/blogspot/MKuf'

post_fields = {
      'hub.callback': 'my callback url'
      'hub.mode':  'subscribe',
      'hub.topic':  topic,
      'hub.verify':  'async',
      'hub.secret':  secret,
      'hub.verify_token': verify,
      'hub.lease_seconds':  ''
}

req = urllib2.Request( hub, urlencode(post_fields) )
result = urllib2.urlopen(req)

Is there anyone familiar with this problem?

Reply via email to