Contexta Digital
  • How Can We Help?
    • SEO & SEM
    • SEO Training
    • Web Design
  • Upcoming Events
  • Blog
  • Videos
  • Contact Us
0

HOWTO:Use hCard Microformats for Local Search

8 April, 2010 - HOWTO

With the explosion of mobile devices and geo-targeting in search, providing accurate contact and location information to search engines is critical.  Some of the more obvious steps to take involve making sure that you are listed in local directories with the appropriate information, as well as registered with Google’s Local Business Center.

On your site, you should ensure that your contact information (email, telephone and address) are in text form and are on every page.  It is becoming increasingly common to put this information in the footer of your site.

The next level of sophistication is to add semantic data to your contact information.  There is a lot of talk about the semantic web, and most of it is very confusing to the un-initiated.  Leveraging the semantic web means using meta data, or data about data.  Increasingly this can be done using microformats.  Microformats are tags, or labels, that you include in the HTML code around information on your site.  This helps the search engines understand the meaning and context of your data.

In other words, I use microformats to ensure that a search engines realize that 514-436-0672 is my phone number, not just a string of digits.

In the case of contact information, use the hCard microformats.  The list of available attributes is very lengthy, but the implementation is very simple.

Use the hmtl <div> tag to indicate that you are creating an hCard.

<div class=”vcard”>

Within this parent division, each address or contact category gets it’s own <div>.  This allows you to separate names, organizations, telephone numbers and addresses.

A very simple hCard could look like this:

<div class=”vcard’>

<span class=”fn”> Michael Lautman</span>

<div class=”tel”>514-436-0672</div>

</div>

A more complete hCard would be formatted like this:

<a class=”url fn” href=”http://contexta.ca”>Michael Lautman</a></p>

<div id=”hcard-Michael-Lautman” class=”vcard”>Contexta Search</div>

<a class=”email” href=”mailto:michael@contexta.ca”>michael@contexta.ca</a>

<div class=”adr”>

<div class=”street-address”>105 Taywood Dr.</div>

<span class=”locality”>Beaconsfield</span>,<span class=”region”>QC</span>

<span class=”postal-code”>H9W 1A7</span>,<span class=”country-name”>Canada</span>

</div>

<div class=”tel”>514-436-0672</div></div>

and would appear as follows:

Michael Lautman

Contexta Search

michael@contexta.ca

105 Taywood Dr.

Beaconsfield,QC
H9W 1A7,Canada

514-436-0672
If you’re business values local search results, implementing hCard microformats is a must.
You can see more details about the hCard microformat at the microformat wiki and use the hCard creator.

Similar Posts:

    None Found

No comments yet.

Add a comment

Top
Click here to cancel reply.
(it will not be shared)

Archives

  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • November 2010
  • August 2010
  • July 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010

Recent Comments

  • Michael Lautman on How Not to Suck at Social Media: Follow Up
  • Anonymous on How Not to Suck at Social Media: Follow Up
  • Michael Lautman on How Not to Suck at Social Media: Follow Up
  • Jesse on How Not to Suck at Social Media: Follow Up
  • Anonymous on How Not to Suck at Social Media: Follow Up

Pages

  • How Can We Help?
  • Web Design
  • SEO & SEM
  • Sitemap
  • Contact Us
  • Videos
  • West Island SEO Training
  • West Island SEO Services
  • Contact Us

Popular Posts

  • Blog Post Ideas: Brainstorming for Content Marketing
  • Are You The Next Blockbuster Video?
  • An Interview with Marc Thompson of Genumark
  • The Art of AdWords - June 2011

Contexta Digital

105 Taywood Drive
Beaconsfield, QC
H9W 1A7
514.436.0672