Difference between revisions of "Setting Up PubSubHubbub"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with ' oo o o o o o braindump, please fix o o o o o o oo Setting up PubSubHubbub can be done pretty easily. There are two sides, Subscribing and Publishing. == Publishing == First,…')
 
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
  
 
Yes; you have to use the workerized synsuck interface.  This is so that we're able to quickly schedule feed pulls.  Do note that you must make sure your syndicated feed queue is small.  If you have a lot of feeds that need updating and the queue is perpetually hours behind, subscribing via hubbub won't work so well!
 
Yes; you have to use the workerized synsuck interface.  This is so that we're able to quickly schedule feed pulls.  Do note that you must make sure your syndicated feed queue is small.  If you have a lot of feeds that need updating and the queue is perpetually hours behind, subscribing via hubbub won't work so well!
 +
 +
[[Category: Dreamwidth Installation]]

Latest revision as of 23:07, 2 September 2009

oo o o o o o braindump, please fix o o o o o o oo

Setting up PubSubHubbub can be done pretty easily. There are two sides, Subscribing and Publishing.

Publishing

First, you have to pick a hub and add it to your etc/config-private.pl:

   @HUBBUB_HUBS = ( "http://pubsubhubbub.appspot.com/" );

Now, all of your RSS/Atom feeds will automatically include this hub link. Once that's done, you have to run the worker ping-hubbub to actually send the pings. You can use etc/workers.conf and bin/worker-manager or your drug of choice to actually do this.

With those two steps done, publishing works. You will let the world know every time someone on your site updates.

Subscribing

This is a far more complex piece. There's a lot more moving parts with the subscription infrastructure. Notably, you have to setup three separate workers.

   subscribe-hubbub
   schedule-synsuck
   synsuck

Yes; you have to use the workerized synsuck interface. This is so that we're able to quickly schedule feed pulls. Do note that you must make sure your syndicated feed queue is small. If you have a lot of feeds that need updating and the queue is perpetually hours behind, subscribing via hubbub won't work so well!