You may have heard mention of "microformats" recently. If you
investigated, you probably ran across mumbling like this
from http://microformats.org/about/:
Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards. Instead of throwing away what works today, microformats intend to solve simpler problems first by adapting to current behaviors and usage patterns (e.g. XHTML, blogging).
That paragraph (and the rest of the page it came from) really does sum up microformats nicely. That it does so while leaving you still uninformed and clueless could be seen as mildly amusing for the cognoscenti, but probably is simply annoying and frustrating for everyone else.
Let's take the mystery out of it: Microformats are nothing
more (and nothing less) than using XHTML markup to more
fully identify data. That's it. No magic, no mumbo jumbo.
Here's an example:
If you "View Source" on this page, you'll see that each section of
that "hCard" is marked with a "class" tag:
<span class="postal-code"02346</span
Note what's important here is the "class=", not the "span" - the
class could have just as well be applied to a <li> tag. But
if that's all there was to microformats, they'd just be another
confusing tagging mechanism, no doubt complete with a monstrous
XML schema that tried to be all things to all people. That's
the inherent problem of data tagging after all: who defines the
tags?
Microformats sidestep that issue. If you noticed the very first
tag, it references something that already exists and is in wide
use:
<div class="vcard">
That "div" encloses the other data and defines the meaning of
the inner class tags. Any program that already understands vCards
can now extract data directly from this web page and import that
data into itself. There are Firefox extensions that do just that.
Now go back and look again at that paragraph I quoted. Makes more sense now, doesn't it? Apple has given this a nod in their new .Mac webmail, and Firefox seems to be planning more microformat integration, as does Microsoft, so you'll probably be hearing this term again.
Update: Google endorses "Rich Snippet" microformats for hcard and hreview markup.
See The Big Picture on Microformats also.
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Mon Oct 30 18:53:59 2006: Subject: TonyLawrence
By the way, the "class=" isn't the only identifier for a microformat. See http://microformats.org/wiki/rel-tag for example.
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar