I was able to talk with Michael Kaply the night that he released Operator (Mozilla’s, sponsored, Microformat extension). This extension is part of the new Mozilla Labs initiative that was just started (It’s an attempt to sponsor and promote excellent-quality extensions, and other tools; a terrific idea).
We discussed Microformats in general – and both complained about the shoddy quality of most Microformat parsers. We agreed that in order for the Microformat initiative to move forward, a couple things had to be done:
- A standard for parsing Microformats had to be clearly defined.
- An excellent implementation of that standard needed to be implemented.
- And an important player needed to adopt the use of that tool.
The reason why I’m so excited, right now, is that this is actually happening. In Firefox 3, it’s looking likely that there’s going to be native handling of Microformats. This would include a defined API for handling Microformats (most likely on the extension level) on any given web page.
This is a huge step forward for the Microformat movement.
Thankfully, Michael has already started developing the solid Microformat Parser, with Andy Mitchell, that will go into Firefox 3. And since this is part of the overall Firefox 3 Content Handling Requirements, it’s a big priority for inclusion.
For example, here’s some pseudo-code (any final result will, most likely, be very very different):
var img = document.createElement(“img”);
img.src = “hcard.gif”;
img.title = card.data.name + “‘s Personal Information”;
card.container.appendChild( img );
When it becomes this easy to handle Microformats, it almost becomes harder to not support them in your extensions. I suspect that once this feature hits the big time, we’ll see a flood of Microformat-supporting extensions. And this is great for extension developers, the Microformat movement, and, most of all, end users everywhere.
This is a great time to be getting into Microformats.