<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Scattered Thoughts &#187; microformats</title>
	<atom:link href="http://www.kunaal84.com/blog/category/microformats/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kunaal84.com/blog</link>
	<description>where you go when not looking for the answer to life, the universe and everything</description>
	<lastBuildDate>Tue, 15 Dec 2009 14:04:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Hide your Email Address Using Microformats</title>
		<link>http://www.kunaal84.com/blog/2007/10/25/hide-your-email-address-using-microformats/</link>
		<comments>http://www.kunaal84.com/blog/2007/10/25/hide-your-email-address-using-microformats/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 15:25:38 +0000</pubDate>
		<dc:creator>Kunaal Ramchandani</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[tips&tricks]]></category>

		<guid isPermaLink="false">http://www.kunaal84.com/blog/2007/10/25/hide-your-email-address-using-microformats/</guid>
		<description><![CDATA[Heres a little tip to hide your email address on your site, so that it is only visible to people with microformat readers. Suppose I wanted to advertise an email &#8216;kunaal@somedomain.com&#8217;, normally you would not put that on your website for fear of getting your email inbox choked with spam. Here is another little trick [...]]]></description>
			<content:encoded><![CDATA[<p>Heres a little tip to hide your email address on your site, so that it is only visible to people with microformat readers. </p>
<p>Suppose I wanted to advertise an email &#8216;kunaal@somedomain.com&#8217;, normally you would not put that on your website for fear of getting your email inbox choked with spam. Here is another little trick to hide your email address from everyone without a microformat reader.</p>
<p>Normally, you would write your email address using microformats as so &#8211; <span class="vcard"><span class="fn">Kunaal Ramchandani</span> can be contacted on <span class="email"><span class="value">kunaal@somedomain.com</span></span></span>, which in the code would appear as </p>
<pre name="code" class="html">
&lt;span class="vcard"&gt;&lt;span class="fn"&gt;Kunaal Ramchandani&lt;/span&gt; can be contacted on &lt;span class="email"&gt;&lt;span class="value"&gt;kunaal@somedomain.com&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
</pre>
<p>Now an ordinary scraper can easily pick up the email address mentioned in there, so to get around that we introduce random characters in between the email address, but put them outside the &lt;span class=&#8221;value&#8221;&gt; tags. What I mean is that I separate each character of the email address in a &lt;span class=&#8221;value&#8221;&gt; tag, and I write random letters in between each &lt;span class=&#8221;value&#8221;&gt; &lt;/span&gt; pair, i.e for &#8216;kunaal&#8217; I would convert it to </p>
<pre name="code" class="html">
&lt;span class="value"&gt;k&lt;/span&gt;
&lt;span class="value"&gt;u&lt;/span&gt;
&lt;span class="value"&gt;n&lt;/span&gt;
&lt;span class="value"&gt;a&lt;/span&gt;
&lt;span class="value"&gt;a&lt;/span&gt;
&lt;span class="value"&gt;a&lt;/span&gt;
&lt;span class="value"&gt;l&lt;/span&gt;
</pre>
<p>and then introduce random characters like #,$,! random letters etc in between, making the final code look like</p>
<pre name="code" class="html">
&lt;span class="email"&gt;&lt;span class="value"&gt;k&lt;/span&gt;##&lt;span class="value"&gt;u&lt;/span&gt;!!&lt;span class="value"&gt;n&lt;/span&gt;@@&lt;span class="value"&gt;a&lt;/span&gt;$$&lt;span class="value"&gt;a&lt;/span&gt;%%&lt;span class="value"&gt;l&lt;/span&gt;^^&lt;span class="value"&gt;@&lt;/span&gt;**&lt;span class="value"&gt;s&lt;/span&gt;((&lt;span class="value"&gt;o&lt;/span&gt;))&lt;span class="value"&gt;m&lt;/span&gt;!!&lt;span class="value"&gt;e&lt;/span&gt;@@&lt;span class="value"&gt;d&lt;/span&gt;##&lt;span class="value"&gt;o&lt;/span&gt;$$&lt;span class="value"&gt;m&lt;/span&gt;%%&lt;span class="value"&gt;a&lt;/span&gt;^^&lt;span class="value"&gt;i&lt;/span&gt;**&lt;span class="value"&gt;n&lt;/span&gt;((&lt;span class="value"&gt;. &lt;/span&gt;))&lt;span class="value"&gt;c&lt;/span&gt;!!&lt;span class="value"&gt;o&lt;/span&gt;@@&lt;span class="value"&gt;m&lt;/span&gt;##&lt;/span&gt;&lt;/span&gt;
</pre>
<p>On screen this would appear as <span class="email"><span class="value">k</span>##<span class="value">u</span>!!<span class="value">n</span>@@<span class="value">a</span>$$<span class="value">a</span>%%<span class="value">l</span>^^<span class="value">@</span>**<span class="value">s</span>((<span class="value">o</span>))<span class="value">m</span>!!<span class="value">e</span>@@<span class="value">d</span>##<span class="value">o</span>$$<span class="value">m</span>%%<span class="value">a</span>^^<span class="value">i</span>**<span class="value">n</span>((<span class="value">. </span>))<span class="value">c</span>!!<span class="value">o</span>@@<span class="value">m</span>##</span></span>.</p>
<p>This would make it unreadable to your average person and your normal everyday address parser, and only visible to a microformat parser!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kunaal84.com/blog/2007/10/25/hide-your-email-address-using-microformats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO and Microformats</title>
		<link>http://www.kunaal84.com/blog/2007/10/24/seo-and-microformats/</link>
		<comments>http://www.kunaal84.com/blog/2007/10/24/seo-and-microformats/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 21:49:23 +0000</pubDate>
		<dc:creator>Kunaal Ramchandani</dc:creator>
				<category><![CDATA[microformats]]></category>
		<category><![CDATA[tips&tricks]]></category>

		<guid isPermaLink="false">http://www.kunaal84.com/blog/2007/10/24/seo-and-microformats/</guid>
		<description><![CDATA[I came across this article on Search Engine Land titled &#8220;The hCard Microformat &#038; Local Search Optimization&#8221; a few days ago. In it the author talks about using the hCard microformat for local SEO (something I had mentioned in passing in my earlier post as well). For those wanting a refresher course, they can read [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this article on Search Engine Land titled &#8220;<a href="http://searchengineland.com/071015-123143.php">The hCard Microformat &#038; Local Search Optimization</a>&#8221; a few days ago. In it the author talks about using the hCard microformat for local SEO (something I had mentioned in passing in my earlier post as well). For those wanting a refresher course, they can read through my earlier post on the <a href="http://www.kunaal84.com/blog/2007/09/02/microformats-hcard/">hCard microformat</a> and how to implement it, or just check out the <a href="http://microformats.org/">Microformats</a> site. </p>
<p>While the major search engines do not read (and they haven’t made any announcements to the contrary) the hCard microformat yet, there does seem to be a trend towards using it and other microformats on an increasing number of large websites, <a href="http://twitter.com/blog/2007/05/on-microformats.html">Twitter</a>, <a href="http://www.ylocalblog.com/blog/2006/06/21/we-now-support-microformats/">Yahoo! Local &#038; Maps</a>, Yahoo! Tech, <a href="http://googlemapsapi.blogspot.com/2007/06/microformats-in-google-maps.html">Google Maps</a> to name a few. As a result, I believe that it is only a matter of time before the search engines start reading it, instead of just supporting them in their results. In the mean time however, they are already useful for people who have microformat browsers or microformat plugins. Firefox even announced that they would be <a href="http://mozillalinks.org/wp/2007/08/on-firefox-3-and-microformats-with-michael-kaply/">supporting microformats</a> natively in Firefox 3!</p>
<p>I have been trying to adopt a few different Microformats in this blog for a little while now, hCard, hAtom, xFolk , and there will be more to come as I continue to learn more about them and how to use them.  If you are interested in adding microformats to your WordPress blog, you should have a read at this article on Lorelle on WordPress titled <a href="http://lorelle.wordpress.com/2007/09/01/microformats-and-wordpress-themes/">Microformats and WordPress Themes</a>. I&#8217;ll also try writing about some more Microformats in the coming few days.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kunaal84.com/blog/2007/10/24/seo-and-microformats/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microformats &#8211; xfn</title>
		<link>http://www.kunaal84.com/blog/2007/09/06/microformats-xfn/</link>
		<comments>http://www.kunaal84.com/blog/2007/09/06/microformats-xfn/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 14:30:20 +0000</pubDate>
		<dc:creator>Kunaal Ramchandani</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[tips&tricks]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[xfn]]></category>

		<guid isPermaLink="false">http://www.kunaal84.com/blog/2007/09/06/microformats-xfn/</guid>
		<description><![CDATA[XFN short for XHTML Friends Network was the first microformat and it remains perhaps the easiest of all microformats to implement. It is basically used by webmasters to indicate real world relationships with the people they mention in their blogroll/links. Now if I were to link to a friend I would enter it into my [...]]]></description>
			<content:encoded><![CDATA[<p>XFN short for XHTML Friends Network was the first microformat and it remains perhaps the easiest of all microformats to implement. It is basically used by webmasters to indicate real world relationships with the people they mention in their blogroll/links.</p>
<p>Now if I were to link to a friend I would enter it into my blogroll as so</p>
<pre name="code" class="html">&lt;a href="http://some-site.com"&gt;Some Body&lt;/a&gt;</pre>
<p>In order to make this a XFN microformat, I would simplay add the &#8220;rel&#8221; attribute to the link, with a description of our relationship<br />
<span id="more-11"></span></p>
<pre name="code" class="html">&lt;a href="http://some-site.com" rel="friend"&gt;Some Body&lt;/a&gt;</pre>
<p>You can also add more information in the &#8220;rel&#8221; attribute, if for example you have met the person:</p>
<pre name="code" class="html">&lt;a href="http://some-site.com" rel="friend met"&gt;Some Body&lt;/a&gt;</pre>
<p>Seems pretty simple right?<br />
Here are all the values I know of that you can add in the &#8220;rel&#8221; attribute</p>
<ul>
<li>me		: If you are linking to another website of yours
<pre name="code" class="html">&lt;a href="http://some-site.com" rel="me"&gt;Some Body&lt;/a&gt;</pre>
</li>
<li>Friendship Type &#8211; This can be &#8221; or any one of the following
<ul>
<li>contact</li>
<li>acquaintance</li>
<li>friend</li>
</ul>
</li>
<li>Physical Type &#8211; This can be &#8221; or any one of the following
<ul>
<li>met		:If you have met this person or not</li>
</ul>
</li>
<li>Professional Type &#8211; This can be &#8221;, any one of the following, or all
<ul>
<li>co-worker</li>
<li>colleague</li>
</ul>
</li>
<li>Geographical Type &#8211; This can be &#8221; or any one of the following
<ul>
<li>co-resident</li>
<li>neighbour</li>
</ul>
</li>
<li>Family Type &#8211; This can be &#8221; or any one of the following
<ul>
<li>child</li>
<li>parent</li>
<li>sibling</li>
<li>spouse</li>
<li>kin</li>
</ul>
</li>
<li>Romantic Type &#8211; This can be &#8221;, any one of the following, or all
<ul>
<li>muse</li>
<li>crush</li>
<li>date</li>
<li>sweetheart</li>
</ul>
</li>
</ul>
<p>You can also style each of the above classes differently to make a link appear different for a family member or a work colleague.<br />
You can read more about XFN at these sites:<br />
<a href="http://www.gmpg.org/xfn/intro">GMPG.org</a><br />
<a href="http://en.wikipedia.org/wiki/XHTML_Friends_Network">XFN on wiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kunaal84.com/blog/2007/09/06/microformats-xfn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microformats &#8211; hCalendar</title>
		<link>http://www.kunaal84.com/blog/2007/09/04/microformats-hcalendar/</link>
		<comments>http://www.kunaal84.com/blog/2007/09/04/microformats-hcalendar/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 14:57:31 +0000</pubDate>
		<dc:creator>Kunaal Ramchandani</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[tips&tricks]]></category>
		<category><![CDATA[hCalendar]]></category>
		<category><![CDATA[info]]></category>

		<guid isPermaLink="false">http://www.kunaal84.com/blog/2007/09/04/microformats-hcalendar/</guid>
		<description><![CDATA[The next most popular microformat is the hCalendar (HTML iCalendar). This is used to create events/ entries in calendars based on the iCalendar standard. Now an upcoming event for me could be mentioned as follows Citizenship Ceremony &#8211; 6th September To convert this to an hCalendar microformat we have to remember that the dtstart and [...]]]></description>
			<content:encoded><![CDATA[<p>The next most popular microformat is the hCalendar (HTML iCalendar). This is used to create events/ entries in calendars based on the iCalendar standard.<br />
Now an upcoming event for me could be mentioned as follows</p>
<blockquote><p>Citizenship Ceremony &#8211; 6th September</p></blockquote>
<p>To convert this to an hCalendar microformat we have to remember that the dtstart and summary fields are required fields. </p>
<p>The dtstart to mention the start date and the summary to write what the event is about, the rest are all optional.<br />
The dtstart field must follow the following standard (YYYYMMDDTHHMMSS+ZZ:ZZ). Here is what the event would look like after we added in the two required fields:</p>
<pre name="code" class="html">&lt;div class="vevent" id="hcalendar-Citizenship-Ceremony"&gt;
  &lt;abbr class="dtstart" title="20070906T1845+1000"&gt;September 6th 6:45pm&lt;/abbr&gt;,
  &lt;span class="summary"&gt;Citizenship Ceremony&lt;/span&gt;— at
&lt;/div&gt;</pre>
<p><span id="more-10"></span><br />
We can then go and add the following classes as well</p>
<ul>
<li>dtend : the date the event is meant to end
<pre name="code" class="html">&lt;div class="vevent" id="hcalendar-Citizenship-Ceremony"&gt;
  &lt;abbr class="dtstart" title="20070906T1845+1000"&gt;September 6th 6:45pm&lt;/abbr&gt;,
  &lt;abbr class="dtend" title="20070907T2000+1000"&gt; 8pm 2007&lt;/abbr&gt; —
  &lt;span class="summary"&gt;Citizenship Ceremony&lt;/span&gt;
&lt;/div&gt;</pre>
</li>
<li>description: describes what the event is about
<pre name="code" class="html">&lt;div class="vevent" id="hcalendar-Citizenship-Ceremony"&gt;
  &lt;abbr class="dtstart" title="20070906T1845+1000"&gt;September 6th 6:45pm&lt;/abbr&gt;,
  &lt;abbr class="dtend" title="20070907T2000+1000"&gt; 8pm 2007&lt;/abbr&gt; —
  &lt;span class="summary"&gt;Citizenship Ceremony&lt;/span&gt;—
  &lt;div class="description"&gt;My citizenship ceremony&lt;/div&gt;
&lt;/div&gt;</pre>
</li>
<li>location: where the event is to be held
<pre name="code" class="html">&lt;div class="vevent" id="hcalendar-Citizenship-Ceremony"&gt;
  &lt;abbr class="dtstart" title="20070906T1845+1000"&gt;September 6th 6:45pm&lt;/abbr&gt;,
  &lt;abbr class="dtend" title="20070907T2000+1000"&gt; 8pm 2007&lt;/abbr&gt; —
  &lt;span class="summary"&gt;Citizenship Ceremony&lt;/span&gt;— at
  &lt;span class="location"&gt;Australia&lt;/span&gt;
  &lt;div class="description"&gt;My citizenship ceremony&lt;/div&gt;
&lt;/div&gt;</pre>
</li>
<li>url: webpage relates to the event
<pre name="code" class="html">&lt;div class="vevent" id="hcalendar-Citizenship-Ceremony"&gt;
  &lt;abbr class="dtstart" title="20070906T1845+1000"&gt;September 6th 6:45pm&lt;/abbr&gt;,
  &lt;abbr class="dtend" title="20070907T2000+1000"&gt; 8pm 2007&lt;/abbr&gt; —
  &lt;a href="http://eventsite.com" class="summary url"&gt;Citizenship Ceremony&lt;/a&gt;— at
  &lt;span class="location"&gt;Australia&lt;/span&gt;
  &lt;div class="description"&gt;My citizenship ceremony&lt;/div&gt;
&lt;/div&gt;</pre>
</li>
</ul>
<p>This is what we finally have and what the event will look like when entered into a page (minus the url addition)</p>
<div class="vevent" id="hcalendar-Citizenship-Ceremony">
  <abbr class="dtstart" title="20070906T1845+1000">September 6th 6:45pm</abbr>,<br />
  <abbr class="dtend" title="20070907T2000+1000"> 8pm 2007</abbr> —<br />
  <span class="summary">Citizenship Ceremony</span>— at<br />
  <span class="location">Australia</span></p>
<div class="description">My citizenship ceremony</div>
</div>
<p>Read more about the hcalendar microformat here:</p>
<p><a href="http://microformats.org/wiki/hcalendar">microformats hCalendar wiki</a><br />
<a href="http://microformats.org/wiki/hcalendar-cheatsheet">hCalendar Cheatsheet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kunaal84.com/blog/2007/09/04/microformats-hcalendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microformats &#8211; hCard</title>
		<link>http://www.kunaal84.com/blog/2007/09/02/microformats-hcard/</link>
		<comments>http://www.kunaal84.com/blog/2007/09/02/microformats-hcard/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 14:34:54 +0000</pubDate>
		<dc:creator>Kunaal Ramchandani</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[tips&tricks]]></category>
		<category><![CDATA[hCard]]></category>
		<category><![CDATA[info]]></category>

		<guid isPermaLink="false">http://www.kunaal84.com/blog/2007/09/02/microformats-hcard/</guid>
		<description><![CDATA[Even though I have been working in the IT industry (study and work) for about 6 years now, the learning never seems to stop. The other day while surfing the net, I came across Microformats, a brilliant idea I am surprised I am coming across only now. Microformats are small additions one makes to the [...]]]></description>
			<content:encoded><![CDATA[<p>Even though I have been working in the IT industry (study and work) for about 6 years now, the learning never seems to stop. The other day while surfing the net, I came across <a href="http://microformats.org/">Microformats</a>, a brilliant idea I am surprised I am coming across only now.</p>
<p>Microformats are small additions one makes to the HTML code of their pages (mainly class, rel and rev attributes) to make their data more readable by machines without affecting the layout for users. Microformats allow / will allow a number of different applications to extract information like event info, contact info etc into organiser software. At the moment, microformats are supported by the likes of <a href="http://ylocalblog.com/blog/2006/06/21/we-now-support-microformats/">Yahoo</a> and <a href="http://googlemapsapi.blogspot.com/2007/06/microformats-in-google-maps.html">Google</a>. There is also talk that microformats will help you /your site rank better in search engines, which should get most webmasters and SEO companies pretty excited. I am still in the beginner stages of knowing everything about microformats, so I apologise for any mistakes.</p>
<p>The most well known microformats are</p>
<ul>
<li>hCard &#8211; Used to give vCard style info.</li>
<li>hCalendar &#8211; Event info.</li>
<li>XFN &#8211; (XHTML Friend Network): Specify relationship info in hyperlinks</li>
</ul>
<p>I am going to try tackling each of these three microformats one at a time, starting with the hCard.<br />
<span id="more-9"></span></p>
<h2>1. hCard</h2>
<p>I could put my contact information on a page like so:</p>
<div>
<a href="http://www.kunaal84.com/blog">Kunaal Ramchandani</a></p>
<div>Developer</div>
<div>My Organisation</div>
<div>
<div>My Street</div>
<p>  <span>My City</span>,<br />
  <span>My State</span>,<br />
  <span>1111</span><br />
  <span>My Country</span>
 </div>
<div>My Phone</div>
</div>
<p>To convert it to a hCard, note that the name is the only required field in the hCard.<br />
It is generally marked up with the class name &#8220;fn&#8221;. Always the first name first and then the family name</p>
<pre name="code" class="html">&lt;span class="fn"&gt;Kunaal Ramchandani&lt;/span&gt;</code></pre>
<p>In case of a middle name, you add the &#8220;n&#8221; class name to &#8220;fn&#8221; and split the name up like so:</p>
<pre name="code" class="html">&lt;span class="fn n"&gt;
 &lt;span class="given-name"&gt;Kunaal&lt;/span&gt;
 &lt;span class="additional-name"&gt;Anmol&lt;/span&gt;
 &lt;span class="family-name"&gt;Ramchandani&lt;/span&gt;
&lt;/span&gt;</pre>
<p>In my case I also wanted to link my site to my name which is why I added the &#8220;url&#8221; class name to &#8220;fn&#8221;</p>
<pre name="code" class="html">&lt;a class="url fn" href="http://www.kunaal84.com/blog"&gt;Kunaal Ramchandani&lt;/a&gt;</pre>
<p>I then edit my contact info adding the following classes to complete the hCard transformation:</p>
<ul>
<li>title        : Job title, multiple job titles can be mentioned comma separated
<pre name="code" class="html">&lt;div id="hcard-Kunaal-Ramchandani" class="vcard"&gt;
 &lt;a class="url fn" href="http://www.kunaal84.com/blog"&gt;Kunaal Ramchandani&lt;/a&gt;
 &lt;div class="title"&gt;Developer&lt;/div&gt;
&lt;/div&gt;</pre>
</li>
<li>org         : Organisation you work for
<pre name="code" class="html">&lt;div id="hcard-Kunaal-Ramchandani" class="vcard"&gt;
 &lt;a class="url fn" href="http://www.kunaal84.com/blog"&gt;Kunaal Ramchandani&lt;/a&gt;
 &lt;div class="title"&gt;Developer&lt;/div&gt;
 &lt;div class="org"&gt;My Organisation&lt;/div&gt;
&lt;/div&gt;</pre>
</li>
<li>email       : Email address
<pre name="code" class="html">&lt;div id="hcard-Kunaal-Ramchandani" class="vcard"&gt;
 &lt;a class="url fn" href="http://www.kunaal84.com/blog"&gt;Kunaal Ramchandani&lt;/a&gt;
 &lt;div class="title"&gt;Developer&lt;/div&gt;
 &lt;div class="org"&gt;My Organisation&lt;/div&gt;
 &lt;a class="email" href="mailto:email@mydomain.com"&gt;email@mydomain.com&lt;/a&gt;
&lt;/div&gt;</pre>
</li>
<li>tel          : Telephone Number
<pre name="code" class="html">&lt;div id="hcard-Kunaal-Ramchandani" class="vcard"&gt;
 &lt;a class="url fn" href="http://www.kunaal84.com/blog"&gt;Kunaal Ramchandani&lt;/a&gt;
 &lt;div class="title"&gt;Developer&lt;/div&gt;
 &lt;div class="org"&gt;My Organisation&lt;/div&gt;
 &lt;a class="email" href="mailto:email@mydomain.com"&gt;email@mydomain.com&lt;/a&gt;
 &lt;div class="tel"&gt;My Phone&lt;/div&gt;
&lt;/div&gt;</pre>
</li>
<li>adr         : Address, which requireds the following subclasses(which are pretty self explanitory)</li>
<ul>
<li>post-office-box</li>
<li>street-address</li>
<li>extended-address</li>
<li>region</li>
<li>locality</li>
<li>postal-code</li>
<li>country-name</li>
</ul>
<pre name="code" class="html">&lt;div id="hcard-Kunaal-Ramchandani" class="vcard"&gt;
 &lt;a class="url fn" href="http://www.kunaal84.com/blog"&gt;Kunaal Ramchandani&lt;/a&gt;
 &lt;div class="title"&gt;Developer&lt;/div&gt;
 &lt;div class="org"&gt;My Organisation&lt;/div&gt;
 &lt;a class="email" href="mailto:email@mydomain.com"&gt;email@mydomain.com&lt;/a&gt;
 &lt;div class="adr"&gt;
  &lt;div class="street-address"&gt;My Street&lt;/div&gt;
  &lt;span class="locality"&gt;My City&lt;/span&gt;,
  &lt;span class="region"&gt;My State&lt;/span&gt;,
  &lt;span class="postal-code"&gt;1111&lt;/span&gt;
  &lt;span class="country-name"&gt;My Country&lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="tel"&gt;My Phone&lt;/div&gt;
&lt;/div&gt;</pre>
</li>
</ul>
<p>This is what my hCard finally looks like</p>
<div id="hcard-Kunaal-Ramchandani" class="vcard">
 <a class="url fn" href="http://www.kunaal84.com/blog">Kunaal Ramchandani</a></p>
<div class="title">Developer</div>
<div class="org">My Organisation</div>
<p> <a class="email" href="mailto:email@mydomain.com">email@mydomain.com</a></p>
<div class="adr">
<div class="street-address">My Street</div>
<p>  <span class="locality">My City</span>,<br />
  <span class="region">My State</span>,<br />
  <span class="postal-code">1111</span><br />
  <span class="country-name">My Country</span>
 </div>
<div class="tel">My Phone</div>
</div>
<p>There are many many <a href="http://microformats.org/wiki/hcard-cheatsheet">more</a> classes you can add to add more information.<br />
You can also specify the &#8216;type&#8217; where there could be multiple types of information, for example, your phone number can be home, work, fax, cell etc. There is even a firefox plugin known as <a href="https://addons.mozilla.org/en-US/firefox/addon/4106">Operator</a>, which is able to read and identify the microformats on a page, check it out, pretty cool</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kunaal84.com/blog/2007/09/02/microformats-hcard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
