Putting RSS to Work: Immediate Action Feeds
In the course of working on the design for several RSS/Atom-enabled applications, I have become increasingly dissatisfied with the typical form of syndicated feeds. These feeds are so easy to generate that we can readily squirt out all sorts of information from applications without any regard to usability. I believe that such feeds shouldn't just be informational, they should actually be usable.
My justification for this is simple: we RSS/Atom users are lazy. Visit 15 websites every day? Not a chance. Subscribe to 200 full-content feeds which I can read in one spot? Sign me up!
Even so, most syndicated feeds from applications contain read-only information: events, state changes, etc. Yet if I want to act on the information, I almost always have to follow a link to the website where I can actually do something. Remember, I'm lazy. Yeah, I read the RSS notice about the impending core meltdown. But I now have to click through to a website, then authenticate, then find a button to retract the plutonium rods? What a hassle.
Fortunately, I believe there is an important new pattern emerging in RSS and Atom feeds, one that is focused on improving the user experience. I call this pattern Immediate Action. It is a simple philosophy that can make the difference between a typical feed and a really useful feed. Here is the essence of it:
You have probably already seen the Immediate Action pattern, not in feeds, but in your email inbox: "Click this link to activate your account." Or how about this old standby: "Click here to unsubscribe." The URLs provided in these emails have unique information to be received by a web-based application. The approach used to create a personalized email can just as easily be used in an RSS or Atom feed.
Immediate Action is a simple idea, really. But when applied, it moves your feed from being merely informational to being interactive. It is also a proven idea; good webmasters are constantly evaluating how to reduce the number of clicks between first impression and purchase. In the same spirit, do whatever you can for your users to reduce the number of clicks from your feed to the desired outcome.
Let's consider a well-publicized example of an Immediate Action Feed. Auction giant eBay recently generated a good deal of buzz with the announcement that eBay Stores can now provide RSS feeds of their items for sale. What has gone mostly unsung is a nice Immediate Action feature built right into those feeds: Each item contains an "Add to watch list" link. The URL goes to the eBay website and adds the item to your watch list, provided you are logged in. This is a great example of an easy way to implement Immediate Action by using REST-ful links in your feeds.

Figure 1. An eBay Store RSS feed
Disappointingly, the more important "Buy it now" link is not an Immediate Action. It should take you directly to a purchase confirmation page. Instead, the link takes you to the item's auction page where you must redundantly click the "Buy it now" button, which then takes you to the purchase confirmation page. The repeated step is unnecessary since even the confirmation page allows you to change your mind. Hopefully the eBay folks will get this fixed in short order.
|
To show how the Immediate Action principle could turn a simple feed into a really useful feed, let's consider a popular website: Remember The Milk. This nifty AJAX-driven website allows you to make and manage lists of tasks with due dates, priorities, etc. When logged in, you can do a number of things to each task, as shown in Figure 2:

Figure 2. Managing a task at Remember The Milk
The site also offers reminders of your tasks via an Atom feed. Each task becomes a feed item, so the fit is quite natural. Unfortunately, the feed items are purely informational, like so:

Figure 3. Actual task from Remember The Milk feed
You get to see the task, but you have no immediate way to act on it. Want to mark it off your list or postpone it? Sorry, you'll have to head back to the website. This is a great opportunity lost by the RTM team. If they were to follow the Immediate Action pattern, they would add controls for some common actions, right there in the feed. Here is what that could look like:

Figure 4. Theoretical task from Remember The Milk feed
In this theoretical example, the feed contains both form elements and personalized URLs, similar to what already exists on the website. The great news for the RTM developers is that they have already done the hard part. The server logic to handle the form request already exists on the website. The feeds are already personalized, authenticated, and secured over HTTPS. The remaining steps to implement Immediate Action would involve adding the form HTML to the feed and some server-side refactoring to allow the off-site request.
A typical blog feed provides entries with a link back to the website. Some feeds offer a link to the comments area as well. If you want to comment on an entry, you follow the link to the website, locate the comments form, then leave your thoughts. Standard stuff.
Far from standard, however, is an Immediate Action experiment that some bloggers have been playing with over the last few months: They have put a comment form directly into their RSS feeds. Some of the more notable examples have come from Danny Ayers, Christopher Schmidt, and Russell Beattie.
The results of these experiments have been mixed, largely due to two factors:
<form/> tags.The second issue raises a good question: "Where does Immediate Action fit?" Only time will provide the real answer, but I believe there are some reasonable guidelines to shape your decision process . . .
When using the Immediate Action pattern in your feeds, here are some guidelines to keep in mind:
Patrick Chanezon of the ROME project also has this advice: Some authentication mechanisms, like HTTP + Basic, rely on browser cookies. Aggregators which don't properly share cookies with their embedded browser components can cause authentication headaches. Some careful testing may be needed to ensure the major desktop aggregators perform as desired. Hopefully, as Immediate Action feeds become more common, new aggregator versions will come out to make up for current shortcomings.
GET or POST back to your server.I believe we're entering a new era of truly useful RSS and Atom feeds, many of which will be following the Immediate Action pattern. My hope is that by identifying this pattern we can inspire developers across the net to look at their syndicated feeds and start thinking about usability. If you know of a feed using Immediate Action, or if you improve a feed by applying the pattern, I would love to hear about it.
Happy feeding!
XML.com Copyright © 1998-2006 O'Reilly Media, Inc.