APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Google endorses microformats

Google has announced support for Rich Snippets. This is information you add to your web pages using "microformats" to help Google understand specific data. For example, Google understands vcard tags. I think it's likely that they understood those long before this announcement, but now they have also added hreview for reviews and say that they intend to extend this idea.

I think it's great, but not everyone is so enthusiastic. Some think that spammers will abuse this or that it will only benefit large sites. While that all could be true, I don't see any reason NOT to make use of this - anything that helps Google understand your pages better has to help you no matter what anyone else is doing.

I've started doing this on pages here. I've updated recent reviews and added microformat tags to the Linux and Unix Consultants page. You can "View Source" there and look for "vcard" to see how this is done. For an example of using hReview, look at the source for Take Control of the Mac Command Line with Terminal. You'll see these tags in the source:

<div class="hReview">
<div class="item">
 

Those tell Google that this is a review. Later on, I tag the title with a "fn" tag. Notice that these are done "inline".

<p><i><span class="fn">
Take Control of the Mac Command Line with Terminal</span></i> 
is the answer.
<div class="summary">Joe Kissell leads you step by step from
knowing absolutely nothing to having confident control of Mac OS
X Terminal and the bash shell.   If you have been fearful of the
OS X command line, this is where you want to start.</div></p>
 

I use a few more tags to identify the reviewer, the date, and a rating:

<p><span class="reviewer">Tony Lawrence</span> 
<span class="dtreviewed">2009/05/04</span> 
Rating:  <span class="rating">4.5</span></p>
 

Note that you don't need to use DIV or SPAN - you can add these class identifiers to any tag, so if your data is already structured (for example with UL/LI tags), you can use those.

This is simple enough, but unfortunately, some of the examples Google provides are inaccurate and potentially confusing. I'd pay more attention to Microformats.org pages for guidance.

I'd like to see Google add a "tutorial" format with similar fields to "hreview" but the rating would run from "1.0" (Basic) to "5.0" (Advanced).



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> Google endorses microformats




Increase ad revenue 50-250% with Ezoic


More Articles by

Find me on Google+

© Anthony Lawrence



Kerio Samepage


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.

Contact us





Every piece of software written today is likely going to infringe on someone else's patent. (Miguel de Icaza)

A common and not necessarily apocryphal example portrays a solo practitioner starved for business in a small town. A second lawyer then arrives, and they both prosper. (Deborah L. Rhode)







This post tagged: