<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KarlDubost</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KarlDubost"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/KarlDubost"/>
	<updated>2026-05-05T14:38:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-brainstorming&amp;diff=2807</id>
		<title>hcard-brainstorming</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-brainstorming&amp;diff=2807"/>
		<updated>2005-11-11T19:59:32Z</updated>

		<summary type="html">&lt;p&gt;KarlDubost: /* hCardBrainstorming */ RFC2806 for hcard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= hCardBrainstorming =&lt;br /&gt;
__TOC__&lt;br /&gt;
== Authors ==&lt;br /&gt;
* [http://suda.co.uk/ Brian Suda]&lt;br /&gt;
* [http://tantek.com/log/ Tantek Çelik], [http://technorati.com Technorati, Inc]&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
* See [[hcard-examples]].&lt;br /&gt;
** We should provide 1:1 hCard examples for each example in [http://www.ietf.org/rfc/rfc2426.txt RFC 2426].&lt;br /&gt;
&lt;br /&gt;
=== John Smith ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
BEGIN:VCARD&lt;br /&gt;
VERSION:2.0&lt;br /&gt;
N:Smith;John&lt;br /&gt;
FN:John Smith&lt;br /&gt;
TEL;CELL:314-123-4567&lt;br /&gt;
TEL;FAX:314-123-4568&lt;br /&gt;
TEL;WORK:314-123-4569&lt;br /&gt;
URL:www.example.com&lt;br /&gt;
org:Example Oragnization;Marketing and Communications&lt;br /&gt;
EMAIL;INTERNET:john.smith@example.com&lt;br /&gt;
TITLE:Director, Marketing &amp;amp; Web Services&lt;br /&gt;
ADR;;123 Main Street;Any Town;MO;12345;USA&lt;br /&gt;
NOTE;quoted-printable:&amp;quot;A personal signature here&amp;quot;&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is one way to encode the vCard in HTML&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;mailto:john.smith@example.com&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;John&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;Smith&amp;lt;/span&amp;gt;&lt;br /&gt;
   &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- need to encode CELL, FAX, WORK --&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;314-123-4567&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;314-123-4568&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;314-123-4569&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;I work for&lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;a href=&amp;quot;http://www.example.com&amp;quot; class=&amp;quot;organizational-name&amp;quot;&amp;gt;Example Oragnization&amp;lt;/a&amp;gt;&lt;br /&gt;
   in the &amp;lt;span class=&amp;quot;organizational-unit&amp;quot;&amp;gt;Marketing and Communications&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/span&amp;gt;&lt;br /&gt;
 department as &amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Director, Marketing &amp;amp;amp; Web Services&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;street&amp;quot;&amp;gt;123 Main Street&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Any Town&amp;lt;/span&amp;gt;,&lt;br /&gt;
  &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;MO&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;12345&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;note&amp;quot;&amp;gt;A personal signature here&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This would display as:&amp;lt;br /&amp;gt;&lt;br /&gt;
[mailto:john.smith@example.com John Smith]&amp;lt;br /&amp;gt;&lt;br /&gt;
314-123-4567&amp;lt;br /&amp;gt;&lt;br /&gt;
314-123-4568&amp;lt;br /&amp;gt;&lt;br /&gt;
314-123-4569&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
I work for [http://www.example.com/ Example Oragnization] in the Marketing and Communications department as Director, Marketing &amp;amp; Web Services&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
123 Main Street&amp;lt;br /&amp;gt;&lt;br /&gt;
Any Town, MO 12345&amp;lt;br /&amp;gt;&lt;br /&gt;
USA&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
A personal signature here&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Baron von Münchhausen ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
BEGIN:VCARD&lt;br /&gt;
VERSION:2.0&lt;br /&gt;
N:Hieronymus;Karl;Friedrich;;Baron von Münchhausen;&lt;br /&gt;
FN:Karl Friedrich Hieronymus&lt;br /&gt;
NICKNAME:Baron von Münchhausen,The Baron of Lies,Freddy&lt;br /&gt;
SORT-STRING:Hieronymus&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is one way to encode the vCard in HTML&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot; xml:lang=&amp;quot;de&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;n&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Karl&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;additional-names&amp;quot;&amp;gt;Friedrich&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;sort-string&amp;quot;&amp;gt;H&amp;lt;/span&amp;gt;ieronymus&amp;lt;/span&amp;gt;, &lt;br /&gt;
   &amp;lt;/span&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;honorific-suffixes&amp;quot;&amp;gt;Baron von Münchhausen&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;h2&amp;gt;Nicknames&amp;lt;/h2&amp;gt;&lt;br /&gt;
 &amp;lt;ul class=&amp;quot;nicknames&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Baron von Münchhausen&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;The Baron of Lies&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Freddy&amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This would display as:&amp;lt;br /&amp;gt;&lt;br /&gt;
Karl Friedrich Hieronymus, Baron von Münchhausen&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Nicknames&lt;br /&gt;
* Baron von Münchhausen&lt;br /&gt;
* The Baron of Lies&lt;br /&gt;
* Freddy&lt;br /&gt;
&lt;br /&gt;
=== Examples from the RFC ===&lt;br /&gt;
These examples were taken from the vCard RFC 2426.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
N:Public;John;Quinlan;Mr.;Esq.&lt;br /&gt;
NICKNAME:Jim,Jimmie&lt;br /&gt;
PHOTO;VALUE=uri:http://www.abc.com/pub/photos/jqpublic.gif&lt;br /&gt;
LOGO;VALUE=uri:http://www.abc.com/pub/logos/abccorp.jpg&lt;br /&gt;
BDAY:1987-09-27T08:30:00-06:00&lt;br /&gt;
TEL;TYPE=work,voice,pref,msg:+1-213-555-1234&lt;br /&gt;
EMAIL;TYPE=internet:jqpublic@xyz.dom1.com\&lt;br /&gt;
TZ:-05:00&lt;br /&gt;
CATEGORIES:INTERNET,IETF,INDUSTRY,INFORMATION TECHNOLOGY&lt;br /&gt;
NOTE:This fax number is operational 0800 to 1715 EST\, Mon-Fri.&lt;br /&gt;
UID:s19950401-080045-40000F192713-0052&lt;br /&gt;
URL:http://www.swbyps.restaurant.french/~chezchic.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;mailto:jqpublic@xyz.dom1.com&amp;quot; class=&amp;quot;email n&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;honorific-prefixes&amp;quot;&amp;gt;Mr.&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;John&amp;lt;/span&amp;gt; &lt;br /&gt;
  &amp;lt;span class=&amp;quot;additional-names&amp;quot;&amp;gt;Quinlan&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;Public&amp;lt;/span&amp;gt; &lt;br /&gt;
  &amp;lt;span class=&amp;quot;honorific-suffixes&amp;quot;&amp;gt;Esq.&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;nickname&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Jim&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Jimmie&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;img src=&amp;quot;http://www.example.com/pub/photos/jqpublic.gif&amp;quot; class=&amp;quot;photo&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;img src=&amp;quot;http://www.example.com/pub/logos/abccorp.jpg&amp;quot; class=&amp;quot;logo&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;abbr title=&amp;quot;1987-09-27T08:30:00-06:00&amp;quot; class=&amp;quot;bday&amp;quot;&amp;gt;Sept. 27th 1987&amp;lt;/abbr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Need to encode: TYPE=work,voice,pref,msg --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;+1-213-555-1234&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I'm not sure this is accepted? --&amp;gt;&lt;br /&gt;
&amp;lt;abbr title=&amp;quot;-050000&amp;quot; class=&amp;quot;tz&amp;quot;&amp;gt;Eastern Standard Time&amp;lt;/abbr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul class=&amp;quot;categories&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;INTERNET&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;IETF&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;INDUSTRY&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;INFORMATION TECHNOLOGY&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;note&amp;quot;&amp;gt;This fax number is operational 0800 to 1715 EST\, Mon-Fri.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://www.swbyps.restaurant.french/~chezchic.html&amp;quot; class=&amp;quot;url&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
BEGIN:vCard&lt;br /&gt;
VERSION:3.0&lt;br /&gt;
FN:Frank Dawson&lt;br /&gt;
ORG:Lotus Development Corporation&lt;br /&gt;
ADR;TYPE=WORK,POSTAL,PARCEL:;;6544 Battleford Drive;Raleigh;NC;27613-3502;U.S.A.&lt;br /&gt;
TEL;TYPE=VOICE,MSG,WORK:+1-919-676-9515&lt;br /&gt;
TEL;TYPE=FAX,WORK:+1-919-676-9564&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:Frank_Dawson@Lotus.com&lt;br /&gt;
EMAIL;TYPE=INTERNET:fdawson@earthlink.net&lt;br /&gt;
URL:http://home.earthlink.net/~fdawson&lt;br /&gt;
END:vCard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://home.earthlink.net/~fdawson&amp;quot; class=&amp;quot;url fn&amp;quot;&amp;gt;Frank Dawson&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;org&amp;quot;&amp;gt;Lotus Development Corporation&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Need to encode WORK,POSTAL,PARCEL --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;6544 Battleford Drive&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Raleigh&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;NC&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;27613-3502&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;U.S.A.&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- need to encode VOICE,MSG,WORK FAX --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;+1-919-676-9515&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;+1-919-676-9564&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Need to encode PREF --&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:Frank_Dawson@Lotus.com&amp;quot;&amp;gt;Frank_Dawson@Lotus.com&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:fdawson@earthlink.net&amp;quot;&amp;gt;fdawson@earthlink.net&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BEGIN:vCard&lt;br /&gt;
VERSION:3.0&lt;br /&gt;
FN:Tim Howes&lt;br /&gt;
ORG:Netscape Communications Corp.&lt;br /&gt;
ADR;TYPE=WORK:;;501 E. Middlefield Rd.;Mountain View;CA; 94043;U.S.A.&lt;br /&gt;
TEL;TYPE=VOICE,MSG,WORK:+1-415-937-3419&lt;br /&gt;
TEL;TYPE=FAX,WORK:+1-415-528-4164&lt;br /&gt;
EMAIL;TYPE=INTERNET:howes@netscape.com&lt;br /&gt;
END:vCard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;mailto:howes@netscape.com&amp;quot; class=&amp;quot;fn email&amp;quot;&amp;gt;Tim Howes&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;org&amp;quot;&amp;gt;Netscape Communications Corp.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Need to encode WORK --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;501 E. Middlefield Rd&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Mountain View&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94043&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;U.S.A.&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- need to encode VOICE,MSG,WORK FAX --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;+1-415-937-3419&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;+1-415-528-4164&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using RFC2806 with hCard ===&lt;br /&gt;
&lt;br /&gt;
[http://www.ietf.org/rfc/rfc2806.txt RFC 2806] defines the telephone scheme &amp;quot;tel:&amp;quot;, &amp;quot;fax:&amp;quot; and &amp;quot;modem:&amp;quot; to handle phone communications with URIs in the same way, &amp;quot;mailto:&amp;quot; is defined for email. It's part of the list or registered schemes by IANA : [http://www.iana.org/assignments/uri-schemes Uniform Resource Identifier (URI) SCHEMES]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
tel   telephone [RFC2806]&lt;br /&gt;
fax   fax       [RFC2806]&lt;br /&gt;
modem modem     [RFC2806]&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is practical to write your tel number like this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;tel&amp;quot;      href=&amp;quot;tel:+1-919-555-7878&amp;gt;+1-919-555-7878&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or even&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;tel&amp;quot;      href=&amp;quot;tel:+1-919-555-7878&amp;gt;Mr Smith's phone&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can add support for &amp;quot;tel:&amp;quot; to your desktop and to your browser&lt;br /&gt;
&lt;br /&gt;
* For Gnome, edit ~/.gnome/Gnome and add something to the URL Handlers section. (Dan Connolly uses this to get galeon to launch telnum from [http://dev.w3.org/cvsweb/2001/telagent/ telagent sources] for tel URIs)&lt;br /&gt;
* In Mozilla, [http://dizzy.mozdev.org/ Dizzy]&lt;br /&gt;
* In Internet Explorer, [http://msdn.microsoft.com/workshop/networking/pluggable/overview/overview.asp Asynchronous Pluggable Protocols]&lt;br /&gt;
&lt;br /&gt;
On the CSS front… You could for example add automagically an icon. I have put the property !important for those who wants to add it to their own stylesheet in their browsers, so they know type of links when browsing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
a[href^=&amp;quot;tel:&amp;quot;]:before {&lt;br /&gt;
    content: '\260f  ' !important;&lt;br /&gt;
    padding-left: 20px !important; }&lt;br /&gt;
&lt;br /&gt;
a[href^=&amp;quot;mailto:&amp;quot;]:before {&lt;br /&gt;
    content: '\2709  ' !important;&lt;br /&gt;
    padding-left: 20px !important; }&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Encoding &amp;quot;modern&amp;quot; attributes ==&lt;br /&gt;
&lt;br /&gt;
Since vCard was first established, various interactive communication technologies and addressing schemes have been widely adopted.  Although there aren't specific properties for these technologies / addressing schemes, they can be captured as URLs or email addresses as follows:&lt;br /&gt;
&lt;br /&gt;
* AOL Instant Messenger (AIM) ids, simply store &amp;quot;aim:goim?screenname=&amp;quot; urls, e.g.&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;aim:goim?screenname=yournamehere&amp;quot;&amp;amp;gt;...&amp;lt;/code&amp;gt;&lt;br /&gt;
* iChat mac.com  addresses, simply store &amp;quot;@mac.com&amp;quot; email addresses, e.g.&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:steve@mac.com&amp;quot;&amp;amp;gt;...&amp;lt;/code&amp;gt;&lt;br /&gt;
* MSN Instant Messenger, you can simple store &amp;quot;@hotmail.com&amp;quot; or &amp;quot;@msn.com&amp;quot; or &amp;quot;@passport.com&amp;quot; email addresses.&lt;br /&gt;
* Internet Relay Chat (IRC), use &amp;quot;irc:&amp;quot; URLs.&lt;br /&gt;
&lt;br /&gt;
== Encoding Company data as a Business Card (proposal) ==&lt;br /&gt;
In the wild there are several hCards that do not currently validate because they are businesses that have omitted the &amp;quot;fn&amp;quot; property in favour of the &amp;quot;org&amp;quot; property. &lt;br /&gt;
# if there is an &amp;quot;fn&amp;quot; property use that value&lt;br /&gt;
# if the &amp;quot;fn&amp;quot; property is missing, but an &amp;quot;org&amp;quot; property is available, duplicate the value for both&lt;br /&gt;
# the &amp;quot;n&amp;quot; property is manditory, and must somehow be derived from &amp;quot;org&amp;quot;, probably use the entire value as &amp;quot;family-name&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== CSS Styles ==&lt;br /&gt;
Not only can you create semantics with the hCard values, but you can add CSS styles to them as well. You are free to style the terms in any way you want, but here we can list a few ideas for how to style terms.&lt;br /&gt;
&lt;br /&gt;
If you want to encode hCard data, but do NOT want to display it in the HTML code, then you can hide that tag in CSS with the following code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;display: none&amp;quot;&amp;gt;Hidden Data&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Transforming applications will still find the data and use it when converting hCards to vCards.&lt;br /&gt;
&lt;br /&gt;
== Auto-Discovery ==&lt;br /&gt;
There is currently a debate over the best way to add an auto discovery link to your HTML to extract the vCard.&lt;br /&gt;
&lt;br /&gt;
On the page with the hCard encoding, the best link would be as follows:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt; &amp;lt;link rel=&amp;quot;alternate&amp;quot; type=&amp;quot;text/vcard&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
this HTML page is an alternate view of the vCard.&lt;br /&gt;
&lt;br /&gt;
When on a different page, referencing that encoded page in the href would NOT be an alternate view of the current page. So a different rel type must be established to decribe that relationship. The ideas vary from specific to vague. The list and categories follow:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
rel=&amp;quot;contactinfo&amp;quot;&lt;br /&gt;
rel=&amp;quot;profile&amp;quot;&lt;br /&gt;
rel=&amp;quot;author&amp;quot;&lt;br /&gt;
rel='PIM'&lt;br /&gt;
rel='person'&lt;br /&gt;
rel='about'&lt;br /&gt;
rel='contact'&lt;br /&gt;
rel='hcard'&lt;br /&gt;
rel='microformat'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Example of mixing two rel types to a single page.&lt;br /&gt;
rel=&amp;quot;hcard xfn&amp;quot;&lt;br /&gt;
&lt;br /&gt;
NOTE: this one is probably ruled out because you could assume you are linking directly to a vCard, which is not true.&lt;br /&gt;
rel=&amp;quot;vcard&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Auto-Discovery for XFN ===&lt;br /&gt;
&lt;br /&gt;
An author will typically their XFN information on a specific page, rather than all pages.  In particular, a specific page separate from the home page of their blog, and thus it would be useful to have an explicit rel value to assist in auto-discovery of XFN information.&lt;br /&gt;
&lt;br /&gt;
This was suggested by Jens Alfke on 20050606 at the WWDC blogger's dinner.&lt;br /&gt;
&lt;br /&gt;
== Issues with vCard Applications ==&lt;br /&gt;
The following are major vCard application and a description of the features they support and don't support.&lt;br /&gt;
&lt;br /&gt;
=== Apple Address Book ===&lt;br /&gt;
* There are issues with importing UTF-8 vCards&lt;br /&gt;
* LOGO property is not supported&lt;br /&gt;
* only ONE URL is supported&lt;br /&gt;
* PHOTO property can only be encoded, no URL references allowed&lt;br /&gt;
* SOURCE property is not supported&lt;br /&gt;
&lt;br /&gt;
=== Windows Address Book ===&lt;br /&gt;
(not yest tested)&lt;br /&gt;
&lt;br /&gt;
=== Mozilla Thunderbird ===&lt;br /&gt;
(not yest tested)&lt;br /&gt;
&lt;br /&gt;
=== Other? ===&lt;br /&gt;
(not yest tested)&lt;br /&gt;
&lt;br /&gt;
== Open Questions ==&lt;br /&gt;
&lt;br /&gt;
Q: since many of the components would be using CSS classes for encoding data, it is possible to MIX two different profiles. (e.g. hCard and XFN) There are no real constraints on where/how to enforce class names, these are based on the html profile, since it is difficult to associate the text within the attribute to a specific profile. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;a href=&amp;quot;mailto:joe.smith@example.com&amp;quot; class=&amp;quot;fn&amp;quot; rel=&amp;quot;met&amp;quot;&amp;gt;Joe Smith&amp;lt;/a&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- [http://suda.co.uk/ Brian Suda]&lt;br /&gt;
&lt;br /&gt;
Q: Preserving White space? Should the transforming applications preserve extra white space characters? For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://mywebsite.com/&amp;quot; class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;John&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;other-names&amp;quot;&amp;gt;Q.&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;Public&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When transformed into a vCard, the N property will pick apart the span tags and create the value for N correctly seperated by colons. The FN property will take a string and simply display it. There are two possible renderings for FN:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
John Q. Public&lt;br /&gt;
&lt;br /&gt;
    John&lt;br /&gt;
    Q.&lt;br /&gt;
    Public&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Either the white-space is preserved or it is not. Which should the transforming applications render?&lt;br /&gt;
&lt;br /&gt;
-- [http://suda.co.uk/ Brian Suda]&lt;br /&gt;
&lt;br /&gt;
A: The parsing application should follow the white space collapsing rules of the mime type it retrieves.  I.e. if it retrieves a &amp;quot;text/html&amp;quot; document, it should do HTML white space collapsing.&lt;br /&gt;
&lt;br /&gt;
-- [http://tantek.com/log/ Tantek]&lt;br /&gt;
&lt;br /&gt;
Many of the Questions and Answers are relevant to both [&amp;quot;hCal&amp;quot;] and hCard.&lt;br /&gt;
&lt;br /&gt;
Q: Would it be appropriate to wrap the name of the vCard owner with &amp;lt;dfn/&amp;gt;? This may give the hCard some added semantic value in the XHTML document.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;agent&amp;quot;&amp;gt; &lt;br /&gt;
 &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;a class=&amp;quot;internet&amp;quot; href=&amp;quot;mailto:jfriday@host.com&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dfn&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Joe Friday&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;/dfn&amp;gt;&lt;br /&gt;
   &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;+1-919-555-7878&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Area Administrator, Assistant&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
-- [http://www.ben-ward.co.uk/ Ben Ward]&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
Applications that are hCard aware or can convert hCard to vCard formats.&lt;br /&gt;
&lt;br /&gt;
=== Copy hCards favelet(s) ===&lt;br /&gt;
* I think a Favelet would work nicely here. When you find a page that is hCard friendly, you click the favlet and you get yourself a vCard. This is done!  See X2V in the implementations section of the [[hcard|hCard]] spec.&lt;br /&gt;
&lt;br /&gt;
=== Distributed Commentor Icons ===&lt;br /&gt;
&lt;br /&gt;
* See [http://thedredge.org/2005/06/using-hcards-in-your-blog/ using hCards in your blog] for an example of hCards used for comment authors (commentors).  The system used there, &amp;quot;Gravatars&amp;quot;, is a centralized site that serves commentor icons that requires login etc.  &lt;br /&gt;
&lt;br /&gt;
What if we gave each commentor the option of hosting their own icon?&lt;br /&gt;
&lt;br /&gt;
A distributed commentor icon implementation could work like this:&lt;br /&gt;
&lt;br /&gt;
# Given the URL of a commentor, look for an &amp;lt;code&amp;gt;&amp;lt;address&amp;gt;&amp;lt;/code&amp;gt; element with classname of &amp;quot;vcard&amp;quot; at the commentor's URL.  The &amp;lt;code&amp;gt;&amp;lt;address&amp;gt;&amp;lt;/code&amp;gt; element is supposed to be the contact information for the page (see [[hcard-faq|hCard FAQ]] for more info), so this makes sense.&lt;br /&gt;
# Next, look for the first element inside that hcard that has a classname of &amp;quot;logo&amp;quot;.&lt;br /&gt;
# Hopefully that element is an &amp;lt;code&amp;gt;&amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;, and if so, use its src to get the commentor's icon.&lt;br /&gt;
# Presto.  You've got distributed commentor icons!&lt;br /&gt;
&lt;br /&gt;
== Spam prevention ==&lt;br /&gt;
hCard uses &amp;lt;code&amp;gt;mailto:&amp;lt;/code&amp;gt; links, and therefore&lt;br /&gt;
it automatically &amp;quot;inherits&amp;quot; the disadvantage of &amp;lt;code&amp;gt;mailto:&amp;lt;/code&amp;gt; links:&lt;br /&gt;
These links can be easily detected by emails spiders (used by spammers).&lt;br /&gt;
&lt;br /&gt;
There are ways to prevent email address detection by simple email spiders, while&lt;br /&gt;
still retaining full compatibility with (X)HTML applications.&lt;br /&gt;
One common way is to &amp;quot;encode&amp;quot; the the &amp;quot;m&amp;quot; of &amp;quot;mail&amp;quot; and &amp;quot;@&amp;quot; with character entities:&lt;br /&gt;
&lt;br /&gt;
Example of the original link:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:john.smith@example.com&amp;quot;&amp;gt;john.smith@example.com&amp;lt;/a&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example of the &amp;quot;encoded&amp;quot; link:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;e&amp;amp;amp;#109;ail&amp;quot; href=&amp;quot;&amp;amp;amp;#109;ailto:john.smith&amp;amp;amp;#064;example.com&amp;quot;&amp;gt;john.smith&amp;amp;amp;#064;example.com&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simple email spiders which do not do character entity decoding will therefore not be able to find your email address.&lt;br /&gt;
&lt;br /&gt;
''Note:'' Perhaps there are or will be email spiders which can decode entities, so the this technique will only help with some (cheap) email spiders.&lt;br /&gt;
(See also: http://rbach.priv.at/Misc/2005/EmailSpiderTest)&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
* How to hCard encode entries in Popular blog software.&lt;br /&gt;
* Good reasons to publish your hCard&lt;br /&gt;
** as a business, get people to put you in their address book so they'll find you later&lt;br /&gt;
** as a business with an email list, get people to add you (with email address) to their address book so that your email list works via whitelisting via the address book.&lt;br /&gt;
&lt;br /&gt;
== Parsing ==&lt;br /&gt;
See separate [[hcard-parsing|hCard parsing]] page.&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* The [[hcard-profile]] needs verification and perhaps a URL for retrieving the actual XMDP, rather than as &amp;amp;lt;pre&amp;amp;gt; text on a wiki page.&lt;br /&gt;
* Complete translating the examples from the vCard spec into hCard, and place them on a separate hCard examples page.&lt;br /&gt;
* Create a &amp;quot;rich&amp;quot; but realistic hCard example, say for example for a salesperson, who wants to put a whole bunch of contact information on their website in order to be found/contacted easily.&lt;br /&gt;
* Provide examples of how to encode instant messaging (IM) accounts. Figure out what would the mailto: or aim: URL in hCard look like in vCard. And take a look at what vCard applications do today with IM addresses.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt RFC 2426] vCard RFC&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2397 RFC 2397] data URI RFC&lt;br /&gt;
* [http://gmpg.org/xmdp/ XMDP]&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
* [http://www.imc.org/pdi/ Personal Data Interchange (PDI) at the Internet Mail Consortium]&lt;br /&gt;
* [http://tantek.com/log/2004/07.html#d27t1049 Markup language design notes]&lt;br /&gt;
* [http://tantek.com/log/2002/12.html#L20021216t2238 A Touch of Class]&lt;br /&gt;
&lt;br /&gt;
== Other Implementations/Ideas ==&lt;br /&gt;
* [http://www.w3.org/TR/2001/NOTE-vcard-rdf-20010222/ Representing vCard Objects in RDF/XML] This could allow conversion of vCard data from XHTML to RDF and from RDF to XHTML&lt;br /&gt;
* It would also be possible to convert XFN and hCard to FoaF and back.&lt;br /&gt;
&lt;br /&gt;
== Rejected Suggestions ==&lt;br /&gt;
&lt;br /&gt;
Suggestion: ''The use of class=&amp;quot;url&amp;quot; on an &amp;lt;a&amp;gt; tag to represent an hCard URL property is redundant. By virtue of the &amp;lt;a&amp;gt; tag you know this is a URL.''&lt;br /&gt;
&lt;br /&gt;
Rejected.  This is a bad suggestion because although it appears to reduce redunancy and keep things cleaner, it also creates a few problems. Without explicitly noting that this is a URL then any &amp;lt;a&amp;gt; tags within a 'vcard' would be considered a URL, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;ul class=&amp;quot;categories&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;http://w3c.org&amp;quot;&amp;gt;W3C&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is no way to &amp;quot;turn-off&amp;quot; the encoding of the W3C URL, whereas if &amp;quot;url&amp;quot; needed to be explicitly listed in the class attribute list, then by NOT listing it you could effectively turn it off.&lt;/div&gt;</summary>
		<author><name>KarlDubost</name></author>
	</entry>
</feed>