Opened 12 years ago

Last modified 12 years ago

#377 closed defect (FIXED)

Make feed PubSubHubbub enabled

Reported by: Michele Azzolari Owned by: Michele Azzolari
Priority: minor Milestone: 0.2.1
Component: programming Keywords:
Cc: Parent Tickets:


I created a branch [1] to make feed PubSubHubbub enabled.

To enable it add these 2 lines to your mediagoblin\_local.ini

push\_enabled = True
push\_url = ''

[\ :sub:`macno/mediagoblin/macnos-mediagoblin/commits/pushatom](`\ macno/mediagoblin/macnos-mediagoblin/commits/pushatom)

Change History (8)

comment:1 by Elrond, 12 years ago

Component: Programming
Status: NewFeedback
Stupid question: Why not enable just/when/if the url is set?
Two config settings feels a bit "too much"?

comment:2 by Michele Azzolari, 12 years ago

Removed one setting. If push\_url is set, we use it

[\ :sub:`macno/mediagoblin/macnos-mediagoblin/commit/7f251b037bd5207652ca73f556e90b9633786a3c](`\ macno/mediagoblin/macnos-mediagoblin/commit/7f251b037bd5207652ca73f556e90b9633786a3c)

comment:3 by Elrond, 12 years ago

Milestone: 0.2.1
Owner: set to Elvenlord Elrond
That looks good!
I'll try to merge this tomorrow.

comment:4 by Elrond, 12 years ago

Status: FeedbackIn Progress
Hi Michele,

I merged your tree (so please do a ``git merge upstream/master`` or

But (and that's the reason I'm not closing the bug):

If the remote server is broken (you can easily test this using
``http://localhost/no-such-file,`` as a ``push_urls`` setting) one
gets a big fat error page (urllib2.HTTPError exception).

I am currently unsure what is the best option for this.

My vote is on "catch the exception and add the stringified version
of the Exception as a message", so the users gets it. Maybe not the
best, but our current userbase will surely know what to do with
such a strange thing.

comment:5 by Elrond, 12 years ago

Owner: changed from Elvenlord Elrond to Michele Azzolari

comment:5 by Michele Azzolari, 12 years ago

I pushed the changes to my branch, check it out

comment:6 by Elrond, 12 years ago

Status: In ProgressClosed
Great work!

comment:7 by Will Kahn-Greene, 12 years ago

The original url for this bug was .
#311: related

Note: See TracTickets for help on using tickets.