Google's version 2 of their popular ajax feed api now can display PubSubHubbub enabled feeds in real-time. Using this api we can now easy blog in real time without polling. I'm going to show you how to set-up the example at the bottom of the page on your website.
First you'll need to configure your blog or website to publish a pubsubhubbub feed. If you're using a WordPress self hosted blog there are a few plugins to choose from that will automatically do this for you. If you are on WordPress.com, Tumblr or Posterous then you're already publishing a PubSubHubbub enabled feed. For Feedburner feeds enable their service called "PingShot" under the publicize tab. The "PingShot" service will enable pubsubhubub on your feed but be aware the that FeedBurner is not real-time from your blog to their service. Otherwise consult the documentation on how to add it to your site's feed.
Now that you are able to publish a real-time feed we want to consume that feed and display it to our readers with the Google Feed API for some real-time awesomeness. You'll need to add the following javascript to include the ...
Read more »