« Web Design | Main

February 27, 2006

Value-added Feeds

I’ve put together a small Perl script that utilizes CPAN modules WWW::Mechanize, HTML::TreeBuilder and XML::Atom to generate an Atom feed of my bank account’s transaction history.

I subscribe to this script using NetNewsWire (it lets you set up a local shell script as a source for a feed this way). And it works well. Well, I have one annoyance with it: I had to put the transaction amount in the author element to get it to show up in a column.

Not ideal. I’m using the subject element to assign a category that my script places the transaction into based on the description of the transaction. I’d like to take it one step further and have it intelligently identify whether that transaction was made by myself or my wife. If I were to do that, I would want to use that for the author information rather than the transaction amount.

And it got me thinking— what an opportunity today’s feeds are missing! Imagine if a dollar value could be communicated in feeds properly. I can think of several uses right away:

  1. Transaction histories perhaps from a bank account. Already mentioned.
  2. A feed from any sort of online store— like Amazon for instance. Having price information right in list there to help you make that snap decision.
  3. Stock quote feeds with the last trade price.
  4. Ebay feeds for auctions you’re watching with the current bid.
  5. Airline ticket prices feed for your next vacation.

And obviously, most items are linked so that you just click through to buy them.

For a given feed, you may wish to choose to sort the incoming items on the ‘amount’ value— sometimes in ascending order (put the cheapest items at the top), sometimes in descending order.

Now perhaps an element for a monetary value is too application specific. Fine, let’s make it a general number— it could be integer or floating point. So here are some uses for feeds with an integer value you can use:

  1. A web site activity feed with the number of hits per page.
  2. A presidential election feed showing election returns per state.
  3. A feed of top popular downloads showing the number of downloads.
  4. Any sort of feed that returns ranked results: Miss America pageant, American Idol voting results, Nielsen feed of television ratings, a feed of the top movies in theaters, etc.
  5. A system administrator’s feed of monitored servers that includes their current load.
  6. Number of “diggs” for a link from a digg.com feed.

An example entry element from a fictitious feed to illustrate what I’m suggesting.

<entry>
    <title>Brad Choate statuette, dipped in bronze</title>
    <author><name>Wal-Mart</name></author>
    <subject>Collectibles</subject>
    <content>Your own figurine of Brad Choate.</content>
    <value xmlns="http://purl.org/atom/ns#value" currency="us-dollar">1.00</value>
</entry>

Imagine if your newsreader could highlight items in the feed based on their value. If you could set up filter rules to say “items in this price range should be in red”. Or “items with this value or lower should be ignored”. Imagine if you could automate the execution of an auction bid based on the value of the item being watched. Or automate the purchase of an item if the price falls to an acceptable range?

There’s still room for a lot of innovation in this space.

February 2, 2004

I Love Popups

I love popups. I realized that today as I was testing a web design in Netscape 4.x (just to see how bad it would look, for the sake of curiosity and amusement) and upon launching, it went to CNN.com. It promptly displayed a popup window.

It took me a little off guard because, having been using Mozilla and Safari for so long now, I have almost forgotten that popups even existed anymore. Then I realized that only these old decrepit browsers still suffer from popup windows.

And that’s when it hit me — popups are the compelling reason for your average user to upgrade to modern browsers. And thus to browsers that support web standards.

The only fly in the ointment is Internet Explorer, which has a number of third party popup blocker solutions, including one from Microsoft that is to be released with the next patch for IE 6. But then, IE has a host of it’s own problems, many far more worse than popups.

So, bring ‘em on! Between sites that just don’t look right, a steady stream of popup ads and all those security issues, people will eventually upgrade.

June 24, 2003

Yet another IE6/CSS bug

Eric Meyer: Testing for Flaws

Eric has a great test case that shows IE’s simple inability to render the CSS rule font size: 1em combined with using IE’s Text Size menu options (“Largest”, “Larger”, “Smaller”, “Smallest”).

Here’s a thought — we need to find a way to portray these CSS bugs as security issues. They seem to be pretty quick to patch Internet Explorer for reasons like that.

So how can we spin this CSS bug and others (like lack of PNG transparency support) so they are considered as top priority? If you can think of any, please do tell.

May 10, 2003

No more new windows for Zeldman

Zeldman abandons new windows for outside links: “If you prefer to load links in a new window, you know what to do.”

My thoughts exactly. And another reason I would like everyone to migrate to XHTML-Strict — no “target” attribute.

If people love new windows for offsite links so much, why hasn’t that become a browser behavior preference by now?

February 14, 2003

Safari 'inline background' bug fixed!

So I noticed referral traffic from Surfin’ Safari this morning and it turns out to be a post by David saying that the Safari bug that is so painfully visible on my site has been fixed (although not available for download just yet).

Dave and his team have been doing a great job on Safari. It’s cool to watch the progress their making. And especially cool that he took the time to mention me specifically, even though the post of mine he discovered that talks about the bug is just something I said in passing while praising Opera 7. How embarrassing.

He goes on to say that the ‘nicetitle’ thing I’m trying out on my site now also works in current builds. That’s cool too.

I posted a comment there expressing my thanks and I also asked when Safari would be available for Windows. I said this with a straight face. Quicktime is available for Windows, so why not Safari too?

January 14, 2003

Cite This

Mark Pilgrim throws a fit over the apparent loss of the cite tag in the latest W3C XHTML 2 working draft. Tantek to the rescue. One of the W3C members responds to confirm that the omission was simply a mistake and will be fixed in the next draft.

I think Mark has real passion for these things and it is certainly showing through his colorful metaphors. However, I think a bit of restraint could have been used here, considering the status of the aforementioned document (from the 'Status' section of the XHTML 2 Working Draft):

This document is the second public Working Draft of this specification. It should in no way be considered stable, and should not be referenced for any purposes whatsoever.

Sideblog Feed

    Error: gmmktime() expects parameter 3 to be long, string given