Posts Tagged ‘rss’

PubSubHubbub

// December 28th, 2009 // 3 Comments » // Technology, Web Development

For the past few months, my blog has been participating in something called PubSubHubbub. Other than “something with a cool name,” what is PubHubSubbub? It is “a simple, open, server-to-server publish/subscribe protocol as an extension to Atom and RSS.” Using the protocol, servers are able to get near-instant notification of feed updates (feeds are used by blogs and other sites to notify subscribers of new content). Using traditional technology, feed consumers (such as feed readers) periodically poll servers (such as a blog’s web server) for feed updates. This process works, but it wastes bandwidth and other resources since checking is done whether or not updates are available, while also causing delayed notification since polling occurs infrequently. PubSubHubbub fixes this by allowing feed consumers to receive near-instant notification of feed updates. It turns the traditionally-pull-based feed technology into a push technology, so that bandwidth and other resources are only used when actual updates are available and subscribers receive updates almost immediately. PubSubHubbub is a distributed system that is free and decentralized, meaning that no company is at the center of controlling it and anyone can run a “hub,” the component that sits between publishers (such as servers running blogs) and subscribers (such as Google Reader). As you can see in the demo below, this technology enables services to provide a greater level of real-time notification.

Lifestreaming the easy way

// December 3rd, 2008 // No Comments » // PHP

I recently discovered a new PHP/MySQL lifestream tool named Sweetcron. For those of you unfamiliar with the concept of lifestreams, a lifestream simply displays posts you have made to your social networks, blogs, photo sites, etc. It displays a stream of content that is representative of your life, I suppose. I began playing around with lifestreams a few months ago after seeing Joe Tan’s lifestream. Although I really like the way Joe uses Yahoo! Pipes to create his lifestream, I am infinitely happier with Sweetcron.

If you have any PHP experience, you will find Sweetcron very easy to install. If you don’t, I imagine you can figure out the installation without too much difficulty. Simply create the database, change a few lines in a couple of files, upload the files, and complete the installation via the web. Adding new feeds to your lifestream is a snap. Once your feeds are added, you can manually initiate a feed check or wait for Sweetcron to automatically do it. Sweetcron’s feed fetcher prefers to be run automatically via Cron or a Cron-like tool, but the software provides its own “Pseudo Cron” in case you don’t have access to such a tool.

My own installation of Sweetcron uses the default theme, but it looks easy to customize the layout and I look forward to doing some of that and posting a follow-up.

By the way, Sweetcron was developed using the CodeIgniter PHP web application framework and provides a good demonstration of what CI can do. I have looked into CI before but never put a lot of time into it. I’m hoping to get to know it better now that I have seen it in action.

links for 2006-04-30

// April 30th, 2006 // No Comments » // Links

Get Adobe Flash playerPlugin by wpburn.com wordpress themes