<?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=Achi</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=Achi"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/Achi"/>
	<updated>2026-04-25T18:13:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43876</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43876"/>
		<updated>2011-04-21T03:07:36Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* 作者 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 譯者 ==&lt;br /&gt;
* [http://job.achi.idv.tw/ ㄚ琪]&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== 網站專頁 ===&lt;br /&gt;
部落客通常會在內容託管服務上使用網址到他們的首頁、饋送或專頁來顯示他們的身份在這些服務上，他們透過標籤作為URL屬性，這些額外的身份也可以在hCard發佈。&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== 列出你其他的專頁 ====&lt;br /&gt;
列出其他個人資料的網站最常見的情況是部落客列出自己其他的個人資料，或網站允許使用者列出他在站上的個人資料，連結到其他人的個人資料，使用戶要列出其個人資料在該網站上，鏈接到他或她的其他個人資料，由於很清楚地這個作者/使用者表示所有那些個人資料指德是同一個人，使用[[XFN]]的&amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;將他們標記起來做明確的身份合併是最好的，例如，在Tantek的部落格或其他社交網路的個人資料的那些連結：&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
像這種明確以使用者為導向的身份合併也是建構[[social-network-portability]]區塊的一個關鍵，這會在[[hcard-xfn-supporting-friends-lists]]這節有更多的解釋。&lt;br /&gt;
&lt;br /&gt;
=== 典型的網站簡介 ===&lt;br /&gt;
網佔有時後會對一個人有很多不同的頁面作為&amp;quot;首頁&amp;quot;，以及那個人的使用者個人資料頁。&lt;br /&gt;
&lt;br /&gt;
舉Flickr的例子：&lt;br /&gt;
* 你的首頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如： &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* 你的個人資料頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如：&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
此外，網站通常有一個他個人&amp;lt;em&amp;gt;典型&amp;lt;/em&amp;gt;的網址及幾個備用網址。&lt;br /&gt;
&lt;br /&gt;
如上所述，在hCard裡連到這些網址的連結會表示那些人應該有classname &amp;quot;url&amp;quot;。  &lt;br /&gt;
&lt;br /&gt;
此外，在hCard裡站上像這樣的連結到一個人的典型網址應該也有&amp;quot;uid&amp;quot;這個classname，這個技術是Ryan King第一次在[[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]提出。 &lt;br /&gt;
&lt;br /&gt;
上一節建構的例子：&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣的&amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot;屬性也被網站使用作為個人的[[OpenID]]網址。&lt;br /&gt;
&lt;br /&gt;
這件工作已開發進[[representative-hcard|representative hCards]]，到那裡有最新這類的思維。&lt;br /&gt;
&lt;br /&gt;
=== 組織跟部門 ===&lt;br /&gt;
&lt;br /&gt;
部門使用&amp;quot;organization-unit&amp;quot;類別名稱在&amp;quot;org&amp;quot;元素裡，明確的&amp;quot;organization-name&amp;quot;標記可以與其他部門區隔：&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
該部門也可以是位址的一部分，在這種情況下，你會想要明確的標記它作為除了&amp;quot;organization-unit&amp;quot;以外的&amp;quot;extended-address&amp;quot;。&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
請注意在位址裡的org的巢狀結構，我們要避免有重複的部門名稱。&lt;br /&gt;
&lt;br /&gt;
=== 組織列表 ===&lt;br /&gt;
類似[[hcard-examples#References_to_People_in_Blogrolls|lists of people]]，組織列表（例如樂隊）應該使用一個有列表項目跟超連結到各自的組織首頁的列表（無序的，除非有理由要排序）。&lt;br /&gt;
&lt;br /&gt;
例如，這個簡單的[[POSH]]：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
可以很容易地使用hCard來加強：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hCard裡&amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt;的範例 ==&lt;br /&gt;
見：[[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== 測試用例 ==&lt;br /&gt;
&lt;br /&gt;
這是[[hcard|hCard]]的例子，都被認為是在hCard分析器裡在尋找錯誤時特別有用（例如X2V）。&lt;br /&gt;
&lt;br /&gt;
=== BDAY資訊的問題 ===&lt;br /&gt;
&lt;br /&gt;
這個例子：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
應該產生&amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot;，但是它卻產生&amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [在哪？這像敘述好像毫無意義]，有趣的是apple的通訊錄還是希望接受這樣的方式。&lt;br /&gt;
&lt;br /&gt;
* 也許造成HTML的解析錯誤，就像&amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt;跟&amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt;不允許作為 &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;子標籤一樣。&lt;br /&gt;
&lt;br /&gt;
=== 型態值不靈敏的例子 ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
這個例子在X2V可以運作：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這不行，但是應該可以吧，它只會變成在vcard裡沒有的型態TEL。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO解析 ===&lt;br /&gt;
下面的hCard：&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
應該可以轉換為下面的vCard：&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V(2005-12-18)目前不能解析/匯出GEO屬性。&lt;br /&gt;
&lt;br /&gt;
== 相關網頁 ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43875</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43875"/>
		<updated>2011-04-21T03:03:10Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Related Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== 網站專頁 ===&lt;br /&gt;
部落客通常會在內容託管服務上使用網址到他們的首頁、饋送或專頁來顯示他們的身份在這些服務上，他們透過標籤作為URL屬性，這些額外的身份也可以在hCard發佈。&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== 列出你其他的專頁 ====&lt;br /&gt;
列出其他個人資料的網站最常見的情況是部落客列出自己其他的個人資料，或網站允許使用者列出他在站上的個人資料，連結到其他人的個人資料，使用戶要列出其個人資料在該網站上，鏈接到他或她的其他個人資料，由於很清楚地這個作者/使用者表示所有那些個人資料指德是同一個人，使用[[XFN]]的&amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;將他們標記起來做明確的身份合併是最好的，例如，在Tantek的部落格或其他社交網路的個人資料的那些連結：&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
像這種明確以使用者為導向的身份合併也是建構[[social-network-portability]]區塊的一個關鍵，這會在[[hcard-xfn-supporting-friends-lists]]這節有更多的解釋。&lt;br /&gt;
&lt;br /&gt;
=== 典型的網站簡介 ===&lt;br /&gt;
網佔有時後會對一個人有很多不同的頁面作為&amp;quot;首頁&amp;quot;，以及那個人的使用者個人資料頁。&lt;br /&gt;
&lt;br /&gt;
舉Flickr的例子：&lt;br /&gt;
* 你的首頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如： &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* 你的個人資料頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如：&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
此外，網站通常有一個他個人&amp;lt;em&amp;gt;典型&amp;lt;/em&amp;gt;的網址及幾個備用網址。&lt;br /&gt;
&lt;br /&gt;
如上所述，在hCard裡連到這些網址的連結會表示那些人應該有classname &amp;quot;url&amp;quot;。  &lt;br /&gt;
&lt;br /&gt;
此外，在hCard裡站上像這樣的連結到一個人的典型網址應該也有&amp;quot;uid&amp;quot;這個classname，這個技術是Ryan King第一次在[[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]提出。 &lt;br /&gt;
&lt;br /&gt;
上一節建構的例子：&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣的&amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot;屬性也被網站使用作為個人的[[OpenID]]網址。&lt;br /&gt;
&lt;br /&gt;
這件工作已開發進[[representative-hcard|representative hCards]]，到那裡有最新這類的思維。&lt;br /&gt;
&lt;br /&gt;
=== 組織跟部門 ===&lt;br /&gt;
&lt;br /&gt;
部門使用&amp;quot;organization-unit&amp;quot;類別名稱在&amp;quot;org&amp;quot;元素裡，明確的&amp;quot;organization-name&amp;quot;標記可以與其他部門區隔：&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
該部門也可以是位址的一部分，在這種情況下，你會想要明確的標記它作為除了&amp;quot;organization-unit&amp;quot;以外的&amp;quot;extended-address&amp;quot;。&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
請注意在位址裡的org的巢狀結構，我們要避免有重複的部門名稱。&lt;br /&gt;
&lt;br /&gt;
=== 組織列表 ===&lt;br /&gt;
類似[[hcard-examples#References_to_People_in_Blogrolls|lists of people]]，組織列表（例如樂隊）應該使用一個有列表項目跟超連結到各自的組織首頁的列表（無序的，除非有理由要排序）。&lt;br /&gt;
&lt;br /&gt;
例如，這個簡單的[[POSH]]：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
可以很容易地使用hCard來加強：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hCard裡&amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt;的範例 ==&lt;br /&gt;
見：[[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== 測試用例 ==&lt;br /&gt;
&lt;br /&gt;
這是[[hcard|hCard]]的例子，都被認為是在hCard分析器裡在尋找錯誤時特別有用（例如X2V）。&lt;br /&gt;
&lt;br /&gt;
=== BDAY資訊的問題 ===&lt;br /&gt;
&lt;br /&gt;
這個例子：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
應該產生&amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot;，但是它卻產生&amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [在哪？這像敘述好像毫無意義]，有趣的是apple的通訊錄還是希望接受這樣的方式。&lt;br /&gt;
&lt;br /&gt;
* 也許造成HTML的解析錯誤，就像&amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt;跟&amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt;不允許作為 &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;子標籤一樣。&lt;br /&gt;
&lt;br /&gt;
=== 型態值不靈敏的例子 ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
這個例子在X2V可以運作：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這不行，但是應該可以吧，它只會變成在vcard裡沒有的型態TEL。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO解析 ===&lt;br /&gt;
下面的hCard：&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
應該可以轉換為下面的vCard：&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V(2005-12-18)目前不能解析/匯出GEO屬性。&lt;br /&gt;
&lt;br /&gt;
== 相關網頁 ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43874</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43874"/>
		<updated>2011-04-21T03:02:36Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Test Cases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== 網站專頁 ===&lt;br /&gt;
部落客通常會在內容託管服務上使用網址到他們的首頁、饋送或專頁來顯示他們的身份在這些服務上，他們透過標籤作為URL屬性，這些額外的身份也可以在hCard發佈。&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== 列出你其他的專頁 ====&lt;br /&gt;
列出其他個人資料的網站最常見的情況是部落客列出自己其他的個人資料，或網站允許使用者列出他在站上的個人資料，連結到其他人的個人資料，使用戶要列出其個人資料在該網站上，鏈接到他或她的其他個人資料，由於很清楚地這個作者/使用者表示所有那些個人資料指德是同一個人，使用[[XFN]]的&amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;將他們標記起來做明確的身份合併是最好的，例如，在Tantek的部落格或其他社交網路的個人資料的那些連結：&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
像這種明確以使用者為導向的身份合併也是建構[[social-network-portability]]區塊的一個關鍵，這會在[[hcard-xfn-supporting-friends-lists]]這節有更多的解釋。&lt;br /&gt;
&lt;br /&gt;
=== 典型的網站簡介 ===&lt;br /&gt;
網佔有時後會對一個人有很多不同的頁面作為&amp;quot;首頁&amp;quot;，以及那個人的使用者個人資料頁。&lt;br /&gt;
&lt;br /&gt;
舉Flickr的例子：&lt;br /&gt;
* 你的首頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如： &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* 你的個人資料頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如：&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
此外，網站通常有一個他個人&amp;lt;em&amp;gt;典型&amp;lt;/em&amp;gt;的網址及幾個備用網址。&lt;br /&gt;
&lt;br /&gt;
如上所述，在hCard裡連到這些網址的連結會表示那些人應該有classname &amp;quot;url&amp;quot;。  &lt;br /&gt;
&lt;br /&gt;
此外，在hCard裡站上像這樣的連結到一個人的典型網址應該也有&amp;quot;uid&amp;quot;這個classname，這個技術是Ryan King第一次在[[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]提出。 &lt;br /&gt;
&lt;br /&gt;
上一節建構的例子：&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣的&amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot;屬性也被網站使用作為個人的[[OpenID]]網址。&lt;br /&gt;
&lt;br /&gt;
這件工作已開發進[[representative-hcard|representative hCards]]，到那裡有最新這類的思維。&lt;br /&gt;
&lt;br /&gt;
=== 組織跟部門 ===&lt;br /&gt;
&lt;br /&gt;
部門使用&amp;quot;organization-unit&amp;quot;類別名稱在&amp;quot;org&amp;quot;元素裡，明確的&amp;quot;organization-name&amp;quot;標記可以與其他部門區隔：&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
該部門也可以是位址的一部分，在這種情況下，你會想要明確的標記它作為除了&amp;quot;organization-unit&amp;quot;以外的&amp;quot;extended-address&amp;quot;。&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
請注意在位址裡的org的巢狀結構，我們要避免有重複的部門名稱。&lt;br /&gt;
&lt;br /&gt;
=== 組織列表 ===&lt;br /&gt;
類似[[hcard-examples#References_to_People_in_Blogrolls|lists of people]]，組織列表（例如樂隊）應該使用一個有列表項目跟超連結到各自的組織首頁的列表（無序的，除非有理由要排序）。&lt;br /&gt;
&lt;br /&gt;
例如，這個簡單的[[POSH]]：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
可以很容易地使用hCard來加強：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hCard裡&amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt;的範例 ==&lt;br /&gt;
見：[[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== 測試用例 ==&lt;br /&gt;
&lt;br /&gt;
這是[[hcard|hCard]]的例子，都被認為是在hCard分析器裡在尋找錯誤時特別有用（例如X2V）。&lt;br /&gt;
&lt;br /&gt;
=== BDAY資訊的問題 ===&lt;br /&gt;
&lt;br /&gt;
這個例子：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
應該產生&amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot;，但是它卻產生&amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [在哪？這像敘述好像毫無意義]，有趣的是apple的通訊錄還是希望接受這樣的方式。&lt;br /&gt;
&lt;br /&gt;
* 也許造成HTML的解析錯誤，就像&amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt;跟&amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt;不允許作為 &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;子標籤一樣。&lt;br /&gt;
&lt;br /&gt;
=== 型態值不靈敏的例子 ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
這個例子在X2V可以運作：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這不行，但是應該可以吧，它只會變成在vcard裡沒有的型態TEL。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO解析 ===&lt;br /&gt;
下面的hCard：&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
應該可以轉換為下面的vCard：&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V(2005-12-18)目前不能解析/匯出GEO屬性。&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43873</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43873"/>
		<updated>2011-04-21T02:40:34Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* RFC 2426 examples in hCard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== 網站專頁 ===&lt;br /&gt;
部落客通常會在內容託管服務上使用網址到他們的首頁、饋送或專頁來顯示他們的身份在這些服務上，他們透過標籤作為URL屬性，這些額外的身份也可以在hCard發佈。&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== 列出你其他的專頁 ====&lt;br /&gt;
列出其他個人資料的網站最常見的情況是部落客列出自己其他的個人資料，或網站允許使用者列出他在站上的個人資料，連結到其他人的個人資料，使用戶要列出其個人資料在該網站上，鏈接到他或她的其他個人資料，由於很清楚地這個作者/使用者表示所有那些個人資料指德是同一個人，使用[[XFN]]的&amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;將他們標記起來做明確的身份合併是最好的，例如，在Tantek的部落格或其他社交網路的個人資料的那些連結：&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
像這種明確以使用者為導向的身份合併也是建構[[social-network-portability]]區塊的一個關鍵，這會在[[hcard-xfn-supporting-friends-lists]]這節有更多的解釋。&lt;br /&gt;
&lt;br /&gt;
=== 典型的網站簡介 ===&lt;br /&gt;
網佔有時後會對一個人有很多不同的頁面作為&amp;quot;首頁&amp;quot;，以及那個人的使用者個人資料頁。&lt;br /&gt;
&lt;br /&gt;
舉Flickr的例子：&lt;br /&gt;
* 你的首頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如： &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* 你的個人資料頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如：&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
此外，網站通常有一個他個人&amp;lt;em&amp;gt;典型&amp;lt;/em&amp;gt;的網址及幾個備用網址。&lt;br /&gt;
&lt;br /&gt;
如上所述，在hCard裡連到這些網址的連結會表示那些人應該有classname &amp;quot;url&amp;quot;。  &lt;br /&gt;
&lt;br /&gt;
此外，在hCard裡站上像這樣的連結到一個人的典型網址應該也有&amp;quot;uid&amp;quot;這個classname，這個技術是Ryan King第一次在[[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]提出。 &lt;br /&gt;
&lt;br /&gt;
上一節建構的例子：&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣的&amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot;屬性也被網站使用作為個人的[[OpenID]]網址。&lt;br /&gt;
&lt;br /&gt;
這件工作已開發進[[representative-hcard|representative hCards]]，到那裡有最新這類的思維。&lt;br /&gt;
&lt;br /&gt;
=== 組織跟部門 ===&lt;br /&gt;
&lt;br /&gt;
部門使用&amp;quot;organization-unit&amp;quot;類別名稱在&amp;quot;org&amp;quot;元素裡，明確的&amp;quot;organization-name&amp;quot;標記可以與其他部門區隔：&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
該部門也可以是位址的一部分，在這種情況下，你會想要明確的標記它作為除了&amp;quot;organization-unit&amp;quot;以外的&amp;quot;extended-address&amp;quot;。&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
請注意在位址裡的org的巢狀結構，我們要避免有重複的部門名稱。&lt;br /&gt;
&lt;br /&gt;
=== 組織列表 ===&lt;br /&gt;
類似[[hcard-examples#References_to_People_in_Blogrolls|lists of people]]，組織列表（例如樂隊）應該使用一個有列表項目跟超連結到各自的組織首頁的列表（無序的，除非有理由要排序）。&lt;br /&gt;
&lt;br /&gt;
例如，這個簡單的[[POSH]]：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
可以很容易地使用hCard來加強：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hCard裡&amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt;的範例 ==&lt;br /&gt;
見：[[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43872</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43872"/>
		<updated>2011-04-21T02:39:48Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Lists of Organizations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== 網站專頁 ===&lt;br /&gt;
部落客通常會在內容託管服務上使用網址到他們的首頁、饋送或專頁來顯示他們的身份在這些服務上，他們透過標籤作為URL屬性，這些額外的身份也可以在hCard發佈。&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== 列出你其他的專頁 ====&lt;br /&gt;
列出其他個人資料的網站最常見的情況是部落客列出自己其他的個人資料，或網站允許使用者列出他在站上的個人資料，連結到其他人的個人資料，使用戶要列出其個人資料在該網站上，鏈接到他或她的其他個人資料，由於很清楚地這個作者/使用者表示所有那些個人資料指德是同一個人，使用[[XFN]]的&amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;將他們標記起來做明確的身份合併是最好的，例如，在Tantek的部落格或其他社交網路的個人資料的那些連結：&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
像這種明確以使用者為導向的身份合併也是建構[[social-network-portability]]區塊的一個關鍵，這會在[[hcard-xfn-supporting-friends-lists]]這節有更多的解釋。&lt;br /&gt;
&lt;br /&gt;
=== 典型的網站簡介 ===&lt;br /&gt;
網佔有時後會對一個人有很多不同的頁面作為&amp;quot;首頁&amp;quot;，以及那個人的使用者個人資料頁。&lt;br /&gt;
&lt;br /&gt;
舉Flickr的例子：&lt;br /&gt;
* 你的首頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如： &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* 你的個人資料頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如：&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
此外，網站通常有一個他個人&amp;lt;em&amp;gt;典型&amp;lt;/em&amp;gt;的網址及幾個備用網址。&lt;br /&gt;
&lt;br /&gt;
如上所述，在hCard裡連到這些網址的連結會表示那些人應該有classname &amp;quot;url&amp;quot;。  &lt;br /&gt;
&lt;br /&gt;
此外，在hCard裡站上像這樣的連結到一個人的典型網址應該也有&amp;quot;uid&amp;quot;這個classname，這個技術是Ryan King第一次在[[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]提出。 &lt;br /&gt;
&lt;br /&gt;
上一節建構的例子：&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣的&amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot;屬性也被網站使用作為個人的[[OpenID]]網址。&lt;br /&gt;
&lt;br /&gt;
這件工作已開發進[[representative-hcard|representative hCards]]，到那裡有最新這類的思維。&lt;br /&gt;
&lt;br /&gt;
=== 組織跟部門 ===&lt;br /&gt;
&lt;br /&gt;
部門使用&amp;quot;organization-unit&amp;quot;類別名稱在&amp;quot;org&amp;quot;元素裡，明確的&amp;quot;organization-name&amp;quot;標記可以與其他部門區隔：&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
該部門也可以是位址的一部分，在這種情況下，你會想要明確的標記它作為除了&amp;quot;organization-unit&amp;quot;以外的&amp;quot;extended-address&amp;quot;。&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
請注意在位址裡的org的巢狀結構，我們要避免有重複的部門名稱。&lt;br /&gt;
&lt;br /&gt;
=== 組織列表 ===&lt;br /&gt;
類似[[hcard-examples#References_to_People_in_Blogrolls|lists of people]]，組織列表（例如樂隊）應該使用一個有列表項目跟超連結到各自的組織首頁的列表（無序的，除非有理由要排序）。&lt;br /&gt;
&lt;br /&gt;
例如，這個簡單的[[POSH]]：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
可以很容易地使用hCard來加強：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43871</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43871"/>
		<updated>2011-04-21T02:34:52Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Organizations and Departments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== 網站專頁 ===&lt;br /&gt;
部落客通常會在內容託管服務上使用網址到他們的首頁、饋送或專頁來顯示他們的身份在這些服務上，他們透過標籤作為URL屬性，這些額外的身份也可以在hCard發佈。&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== 列出你其他的專頁 ====&lt;br /&gt;
列出其他個人資料的網站最常見的情況是部落客列出自己其他的個人資料，或網站允許使用者列出他在站上的個人資料，連結到其他人的個人資料，使用戶要列出其個人資料在該網站上，鏈接到他或她的其他個人資料，由於很清楚地這個作者/使用者表示所有那些個人資料指德是同一個人，使用[[XFN]]的&amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;將他們標記起來做明確的身份合併是最好的，例如，在Tantek的部落格或其他社交網路的個人資料的那些連結：&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
像這種明確以使用者為導向的身份合併也是建構[[social-network-portability]]區塊的一個關鍵，這會在[[hcard-xfn-supporting-friends-lists]]這節有更多的解釋。&lt;br /&gt;
&lt;br /&gt;
=== 典型的網站簡介 ===&lt;br /&gt;
網佔有時後會對一個人有很多不同的頁面作為&amp;quot;首頁&amp;quot;，以及那個人的使用者個人資料頁。&lt;br /&gt;
&lt;br /&gt;
舉Flickr的例子：&lt;br /&gt;
* 你的首頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如： &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* 你的個人資料頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如：&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
此外，網站通常有一個他個人&amp;lt;em&amp;gt;典型&amp;lt;/em&amp;gt;的網址及幾個備用網址。&lt;br /&gt;
&lt;br /&gt;
如上所述，在hCard裡連到這些網址的連結會表示那些人應該有classname &amp;quot;url&amp;quot;。  &lt;br /&gt;
&lt;br /&gt;
此外，在hCard裡站上像這樣的連結到一個人的典型網址應該也有&amp;quot;uid&amp;quot;這個classname，這個技術是Ryan King第一次在[[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]提出。 &lt;br /&gt;
&lt;br /&gt;
上一節建構的例子：&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣的&amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot;屬性也被網站使用作為個人的[[OpenID]]網址。&lt;br /&gt;
&lt;br /&gt;
這件工作已開發進[[representative-hcard|representative hCards]]，到那裡有最新這類的思維。&lt;br /&gt;
&lt;br /&gt;
=== 組織跟部門 ===&lt;br /&gt;
&lt;br /&gt;
部門使用&amp;quot;organization-unit&amp;quot;類別名稱在&amp;quot;org&amp;quot;元素裡，明確的&amp;quot;organization-name&amp;quot;標記可以與其他部門區隔：&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
該部門也可以是位址的一部分，在這種情況下，你會想要明確的標記它作為除了&amp;quot;organization-unit&amp;quot;以外的&amp;quot;extended-address&amp;quot;。&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
請注意在位址裡的org的巢狀結構，我們要避免有重複的部門名稱。&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43870</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43870"/>
		<updated>2011-04-21T02:27:17Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Canonical Profiles on Sites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== 網站專頁 ===&lt;br /&gt;
部落客通常會在內容託管服務上使用網址到他們的首頁、饋送或專頁來顯示他們的身份在這些服務上，他們透過標籤作為URL屬性，這些額外的身份也可以在hCard發佈。&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== 列出你其他的專頁 ====&lt;br /&gt;
列出其他個人資料的網站最常見的情況是部落客列出自己其他的個人資料，或網站允許使用者列出他在站上的個人資料，連結到其他人的個人資料，使用戶要列出其個人資料在該網站上，鏈接到他或她的其他個人資料，由於很清楚地這個作者/使用者表示所有那些個人資料指德是同一個人，使用[[XFN]]的&amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;將他們標記起來做明確的身份合併是最好的，例如，在Tantek的部落格或其他社交網路的個人資料的那些連結：&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
像這種明確以使用者為導向的身份合併也是建構[[social-network-portability]]區塊的一個關鍵，這會在[[hcard-xfn-supporting-friends-lists]]這節有更多的解釋。&lt;br /&gt;
&lt;br /&gt;
=== 典型的網站簡介 ===&lt;br /&gt;
網佔有時後會對一個人有很多不同的頁面作為&amp;quot;首頁&amp;quot;，以及那個人的使用者個人資料頁。&lt;br /&gt;
&lt;br /&gt;
舉Flickr的例子：&lt;br /&gt;
* 你的首頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如： &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* 你的個人資料頁在一個網址像：&amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt;後跟著你的使用者名稱，例如：&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
此外，網站通常有一個他個人&amp;lt;em&amp;gt;典型&amp;lt;/em&amp;gt;的網址及幾個備用網址。&lt;br /&gt;
&lt;br /&gt;
如上所述，在hCard裡連到這些網址的連結會表示那些人應該有classname &amp;quot;url&amp;quot;。  &lt;br /&gt;
&lt;br /&gt;
此外，在hCard裡站上像這樣的連結到一個人的典型網址應該也有&amp;quot;uid&amp;quot;這個classname，這個技術是Ryan King第一次在[[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]提出。 &lt;br /&gt;
&lt;br /&gt;
上一節建構的例子：&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣的&amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot;屬性也被網站使用作為個人的[[OpenID]]網址。&lt;br /&gt;
&lt;br /&gt;
這件工作已開發進[[representative-hcard|representative hCards]]，到那裡有最新這類的思維。&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43869</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43869"/>
		<updated>2011-04-21T02:11:25Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Site profiles */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== 網站專頁 ===&lt;br /&gt;
部落客通常會在內容託管服務上使用網址到他們的首頁、饋送或專頁來顯示他們的身份在這些服務上，他們透過標籤作為URL屬性，這些額外的身份也可以在hCard發佈。&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== 列出你其他的專頁 ====&lt;br /&gt;
列出其他個人資料的網站最常見的情況是部落客列出自己其他的個人資料，或網站允許使用者列出他在站上的個人資料，連結到其他人的個人資料，使用戶要列出其個人資料在該網站上，鏈接到他或她的其他個人資料，由於很清楚地這個作者/使用者表示所有那些個人資料指德是同一個人，使用[[XFN]]的&amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;將他們標記起來做明確的身份合併是最好的，例如，在Tantek的部落格或其他社交網路的個人資料的那些連結：&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* 在這裡增加更多...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
像這種明確以使用者為導向的身份合併也是建構[[social-network-portability]]區塊的一個關鍵，這會在[[hcard-xfn-supporting-friends-lists]]這節有更多的解釋。&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43868</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43868"/>
		<updated>2011-04-21T01:38:34Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* ICQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ]沒有URL的結構，反而在web上ICQ的連結使用HTTP超連結來下載一種內容類型&amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt;的資源，之後作業系統接著就會打開使用者的ICQ客戶端。&lt;br /&gt;
&lt;br /&gt;
因此我們可以標記那些有內容類型的HTTP超連結明確地設定來跟ICQ語義溝通：&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將[ICQNUMBER]取代為使用者真正的ICQ號碼。&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43463</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43463"/>
		<updated>2011-01-27T07:40:01Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Skype */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard的另一個網址：&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43462</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43462"/>
		<updated>2011-01-27T07:39:01Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* 新型態的聯繫方式 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''已經''[ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt 擴充]這個，我們是否應接受這個新的&amp;quot;IMPP&amp;quot;屬性？ [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids 可以使用&amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt;協定來表現，很多人可以這樣做可點擊的網址來發佈他們的AIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
對於hCard，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! 即時通 ====&lt;br /&gt;
同樣地，[http://messenger.yahoo.com/ Yahoo! 即時通] (YIM) ids 可以使用&amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt;協定來表現，同樣地很多人可以這樣做可點擊的網址來發佈他們的YIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
再一次，對於hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids 可以使用&amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt;協定來表現，並且同樣地很多人可以這樣做可點擊的網址來發佈他們的MSNIM ids，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
對hCard來說，我們將接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard另一個網址：&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
見相關的[[hcard-examples-issues#MSN_Messenger|議題]]。&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids 可以使用&amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt;協定來表現，例如：&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
這個協定允許更多的URLs，見[http://www.faqs.org/rfcs/rfc4622.html RFC4622]。&lt;br /&gt;
&lt;br /&gt;
目前有很多[http://www.jabber.org/clients 客戶端支援這個協定]。&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
IP電話服務[http://www.skype.com Skype]的帳戶可以使用&amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt;協定來表現，它可以用來開啟一個網路聊天室或是一個Skype呼叫。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此對於hCard來說，我們可以接受這個現有的內容發佈行為，並且簡單地擷取它作為hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43170</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43170"/>
		<updated>2010-10-12T03:58:09Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* New Types of Contact Info */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== 新型態的聯繫方式 ===&lt;br /&gt;
&lt;br /&gt;
自從vCard設計出來後，就有許多的其他的服務來提供個人的地址或其他方式的聯繫，例如，即時通、voip等等。&lt;br /&gt;
&lt;br /&gt;
這意味著vCard(以及hCard)必須擴充到可以代表這些嗎？&lt;br /&gt;
&lt;br /&gt;
感謝URL屬性的彈性，答案是No，不需任何的擴充，相反地，我們使用可以辨認服務（協定、機器且/或路徑）服務的適當URL，然後置放個人的位址在裡面。&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43169</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43169"/>
		<updated>2010-10-12T03:35:55Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* hCard and XFN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard跟XFN ===&lt;br /&gt;
==== 部落格文章中人的參照 ====&lt;br /&gt;
&lt;br /&gt;
上面的例子裡，一個人(部落客)正在參照另一個人(Eric Meyer)，除了使用hCard來明確標記這個人的參照外，部落客可以使用[http://gmpg.org/xfn/ XFN] (XHTML朋友網路)來表示他們跟Eric Meyer的關係，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
這會跟前面的例子有一樣的顯示。&lt;br /&gt;
&lt;br /&gt;
==== 部落格聯播(Blogrolls)中人的參照 ====&lt;br /&gt;
很多部落客正使用XFN(通常使用一個簡單的使用者介面像是內建在[http://wordpress.org WordPress])的那一種來明確表示在他們的部落格聯播中跟這個人的關係:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
將hCard標記加入到XFN朋友的部落格聯播中，你可以明確表示這人的名稱跟URL，除了他們的關係之外：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這樣可能顯示為：&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
這會參照為[[hcard-xfn-supporting-friends-lists]]，這也是[[social-network-portability]]關鍵組成的部份。 &lt;br /&gt;
&lt;br /&gt;
更多XFN的資訊，見[http://gmpg.org/xfn/ XFN home page]、[http://gmpg.org/xfn/join joining XFN]及[http://gmpg.org/xfn/background XFN的背景].&lt;br /&gt;
&lt;br /&gt;
這個技術用在WordPress的[http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll]外掛中。&lt;br /&gt;
&lt;br /&gt;
=== New Types of Contact Info ===&lt;br /&gt;
&lt;br /&gt;
Since vCard was designed, there have been numerous other services that provide individuals with addresses or other means of contact, e.g. instant messaging, voip, etc.&lt;br /&gt;
&lt;br /&gt;
Does this mean that vCard (and hence hCard) must be extended to represent these?&lt;br /&gt;
&lt;br /&gt;
Thanks to the flexibility of the URL property, the answer is no, no extensions are necessary.  Instead, we use the proper URL for the service which identifies the service (protocol, machine, and/or path), and place the individual's address inside that.&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43168</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43168"/>
		<updated>2010-10-12T02:49:26Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* 在一個組織工作的人 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
此外，假如這個人的hCard是在代表他們的頁面上(例如，是一個[[representative hCard]])，那麼你也可以用超連結到公司的實驗[[rel-group]]關係來表示這公司的這個人屬於這一個&amp;quot;群組&amp;quot;。&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard and XFN ===&lt;br /&gt;
==== References to People in Blog Posts ====&lt;br /&gt;
&lt;br /&gt;
In the above example, one person (the blogger) is referring to another person (Eric Meyer).  In addition to using hCard to explicitly mark up the reference as a person, the blogger can use [http://gmpg.org/xfn/ XFN] (the XHTML Friends Network) to indicate their relationship to Eric Meyer, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
It would be displayed the same as the previous example.&lt;br /&gt;
&lt;br /&gt;
==== References to People in Blogrolls ====&lt;br /&gt;
Many bloggers are using XFN (often using an easy user interface like that built into [http://wordpress.org WordPress]) to explicitly indicate their relationships to the people in their blogrolls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard markup to an XFN Friendly blogroll, you can explicitly indicate the name and URL of the person in addition to their relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which could be displayed as:&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
This is referred to as [[hcard-xfn-supporting-friends-lists]], and is a key building block of [[social-network-portability]].&lt;br /&gt;
&lt;br /&gt;
For more information on XFN, see the [http://gmpg.org/xfn/ XFN home page], [http://gmpg.org/xfn/join joining XFN], and [http://gmpg.org/xfn/background background on XFN].&lt;br /&gt;
&lt;br /&gt;
The technique is used in the [http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll] plugin for WordPress.&lt;br /&gt;
&lt;br /&gt;
=== New Types of Contact Info ===&lt;br /&gt;
&lt;br /&gt;
Since vCard was designed, there have been numerous other services that provide individuals with addresses or other means of contact, e.g. instant messaging, voip, etc.&lt;br /&gt;
&lt;br /&gt;
Does this mean that vCard (and hence hCard) must be extended to represent these?&lt;br /&gt;
&lt;br /&gt;
Thanks to the flexibility of the URL property, the answer is no, no extensions are necessary.  Instead, we use the proper URL for the service which identifies the service (protocol, machine, and/or path), and place the individual's address inside that.&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43101</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=43101"/>
		<updated>2010-09-16T09:32:15Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* References to People and Organizations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== 人跟組織的參考 ===&lt;br /&gt;
在部落格文章裡一個典型的例子就是連結提到的人名到他們的部落格，且/或他們公司的首頁。例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; 寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;收到的無意中幽默信&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
加入hCard到這樣的標記裡，你可以明確地用名字跟URL來表明這個人跟公司：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt;寫了一篇文章 &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
關於他從&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
注意這個包圍IRS的超連結上的類別名稱&amp;quot;fn org url&amp;quot;，使用&amp;quot;fn&amp;quot;跟&amp;quot;org&amp;quot;相同的值（或這裡元素）來表示hCard是描述一個組織而非一個人。&lt;br /&gt;
&lt;br /&gt;
這也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]''寫了一篇文章 (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'')關於他從[http://irs.gov/ Internal Revenue Service]收到的無意中幽默信。&lt;br /&gt;
&lt;br /&gt;
==== 在一個組織工作的人 ====&lt;br /&gt;
人們通常會將他們工作的公司或組織聯想在一起，例如：&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
當然在這個時代裡，幾乎每個人都有他們自己跟他們公司的URL，要在上面的hCard例子中加入URL是容易的：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
但是加了一個URL到公司裡，就沒有&amp;quot;org-url&amp;quot;屬性(也不應該有)，相反地，在公司自己裡使用模組化跟巢狀的hCard：&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
Furthermore, if this person hCard is on a page that represent them (e.g. is a [[representative hCard]]), then you can also use the experimental [[rel-group]] relationship on the hyperlink to the company to indicate that the company is a &amp;quot;group&amp;quot; that the person belongs to.&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard and XFN ===&lt;br /&gt;
==== References to People in Blog Posts ====&lt;br /&gt;
&lt;br /&gt;
In the above example, one person (the blogger) is referring to another person (Eric Meyer).  In addition to using hCard to explicitly mark up the reference as a person, the blogger can use [http://gmpg.org/xfn/ XFN] (the XHTML Friends Network) to indicate their relationship to Eric Meyer, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
It would be displayed the same as the previous example.&lt;br /&gt;
&lt;br /&gt;
==== References to People in Blogrolls ====&lt;br /&gt;
Many bloggers are using XFN (often using an easy user interface like that built into [http://wordpress.org WordPress]) to explicitly indicate their relationships to the people in their blogrolls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard markup to an XFN Friendly blogroll, you can explicitly indicate the name and URL of the person in addition to their relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which could be displayed as:&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
This is referred to as [[hcard-xfn-supporting-friends-lists]], and is a key building block of [[social-network-portability]].&lt;br /&gt;
&lt;br /&gt;
For more information on XFN, see the [http://gmpg.org/xfn/ XFN home page], [http://gmpg.org/xfn/join joining XFN], and [http://gmpg.org/xfn/background background on XFN].&lt;br /&gt;
&lt;br /&gt;
The technique is used in the [http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll] plugin for WordPress.&lt;br /&gt;
&lt;br /&gt;
=== New Types of Contact Info ===&lt;br /&gt;
&lt;br /&gt;
Since vCard was designed, there have been numerous other services that provide individuals with addresses or other means of contact, e.g. instant messaging, voip, etc.&lt;br /&gt;
&lt;br /&gt;
Does this mean that vCard (and hence hCard) must be extended to represent these?&lt;br /&gt;
&lt;br /&gt;
Thanks to the flexibility of the URL property, the answer is no, no extensions are necessary.  Instead, we use the proper URL for the service which identifies the service (protocol, machine, and/or path), and place the individual's address inside that.&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=42945</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=42945"/>
		<updated>2010-08-16T03:24:47Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 依據HTML4.01規格]，作者應該使用&amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt;元素來表示&amp;quot;一篇文件或是一篇文件的主要部份的聯絡資訊&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
增加[[hcard|hCard]]到這樣已經存在的XHTML，你可以明確地表明這人的名稱、網址等等：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
這可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
這不只整頁可以這樣做，頁面的&amp;quot;主要部份&amp;quot;也可以，例如，部落格的文章。&lt;br /&gt;
&lt;br /&gt;
見[http://microformats.org/blog/ microformats.org部落格]一個例子 (看原始碼)，在microformats.org上的每篇文章的作者被標記為像上面顯示的 &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;元素。&lt;br /&gt;
&lt;br /&gt;
=== References to People and Organizations ===&lt;br /&gt;
A common pattern in blog posts is to link mentions of people's names to their blogs, and/or organizations to their home pages.  E.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard to such markup, you can explicitly indicate both the person and the organization by name and URL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
Note the class names &amp;quot;fn org url&amp;quot; on the hyperlink surrounding the IRS.  Using the same value (or element for that matter) for &amp;quot;fn&amp;quot; and &amp;quot;org&amp;quot; indicates that the hCard describes an organization rather than a person.&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]'' wrote a post (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'') about an unintentionally &lt;br /&gt;
 humorous letter he received from the [http://irs.gov/ Internal Revenue Service].&lt;br /&gt;
&lt;br /&gt;
==== a person who works for an organization ====&lt;br /&gt;
People often associate themselves with a company or organization that they work for. E.g.&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
Of course in this day and age, nearly everybody has a URL both for themselves and for their company. It's easy to add a URL for the person in the above hCard example:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
But to add a URL to the company, there is no &amp;quot;org-url&amp;quot; property (nor should there be), instead, use modularity and a nested hCard for the company itself:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
Furthermore, if this person hCard is on a page that represent them (e.g. is a [[representative hCard]]), then you can also use the experimental [[rel-group]] relationship on the hyperlink to the company to indicate that the company is a &amp;quot;group&amp;quot; that the person belongs to.&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard and XFN ===&lt;br /&gt;
==== References to People in Blog Posts ====&lt;br /&gt;
&lt;br /&gt;
In the above example, one person (the blogger) is referring to another person (Eric Meyer).  In addition to using hCard to explicitly mark up the reference as a person, the blogger can use [http://gmpg.org/xfn/ XFN] (the XHTML Friends Network) to indicate their relationship to Eric Meyer, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
It would be displayed the same as the previous example.&lt;br /&gt;
&lt;br /&gt;
==== References to People in Blogrolls ====&lt;br /&gt;
Many bloggers are using XFN (often using an easy user interface like that built into [http://wordpress.org WordPress]) to explicitly indicate their relationships to the people in their blogrolls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard markup to an XFN Friendly blogroll, you can explicitly indicate the name and URL of the person in addition to their relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which could be displayed as:&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
This is referred to as [[hcard-xfn-supporting-friends-lists]], and is a key building block of [[social-network-portability]].&lt;br /&gt;
&lt;br /&gt;
For more information on XFN, see the [http://gmpg.org/xfn/ XFN home page], [http://gmpg.org/xfn/join joining XFN], and [http://gmpg.org/xfn/background background on XFN].&lt;br /&gt;
&lt;br /&gt;
The technique is used in the [http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll] plugin for WordPress.&lt;br /&gt;
&lt;br /&gt;
=== New Types of Contact Info ===&lt;br /&gt;
&lt;br /&gt;
Since vCard was designed, there have been numerous other services that provide individuals with addresses or other means of contact, e.g. instant messaging, voip, etc.&lt;br /&gt;
&lt;br /&gt;
Does this mean that vCard (and hence hCard) must be extended to represent these?&lt;br /&gt;
&lt;br /&gt;
Thanks to the flexibility of the URL property, the answer is no, no extensions are necessary.  Instead, we use the proper URL for the service which identifies the service (protocol, machine, and/or path), and place the individual's address inside that.&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=42919</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=42919"/>
		<updated>2010-08-02T06:56:34Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== 作者 ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== 啟發性的例子 ==&lt;br /&gt;
&lt;br /&gt;
=== 網頁和文章的作者 ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 Per the HTML4.01 specification], authors should be using the &amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt; element to indicate the &amp;quot;contact information for a document or a major part of a document.&amp;quot; E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding [[hcard|hCard]] to such existing semantic XHTML, you can explicitly indicate the name of the person, their URL, etc.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
This works not only for whole pages, but also for &amp;quot;major part[s]&amp;quot; of pages, e.g. blog posts.&lt;br /&gt;
&lt;br /&gt;
See the [http://microformats.org/blog/ microformats.org blog] (view the source) for a live example.  The author of every blog post on the microformats.org blog is marked up as an &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt; element like the example shown above.&lt;br /&gt;
&lt;br /&gt;
=== References to People and Organizations ===&lt;br /&gt;
A common pattern in blog posts is to link mentions of people's names to their blogs, and/or organizations to their home pages.  E.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard to such markup, you can explicitly indicate both the person and the organization by name and URL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
Note the class names &amp;quot;fn org url&amp;quot; on the hyperlink surrounding the IRS.  Using the same value (or element for that matter) for &amp;quot;fn&amp;quot; and &amp;quot;org&amp;quot; indicates that the hCard describes an organization rather than a person.&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]'' wrote a post (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'') about an unintentionally &lt;br /&gt;
 humorous letter he received from the [http://irs.gov/ Internal Revenue Service].&lt;br /&gt;
&lt;br /&gt;
==== a person who works for an organization ====&lt;br /&gt;
People often associate themselves with a company or organization that they work for. E.g.&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
Of course in this day and age, nearly everybody has a URL both for themselves and for their company. It's easy to add a URL for the person in the above hCard example:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
But to add a URL to the company, there is no &amp;quot;org-url&amp;quot; property (nor should there be), instead, use modularity and a nested hCard for the company itself:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
Furthermore, if this person hCard is on a page that represent them (e.g. is a [[representative hCard]]), then you can also use the experimental [[rel-group]] relationship on the hyperlink to the company to indicate that the company is a &amp;quot;group&amp;quot; that the person belongs to.&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard and XFN ===&lt;br /&gt;
==== References to People in Blog Posts ====&lt;br /&gt;
&lt;br /&gt;
In the above example, one person (the blogger) is referring to another person (Eric Meyer).  In addition to using hCard to explicitly mark up the reference as a person, the blogger can use [http://gmpg.org/xfn/ XFN] (the XHTML Friends Network) to indicate their relationship to Eric Meyer, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
It would be displayed the same as the previous example.&lt;br /&gt;
&lt;br /&gt;
==== References to People in Blogrolls ====&lt;br /&gt;
Many bloggers are using XFN (often using an easy user interface like that built into [http://wordpress.org WordPress]) to explicitly indicate their relationships to the people in their blogrolls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard markup to an XFN Friendly blogroll, you can explicitly indicate the name and URL of the person in addition to their relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which could be displayed as:&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
This is referred to as [[hcard-xfn-supporting-friends-lists]], and is a key building block of [[social-network-portability]].&lt;br /&gt;
&lt;br /&gt;
For more information on XFN, see the [http://gmpg.org/xfn/ XFN home page], [http://gmpg.org/xfn/join joining XFN], and [http://gmpg.org/xfn/background background on XFN].&lt;br /&gt;
&lt;br /&gt;
The technique is used in the [http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll] plugin for WordPress.&lt;br /&gt;
&lt;br /&gt;
=== New Types of Contact Info ===&lt;br /&gt;
&lt;br /&gt;
Since vCard was designed, there have been numerous other services that provide individuals with addresses or other means of contact, e.g. instant messaging, voip, etc.&lt;br /&gt;
&lt;br /&gt;
Does this mean that vCard (and hence hCard) must be extended to represent these?&lt;br /&gt;
&lt;br /&gt;
Thanks to the flexibility of the URL property, the answer is no, no extensions are necessary.  Instead, we use the proper URL for the service which identifies the service (protocol, machine, and/or path), and place the individual's address inside that.&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=42918</id>
		<title>hcard-examples-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples-zh&amp;diff=42918"/>
		<updated>2010-08-02T02:40:33Z</updated>

		<summary type="html">&lt;p&gt;Achi: New page: &amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;  範例 hCards.  == Authors == * [http://tantek.com/ Tantek Çelik] * Brian Suda  == Instructive Examples ==  === Authors of Pages and ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 範例&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
範例 [[hcard-zh|hCards]].&lt;br /&gt;
&lt;br /&gt;
== Authors ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== Instructive Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Authors of Pages and Posts ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 Per the HTML4.01 specification], authors should be using the &amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt; element to indicate the &amp;quot;contact information for a document or a major part of a document.&amp;quot; E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding [[hcard|hCard]] to such existing semantic XHTML, you can explicitly indicate the name of the person, their URL, etc.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
This works not only for whole pages, but also for &amp;quot;major part[s]&amp;quot; of pages, e.g. blog posts.&lt;br /&gt;
&lt;br /&gt;
See the [http://microformats.org/blog/ microformats.org blog] (view the source) for a live example.  The author of every blog post on the microformats.org blog is marked up as an &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt; element like the example shown above.&lt;br /&gt;
&lt;br /&gt;
=== References to People and Organizations ===&lt;br /&gt;
A common pattern in blog posts is to link mentions of people's names to their blogs, and/or organizations to their home pages.  E.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard to such markup, you can explicitly indicate both the person and the organization by name and URL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
Note the class names &amp;quot;fn org url&amp;quot; on the hyperlink surrounding the IRS.  Using the same value (or element for that matter) for &amp;quot;fn&amp;quot; and &amp;quot;org&amp;quot; indicates that the hCard describes an organization rather than a person.&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]'' wrote a post (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'') about an unintentionally &lt;br /&gt;
 humorous letter he received from the [http://irs.gov/ Internal Revenue Service].&lt;br /&gt;
&lt;br /&gt;
==== a person who works for an organization ====&lt;br /&gt;
People often associate themselves with a company or organization that they work for. E.g.&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
Of course in this day and age, nearly everybody has a URL both for themselves and for their company. It's easy to add a URL for the person in the above hCard example:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
But to add a URL to the company, there is no &amp;quot;org-url&amp;quot; property (nor should there be), instead, use modularity and a nested hCard for the company itself:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
Furthermore, if this person hCard is on a page that represent them (e.g. is a [[representative hCard]]), then you can also use the experimental [[rel-group]] relationship on the hyperlink to the company to indicate that the company is a &amp;quot;group&amp;quot; that the person belongs to.&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard and XFN ===&lt;br /&gt;
==== References to People in Blog Posts ====&lt;br /&gt;
&lt;br /&gt;
In the above example, one person (the blogger) is referring to another person (Eric Meyer).  In addition to using hCard to explicitly mark up the reference as a person, the blogger can use [http://gmpg.org/xfn/ XFN] (the XHTML Friends Network) to indicate their relationship to Eric Meyer, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
It would be displayed the same as the previous example.&lt;br /&gt;
&lt;br /&gt;
==== References to People in Blogrolls ====&lt;br /&gt;
Many bloggers are using XFN (often using an easy user interface like that built into [http://wordpress.org WordPress]) to explicitly indicate their relationships to the people in their blogrolls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard markup to an XFN Friendly blogroll, you can explicitly indicate the name and URL of the person in addition to their relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which could be displayed as:&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
This is referred to as [[hcard-xfn-supporting-friends-lists]], and is a key building block of [[social-network-portability]].&lt;br /&gt;
&lt;br /&gt;
For more information on XFN, see the [http://gmpg.org/xfn/ XFN home page], [http://gmpg.org/xfn/join joining XFN], and [http://gmpg.org/xfn/background background on XFN].&lt;br /&gt;
&lt;br /&gt;
The technique is used in the [http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll] plugin for WordPress.&lt;br /&gt;
&lt;br /&gt;
=== New Types of Contact Info ===&lt;br /&gt;
&lt;br /&gt;
Since vCard was designed, there have been numerous other services that provide individuals with addresses or other means of contact, e.g. instant messaging, voip, etc.&lt;br /&gt;
&lt;br /&gt;
Does this mean that vCard (and hence hCard) must be extended to represent these?&lt;br /&gt;
&lt;br /&gt;
Thanks to the flexibility of the URL property, the answer is no, no extensions are necessary.  Instead, we use the proper URL for the service which identifies the service (protocol, machine, and/or path), and place the individual's address inside that.&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples&amp;diff=42917</id>
		<title>hcard-examples</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples&amp;diff=42917"/>
		<updated>2010-08-02T02:37:00Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard examples&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example [[hcard|hCards]].&lt;br /&gt;
&lt;br /&gt;
== Authors ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== Instructive Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Authors of Pages and Posts ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 Per the HTML4.01 specification], authors should be using the &amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt; element to indicate the &amp;quot;contact information for a document or a major part of a document.&amp;quot; E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding [[hcard|hCard]] to such existing semantic XHTML, you can explicitly indicate the name of the person, their URL, etc.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
This works not only for whole pages, but also for &amp;quot;major part[s]&amp;quot; of pages, e.g. blog posts.&lt;br /&gt;
&lt;br /&gt;
See the [http://microformats.org/blog/ microformats.org blog] (view the source) for a live example.  The author of every blog post on the microformats.org blog is marked up as an &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt; element like the example shown above.&lt;br /&gt;
&lt;br /&gt;
=== References to People and Organizations ===&lt;br /&gt;
A common pattern in blog posts is to link mentions of people's names to their blogs, and/or organizations to their home pages.  E.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard to such markup, you can explicitly indicate both the person and the organization by name and URL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
Note the class names &amp;quot;fn org url&amp;quot; on the hyperlink surrounding the IRS.  Using the same value (or element for that matter) for &amp;quot;fn&amp;quot; and &amp;quot;org&amp;quot; indicates that the hCard describes an organization rather than a person.&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]'' wrote a post (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'') about an unintentionally &lt;br /&gt;
 humorous letter he received from the [http://irs.gov/ Internal Revenue Service].&lt;br /&gt;
&lt;br /&gt;
==== a person who works for an organization ====&lt;br /&gt;
People often associate themselves with a company or organization that they work for. E.g.&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
Of course in this day and age, nearly everybody has a URL both for themselves and for their company. It's easy to add a URL for the person in the above hCard example:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
But to add a URL to the company, there is no &amp;quot;org-url&amp;quot; property (nor should there be), instead, use modularity and a nested hCard for the company itself:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
Furthermore, if this person hCard is on a page that represent them (e.g. is a [[representative hCard]]), then you can also use the experimental [[rel-group]] relationship on the hyperlink to the company to indicate that the company is a &amp;quot;group&amp;quot; that the person belongs to.&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard and XFN ===&lt;br /&gt;
==== References to People in Blog Posts ====&lt;br /&gt;
&lt;br /&gt;
In the above example, one person (the blogger) is referring to another person (Eric Meyer).  In addition to using hCard to explicitly mark up the reference as a person, the blogger can use [http://gmpg.org/xfn/ XFN] (the XHTML Friends Network) to indicate their relationship to Eric Meyer, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
It would be displayed the same as the previous example.&lt;br /&gt;
&lt;br /&gt;
==== References to People in Blogrolls ====&lt;br /&gt;
Many bloggers are using XFN (often using an easy user interface like that built into [http://wordpress.org WordPress]) to explicitly indicate their relationships to the people in their blogrolls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard markup to an XFN Friendly blogroll, you can explicitly indicate the name and URL of the person in addition to their relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which could be displayed as:&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
This is referred to as [[hcard-xfn-supporting-friends-lists]], and is a key building block of [[social-network-portability]].&lt;br /&gt;
&lt;br /&gt;
For more information on XFN, see the [http://gmpg.org/xfn/ XFN home page], [http://gmpg.org/xfn/join joining XFN], and [http://gmpg.org/xfn/background background on XFN].&lt;br /&gt;
&lt;br /&gt;
The technique is used in the [http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll] plugin for WordPress.&lt;br /&gt;
&lt;br /&gt;
=== New Types of Contact Info ===&lt;br /&gt;
&lt;br /&gt;
Since vCard was designed, there have been numerous other services that provide individuals with addresses or other means of contact, e.g. instant messaging, voip, etc.&lt;br /&gt;
&lt;br /&gt;
Does this mean that vCard (and hence hCard) must be extended to represent these?&lt;br /&gt;
&lt;br /&gt;
Thanks to the flexibility of the URL property, the answer is no, no extensions are necessary.  Instead, we use the proper URL for the service which identifies the service (protocol, machine, and/or path), and place the individual's address inside that.&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-examples-zh|漢語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-examples&amp;diff=42916</id>
		<title>hcard-examples</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-examples&amp;diff=42916"/>
		<updated>2010-08-02T02:36:02Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard examples&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example [[hcard|hCards]].&lt;br /&gt;
&lt;br /&gt;
== Authors ==&lt;br /&gt;
* [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
* Brian Suda&lt;br /&gt;
&lt;br /&gt;
== Instructive Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Authors of Pages and Posts ===&lt;br /&gt;
[http://www.w3.org/TR/html401/struct/global.html#h-7.5.6 Per the HTML4.01 specification], authors should be using the &amp;lt;code&amp;gt;&amp;amp;lt;address&amp;amp;gt;&amp;lt;/code&amp;gt; element to indicate the &amp;quot;contact information for a document or a major part of a document.&amp;quot; E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding [[hcard|hCard]] to such existing semantic XHTML, you can explicitly indicate the name of the person, their URL, etc.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/address&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
This works not only for whole pages, but also for &amp;quot;major part[s]&amp;quot; of pages, e.g. blog posts.&lt;br /&gt;
&lt;br /&gt;
See the [http://microformats.org/blog/ microformats.org blog] (view the source) for a live example.  The author of every blog post on the microformats.org blog is marked up as an &amp;lt;code&amp;gt;&amp;amp;lt;address class=&amp;quot;vcard&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt; element like the example shown above.&lt;br /&gt;
&lt;br /&gt;
=== References to People and Organizations ===&lt;br /&gt;
A common pattern in blog posts is to link mentions of people's names to their blogs, and/or organizations to their home pages.  E.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;&lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;a href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard to such markup, you can explicitly indicate both the person and the organization by name and URL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
Note the class names &amp;quot;fn org url&amp;quot; on the hyperlink surrounding the IRS.  Using the same value (or element for that matter) for &amp;quot;fn&amp;quot; and &amp;quot;org&amp;quot; indicates that the hCard describes an organization rather than a person.&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
 ''[http://meyerweb.com/ Eric Meyer]'' wrote a post (''[http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/ Tax Relief]'') about an unintentionally &lt;br /&gt;
 humorous letter he received from the [http://irs.gov/ Internal Revenue Service].&lt;br /&gt;
&lt;br /&gt;
==== a person who works for an organization ====&lt;br /&gt;
People often associate themselves with a company or organization that they work for. E.g.&lt;br /&gt;
&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;
 &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/span&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
Of course in this day and age, nearly everybody has a URL both for themselves and for their company. It's easy to add a URL for the person in the above hCard example:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Clearleft&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;
&lt;br /&gt;
But to add a URL to the company, there is no &amp;quot;org-url&amp;quot; property (nor should there be), instead, use modularity and a nested hCard for the company itself:&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
Furthermore, if this person hCard is on a page that represent them (e.g. is a [[representative hCard]]), then you can also use the experimental [[rel-group]] relationship on the hyperlink to the company to indicate that the company is a &amp;quot;group&amp;quot; that the person belongs to.&lt;br /&gt;
&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;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://adactio.com/&amp;quot;&amp;gt;Jeremy Keith&amp;lt;/a&amp;gt;, &lt;br /&gt;
 &amp;lt;span class=&amp;quot;org vcard&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;url fn org&amp;quot; rel=&amp;quot;group&amp;quot; href=&amp;quot;http://clearleft.com&amp;quot;&amp;gt;Clearleft&amp;lt;/a&amp;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;
&lt;br /&gt;
=== hCard and XFN ===&lt;br /&gt;
==== References to People in Blog Posts ====&lt;br /&gt;
&lt;br /&gt;
In the above example, one person (the blogger) is referring to another person (Eric Meyer).  In addition to using hCard to explicitly mark up the reference as a person, the blogger can use [http://gmpg.org/xfn/ XFN] (the XHTML Friends Network) to indicate their relationship to Eric Meyer, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;cite class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn url&amp;quot; rel=&amp;quot;friend colleague met&amp;quot; href=&amp;quot;http://meyerweb.com/&amp;quot;&amp;gt;&lt;br /&gt;
  Eric Meyer&lt;br /&gt;
 &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/cite&amp;gt; wrote a post &lt;br /&gt;
(&amp;lt;cite&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com/eric/thoughts/2005/12/16/tax-relief/&amp;quot;&amp;gt;&lt;br /&gt;
   Tax Relief&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/cite&amp;gt;) &lt;br /&gt;
about an unintentionally humorous letter he received from the&lt;br /&gt;
&amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://irs.gov/&amp;quot;&amp;gt;Internal Revenue Service&amp;lt;/a&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;
&lt;br /&gt;
It would be displayed the same as the previous example.&lt;br /&gt;
&lt;br /&gt;
==== References to People in Blogrolls ====&lt;br /&gt;
Many bloggers are using XFN (often using an easy user interface like that built into [http://wordpress.org WordPress]) to explicitly indicate their relationships to the people in their blogrolls:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By adding hCard markup to an XFN Friendly blogroll, you can explicitly indicate the name and URL of the person in addition to their relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://meyerweb.com&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Eric Meyer&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn url&amp;quot; href=&amp;quot;http://photomatt.net&amp;quot; rel=&amp;quot;friend colleague met&amp;quot;&amp;gt;Matt Mullenweg&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which could be displayed as:&lt;br /&gt;
* [http://meyerweb.com Eric Meyer]&lt;br /&gt;
* [http://photomatt.net Matt Mullenweg]&lt;br /&gt;
&lt;br /&gt;
This is referred to as [[hcard-xfn-supporting-friends-lists]], and is a key building block of [[social-network-portability]].&lt;br /&gt;
&lt;br /&gt;
For more information on XFN, see the [http://gmpg.org/xfn/ XFN home page], [http://gmpg.org/xfn/join joining XFN], and [http://gmpg.org/xfn/background background on XFN].&lt;br /&gt;
&lt;br /&gt;
The technique is used in the [http://factorycity.net/projects/wp-microformatted-blogroll/ WP Microformatted Blogroll] plugin for WordPress.&lt;br /&gt;
&lt;br /&gt;
=== New Types of Contact Info ===&lt;br /&gt;
&lt;br /&gt;
Since vCard was designed, there have been numerous other services that provide individuals with addresses or other means of contact, e.g. instant messaging, voip, etc.&lt;br /&gt;
&lt;br /&gt;
Does this mean that vCard (and hence hCard) must be extended to represent these?&lt;br /&gt;
&lt;br /&gt;
Thanks to the flexibility of the URL property, the answer is no, no extensions are necessary.  Instead, we use the proper URL for the service which identifies the service (protocol, machine, and/or path), and place the individual's address inside that.&lt;br /&gt;
&lt;br /&gt;
* vCard ''has'' been [ftp://ftp.rfc-editor.org/in-notes/rfc4770.txt extended] for this. Should we adopt the new &amp;quot;IMPP&amp;quot; property? [[User:TobyInk|TobyInk]] 10:03, 17 Mar 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
==== AOL Instant Messenger (AIM) ====&lt;br /&gt;
[http://dashboard.aim.com/aim AOL Instant Messenger] (AIM) ids can be represented using the &amp;lt;code&amp;gt;aim:&amp;lt;/code&amp;gt; protocol.  Many  who publish their AIM ids do so with clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;aim:goim?screenname=ShoppingBuddy&amp;quot;&amp;gt;IM with the AIM ShoppingBuddy&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Yahoo! Messenger ====&lt;br /&gt;
Similarly, [http://messenger.yahoo.com/ Yahoo! Instant Messenger] (YIM) ids can be represented using the &amp;lt;code&amp;gt;ymsgr:&amp;lt;/code&amp;gt; protocol.  And similarly many publish their YIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, for hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;ymsgr:sendIM?SomeYahooFriend&amp;quot;&amp;gt;IM with SomeYahooFriend&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MSN Messenger ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/Windows_Live_Messenger MSN Messenger] (MSNIM) ids can be represented using the &amp;lt;code&amp;gt;msnim:&amp;lt;/code&amp;gt; protocol. And similarly many publish their MSNIM ids as clickable URLs e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
For hCard, we will adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;msnim:chat?contact=joebob@hotmail.com&amp;quot;&amp;gt;IM with joebob@hotmail.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;
See related [[hcard-examples-issues#MSN_Messenger|issue(s)]].&lt;br /&gt;
&lt;br /&gt;
==== XMPP (Jabber) ====&lt;br /&gt;
[http://www.xmpp.org/ Extensible Messaging and Presence Protocol (XMPP)] ids can be represented using the &amp;lt;code&amp;gt;xmpp:&amp;lt;/code&amp;gt; protocol, e.g.:&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;url&amp;quot; href=&amp;quot;xmpp:username@jabberservice.com&amp;quot;&amp;gt;IM with username@jammerservice.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;
The protocol allows much richer URLs, see [http://www.faqs.org/rfcs/rfc4622.html RFC4622].&lt;br /&gt;
&lt;br /&gt;
There are many current [http://www.jabber.org/clients clients supporting the protocol].&lt;br /&gt;
&lt;br /&gt;
==== Skype ====&lt;br /&gt;
Accounts on the Voice-over-IP service [http://www.skype.com Skype] can be represented using the &amp;lt;code&amp;gt;skype:&amp;lt;/code&amp;gt; protocol. It can be used to open a chat session or make a Skype call.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&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;
&amp;lt;a href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for hCard, we could adopt this existing content publisher behavior, and simply capture it as another URL for the hCard:&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?chat&amp;quot;&amp;gt;IM with the Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&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;url&amp;quot; href=&amp;quot;skype:echo-chinese?call&amp;quot;&amp;gt;Skype call to Skype echo service (Chinese)&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ICQ ====&lt;br /&gt;
[http://www.icq.com/ ICQ] does not have a URL scheme.  Rather ICQ links on the web use HTTP hyperlinks to download a resource of content-type &amp;lt;code&amp;gt;application/x-icq&amp;lt;/code&amp;gt; which then the operating system opens with the user's ICQ client.&lt;br /&gt;
&lt;br /&gt;
Thus we can markup those HTTP hyperlinks with the content-type set explicitly to communicate the ICQ semantic:&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;url&amp;quot;&lt;br /&gt;
   type=&amp;quot;application/x-icq&amp;quot; &lt;br /&gt;
   href=&amp;quot;http://www.icq.com/people/cmd.php?uin=[ICQNUMBER]&amp;amp;amp;action=message&amp;quot;&amp;gt;&lt;br /&gt;
 Contact with ICQ&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replacing [ICQNUMBER] with the user's actual ICQ number.&lt;br /&gt;
&lt;br /&gt;
=== Site profiles ===&lt;br /&gt;
Bloggers often indicate their identity on content hosting services using the URL to their home page, feed or profile on those services.  By labeling them as URL properties, these additional facets of identity can be published in an hCard as well.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
==== listing your other profiles ====&lt;br /&gt;
The most common case of sites listing other profiles is a blogger listing their own other profiles, or a site enabling a user to list on his or her profile on that site, links to his or her other profiles.  Since clearly the author/user is indicating that all those profiles mean the same person, it's best to mark them up with [[XFN]]'s &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; for explicit identity consolidation, e.g. if those links were on Tantek's blog or other social network profile:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://del.icio.us delicious]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://del.icio.us/rbach&amp;quot;&amp;amp;gt;Robert Bachmann's links&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;my [http://flickr.com Flickr]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[http://technorati.com/ Technorati]:&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;my &amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url&amp;quot; href=&amp;quot;http://technorati.com/profile/tantek/&amp;quot;&amp;amp;gt;Technorati profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add more here...&lt;br /&gt;
** ....&lt;br /&gt;
&lt;br /&gt;
Such explicit user-driven identity consolidation is also a key building block for [[social-network-portability]] that is further explained in the context of [[hcard-xfn-supporting-friends-lists]].&lt;br /&gt;
&lt;br /&gt;
=== Canonical Profiles on Sites ===&lt;br /&gt;
Sites sometimes have different pages for the &amp;quot;home&amp;quot; page for a person, and that person's user profile page.&lt;br /&gt;
&lt;br /&gt;
For example Flickr has:&lt;br /&gt;
* your home page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/photos/&amp;lt;/code&amp;gt; followed by your username, e.g.: &lt;br /&gt;
** http://flickr.com/photos/tantek/&lt;br /&gt;
* your profile page is at a URL like: &amp;lt;code&amp;gt;http://flickr.com/people/&amp;lt;/code&amp;gt; followed by your username, e.g.:&lt;br /&gt;
** http://flickr.com/people/tantek/&lt;br /&gt;
&lt;br /&gt;
In addition, sites often have a &amp;lt;em&amp;gt;canonical&amp;lt;/em&amp;gt; URL for a person, and several alternate URLs.&lt;br /&gt;
&lt;br /&gt;
As noted above, links to these URLs inside hCards that represent those people should have classname &amp;quot;url&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In addition, such link(s) in hCards to the canonical URL for a person on that site should also have the classname of &amp;quot;uid&amp;quot;.  This technique was proposed Ryan King at the first [[events/2007-08-28-social-network-portability-today|Social Network Portability Today lunchtime meetup]]. &lt;br /&gt;
&lt;br /&gt;
Building on the example(s) from the previous section:&lt;br /&gt;
* [http://flickr.com Flickr]:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://flickr.com/photos/tantek/&amp;quot;&amp;amp;gt;See my photos&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;me&amp;quot; class=&amp;quot;url uid&amp;quot; href=&amp;quot;http://flickr.com/people/tantek/&amp;quot;&amp;amp;gt;Flickr profile&amp;amp;lt;/a&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Such a &amp;quot;url&amp;quot; + &amp;quot;uid&amp;quot; property could also be used by a site as that person's [[OpenID]] URL.&lt;br /&gt;
&lt;br /&gt;
This work has been developed into [[representative-hcard|representative hCards]]. Go there for the latest on this line of thinking.&lt;br /&gt;
&lt;br /&gt;
=== Organizations and Departments ===&lt;br /&gt;
&lt;br /&gt;
Departments are marked up using the &amp;quot;organization-unit&amp;quot; class name inside the &amp;quot;org&amp;quot; element, with the &amp;quot;organization-name&amp;quot; specifically marked up to distinguish it from the department:&lt;br /&gt;
&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;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt; &lt;br /&gt;
  &amp;lt;div class=&amp;quot;organization-unit&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
The department may also be part of the address, in which case, you may want to explicitly mark it up as the &amp;quot;extended-address&amp;quot; in addition to the &amp;quot;organization-unit&amp;quot;.&lt;br /&gt;
&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;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;org fn&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-name&amp;quot;&amp;gt;Sprinkler Fitters U.A. Local 483&amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;organization-unit extended-address&amp;quot;&amp;gt;Apprenticeship Training Center&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;2531 Barrington Court&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Hayward&amp;lt;/span&amp;gt;, &lt;br /&gt;
  &amp;lt;abbr title=&amp;quot;California&amp;quot; class=&amp;quot;region&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94545&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&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;
Note that by nesting the org inside the address we avoided having to duplicate the department name.&lt;br /&gt;
&lt;br /&gt;
=== Lists of Organizations ===&lt;br /&gt;
Similar to [[hcard-examples#References_to_People_in_Blogrolls|lists of people]], lists of organizations (e.g. music bands) should use a list (unordered unless there is a specific reason to order it) with list items and hyperlink to the respective organization home pages.&lt;br /&gt;
&lt;br /&gt;
E.g. this simple [[POSH]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  &amp;lt;a href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (W3C)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
can be easily enhanced with hCard:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://microformats.org/&amp;quot;&amp;gt;microformats.org&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://technorati.com/&amp;quot;&amp;gt;Technorati&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.w3.org/&amp;quot;&amp;gt;World Wide Web Consortium&amp;lt;/a&amp;gt;&lt;br /&gt;
  (&amp;lt;span class=&amp;quot;nickname&amp;quot;&amp;gt;W3C&amp;lt;/span&amp;gt;)&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;nowiki&amp;gt;RFC 2426&amp;lt;/nowiki&amp;gt; examples in hCard ==&lt;br /&gt;
See: [[hcard-examples-rfc2426]]&lt;br /&gt;
&lt;br /&gt;
== Test Cases ==&lt;br /&gt;
&lt;br /&gt;
These are [[hcard|hCard]] examples which have been found to be particularly useful in finding bugs in hCard parsers (e.g. X2V).&lt;br /&gt;
&lt;br /&gt;
=== Problem with BDAY Information ===&lt;br /&gt;
&lt;br /&gt;
this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;!-- birthday --&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;bday&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Birthday&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&lt;br /&gt;
        &amp;lt;abbr class=&amp;quot;value&amp;quot; title=&amp;quot;1985-10-27T00:00:00Z&amp;quot;&amp;gt;October 27, 1985&amp;lt;/abbr&amp;gt;&lt;br /&gt;
    &amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ought to produce &amp;quot;BDAY:1985-10-27T00:00:00Z&amp;quot; but it produces &amp;quot;BDAY:Birthday October 27\, 1985&amp;quot; [in what? this statement appears meaningless]. interesting is that the apple addressbook is still willing to accept it in this way.&lt;br /&gt;
&lt;br /&gt;
* Perhaps caused by an HTML parsing error, as &amp;lt;code&amp;gt;&amp;amp;lt;dt&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;lt;dd&amp;gt;&amp;lt;/code&amp;gt; are not allowed as children of &amp;lt;code&amp;gt;&amp;amp;lt;div&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== case-INSENSITIVITY of type values ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;home&amp;quot; vs. &amp;quot;Home&amp;quot;&lt;br /&gt;
&lt;br /&gt;
this example works with X2V:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this does not, but should. but instead it becomes just TEL without a type in the vcard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;dt&amp;gt;Phone (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;)&amp;lt;/dt&amp;gt;&lt;br /&gt;
    &amp;lt;dd&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+438123418&amp;lt;/span&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEO parsing ===&lt;br /&gt;
The following hCard:&lt;br /&gt;
&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;span class=&amp;quot;fn n&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://t37.net&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;span class=&amp;quot;given-name&amp;quot;&amp;gt;Fréderic&amp;lt;/span&amp;gt; &lt;br /&gt;
       &amp;lt;span class=&amp;quot;family-name&amp;quot;&amp;gt;de Villamil&amp;lt;/span&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;nickname&amp;quot;&amp;gt;neuro&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:neuroNOSPAM@t37.net&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;erred email&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Omatis&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;dom&amp;quot;&amp;gt;France&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt; address&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;postal&amp;quot;&amp;gt;mail&amp;lt;/abbr&amp;gt; and&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;parcel&amp;quot;&amp;gt;shipments&amp;lt;/abbr&amp;gt;:&lt;br /&gt;
     &amp;lt;span class=&amp;quot;street-address&amp;quot;&amp;gt;12 rue Danton&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Le Kremlin-Bicetre&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94270&amp;lt;/span&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;France&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;geo&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;latitude&amp;quot; title=&amp;quot;48.816667&amp;quot;&amp;gt;N 48° 81.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
     &amp;lt;abbr class=&amp;quot;longitude&amp;quot; title=&amp;quot;2.366667&amp;quot;&amp;gt;E 2° 36.6667&amp;lt;/abbr&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be translated into the following vCard:&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;
URL:http://t37.net&lt;br /&gt;
ORG:Omatis;;&lt;br /&gt;
NICKNAME:neuro&lt;br /&gt;
FN:Fréderic de Villamil&lt;br /&gt;
N:de Villamil;Frederic;;Mr.;&lt;br /&gt;
EMAIL;TYPE=INTERNET,PREF:neuroNOSPAM@t37.net&lt;br /&gt;
ADR;TYPE=HOME:;;12 rue danton;le Kremlin-Bicetre;;94270;France&lt;br /&gt;
GEO:48.816667;2.366667&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
X2V currently (2005-12-18) fails to parse/export the GEO property at all.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[hcard-examples-issues]]&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
* [[hcard-zh|漢語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42726</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42726"/>
		<updated>2010-06-24T07:51:24Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Related Pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== 文章 ==&lt;br /&gt;
這一節的&amp;lt;strong&amp;gt;資訊很有用&amp;lt;/strong&amp;gt;，&amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;進一步閱讀&amp;lt;/span&amp;gt;hCard的文章見[[hcard-articles]]。&lt;br /&gt;
&lt;br /&gt;
==按鈕==&lt;br /&gt;
你可以在網頁上用hCards來使用這些按鈕，見[[buttons#hCard|hCard按鈕]]有最近增加的資料。&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS很有威力的按鈕，在[http://re-run.com/about/microformat-badges microformat badges @ re-run]這裡可以證明&lt;br /&gt;
&lt;br /&gt;
== 版權 ==&lt;br /&gt;
每個公有領域的發表在作者的使用者頁面上([[User:Tantek|Tantek Çelik]]、[[User:Brian|Brian Suda]]) 這個規格發表在公有領域中。&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== 專利權 ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== 參考 ==&lt;br /&gt;
=== 引用標準 ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* 電話號碼的[http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123]格式(收費文件)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== 參考性文獻 ===&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
* [[hcard-history|hCard歷史]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard 2004-09-30網站上的hCard名詞的介紹跟定義]&lt;br /&gt;
** http://developers.technorati.com/wiki/hCard 2005-06-20的貢獻&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard是指ROLE作為&amp;quot;X.520業務分類屬性說明的基礎&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 RFC2426的HTML格式化版本]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== 使用hCard的規格 ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== 類似的工作 ====&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== 啟發靈感的人和感謝 ==&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
感謝: 我的好友[http://vadim.com/ Vadim]他在''很多''年前介紹給我vCard，假如我當時只是注意更多點，或許我可以幫助更多人避免浪費更多的時間在重塑各種標準的巨輪。&lt;br /&gt;
&lt;br /&gt;
== 注意vCard的延伸 ==&lt;br /&gt;
這一節是''很有知識的''。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;見：[[hcard-design-methodology]]。&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多語義上相同的事物 ===&lt;br /&gt;
對有些屬性來說會有更適合且更能傳達他們的語義的HTML元素，下面的屬性應該用下面的HTML來編碼：&lt;br /&gt;
* vCard的&amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt;變成在hCard裡用&amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt;的元素裡的&amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
* 同樣地，vCard的&amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt;變成&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* vCard的&amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt;變成&amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; 或是&amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* vCard的&amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt;簡單地變成另一個語義應用到hCard的一個特定的URL (或EMAIL)。&lt;br /&gt;
&lt;br /&gt;
=== 單一和多數的延伸 ===&lt;br /&gt;
[[hcard-zh#Singular_vs._Plural_Properties|單一和多重屬性列表]]裡有藉著分析vCard RFC2426裡單一屬性的語義和邏輯地確定他們的每一個語義必須是單一的延伸，見[[hcard-singular-properties]]有更多說明。&lt;br /&gt;
&lt;br /&gt;
==== 多重屬性單一化 ====&lt;br /&gt;
由於多重屬性名稱變成他們單一的相等物，即使原始的多重性只允許多重組件有一單一的值，那些多重組件用他們自己的單一名稱的屬性來表現，這個屬性是多重值屬性的跟上述多重值屬性的處理主題。&lt;br /&gt;
&lt;br /&gt;
== 相關的網頁 ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42725</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42725"/>
		<updated>2010-06-24T07:50:34Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Notes on derivation from vCard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== 文章 ==&lt;br /&gt;
這一節的&amp;lt;strong&amp;gt;資訊很有用&amp;lt;/strong&amp;gt;，&amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;進一步閱讀&amp;lt;/span&amp;gt;hCard的文章見[[hcard-articles]]。&lt;br /&gt;
&lt;br /&gt;
==按鈕==&lt;br /&gt;
你可以在網頁上用hCards來使用這些按鈕，見[[buttons#hCard|hCard按鈕]]有最近增加的資料。&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS很有威力的按鈕，在[http://re-run.com/about/microformat-badges microformat badges @ re-run]這裡可以證明&lt;br /&gt;
&lt;br /&gt;
== 版權 ==&lt;br /&gt;
每個公有領域的發表在作者的使用者頁面上([[User:Tantek|Tantek Çelik]]、[[User:Brian|Brian Suda]]) 這個規格發表在公有領域中。&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== 專利權 ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== 參考 ==&lt;br /&gt;
=== 引用標準 ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* 電話號碼的[http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123]格式(收費文件)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== 參考性文獻 ===&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
* [[hcard-history|hCard歷史]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard 2004-09-30網站上的hCard名詞的介紹跟定義]&lt;br /&gt;
** http://developers.technorati.com/wiki/hCard 2005-06-20的貢獻&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard是指ROLE作為&amp;quot;X.520業務分類屬性說明的基礎&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 RFC2426的HTML格式化版本]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== 使用hCard的規格 ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== 類似的工作 ====&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== 啟發靈感的人和感謝 ==&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
感謝: 我的好友[http://vadim.com/ Vadim]他在''很多''年前介紹給我vCard，假如我當時只是注意更多點，或許我可以幫助更多人避免浪費更多的時間在重塑各種標準的巨輪。&lt;br /&gt;
&lt;br /&gt;
== 注意vCard的延伸 ==&lt;br /&gt;
這一節是''很有知識的''。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;見：[[hcard-design-methodology]]。&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多語義上相同的事物 ===&lt;br /&gt;
對有些屬性來說會有更適合且更能傳達他們的語義的HTML元素，下面的屬性應該用下面的HTML來編碼：&lt;br /&gt;
* vCard的&amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt;變成在hCard裡用&amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt;的元素裡的&amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
* 同樣地，vCard的&amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt;變成&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* vCard的&amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt;變成&amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; 或是&amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* vCard的&amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt;簡單地變成另一個語義應用到hCard的一個特定的URL (或EMAIL)。&lt;br /&gt;
&lt;br /&gt;
=== 單一和多數的延伸 ===&lt;br /&gt;
[[hcard-zh#Singular_vs._Plural_Properties|單一和多重屬性列表]]裡有藉著分析vCard RFC2426裡單一屬性的語義和邏輯地確定他們的每一個語義必須是單一的延伸，見[[hcard-singular-properties]]有更多說明。&lt;br /&gt;
&lt;br /&gt;
==== 多重屬性單一化 ====&lt;br /&gt;
由於多重屬性名稱變成他們單一的相等物，即使原始的多重性只允許多重組件有一單一的值，那些多重組件用他們自己的單一名稱的屬性來表現，這個屬性是多重值屬性的跟上述多重值屬性的處理主題。&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42724</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42724"/>
		<updated>2010-06-24T07:22:49Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Inspiration and Acknowledgments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== 文章 ==&lt;br /&gt;
這一節的&amp;lt;strong&amp;gt;資訊很有用&amp;lt;/strong&amp;gt;，&amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;進一步閱讀&amp;lt;/span&amp;gt;hCard的文章見[[hcard-articles]]。&lt;br /&gt;
&lt;br /&gt;
==按鈕==&lt;br /&gt;
你可以在網頁上用hCards來使用這些按鈕，見[[buttons#hCard|hCard按鈕]]有最近增加的資料。&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS很有威力的按鈕，在[http://re-run.com/about/microformat-badges microformat badges @ re-run]這裡可以證明&lt;br /&gt;
&lt;br /&gt;
== 版權 ==&lt;br /&gt;
每個公有領域的發表在作者的使用者頁面上([[User:Tantek|Tantek Çelik]]、[[User:Brian|Brian Suda]]) 這個規格發表在公有領域中。&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== 專利權 ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== 參考 ==&lt;br /&gt;
=== 引用標準 ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* 電話號碼的[http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123]格式(收費文件)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== 參考性文獻 ===&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
* [[hcard-history|hCard歷史]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard 2004-09-30網站上的hCard名詞的介紹跟定義]&lt;br /&gt;
** http://developers.technorati.com/wiki/hCard 2005-06-20的貢獻&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard是指ROLE作為&amp;quot;X.520業務分類屬性說明的基礎&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 RFC2426的HTML格式化版本]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== 使用hCard的規格 ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== 類似的工作 ====&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== 啟發靈感的人和感謝 ==&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
感謝: 我的好友[http://vadim.com/ Vadim]他在''很多''年前介紹給我vCard，假如我當時只是注意更多點，或許我可以幫助更多人避免浪費更多的時間在重塑各種標準的巨輪。&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42723</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42723"/>
		<updated>2010-06-24T07:16:47Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== 文章 ==&lt;br /&gt;
這一節的&amp;lt;strong&amp;gt;資訊很有用&amp;lt;/strong&amp;gt;，&amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;進一步閱讀&amp;lt;/span&amp;gt;hCard的文章見[[hcard-articles]]。&lt;br /&gt;
&lt;br /&gt;
==按鈕==&lt;br /&gt;
你可以在網頁上用hCards來使用這些按鈕，見[[buttons#hCard|hCard按鈕]]有最近增加的資料。&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS很有威力的按鈕，在[http://re-run.com/about/microformat-badges microformat badges @ re-run]這裡可以證明&lt;br /&gt;
&lt;br /&gt;
== 版權 ==&lt;br /&gt;
每個公有領域的發表在作者的使用者頁面上([[User:Tantek|Tantek Çelik]]、[[User:Brian|Brian Suda]]) 這個規格發表在公有領域中。&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== 專利權 ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== 參考 ==&lt;br /&gt;
=== 引用標準 ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* 電話號碼的[http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123]格式(收費文件)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== 參考性文獻 ===&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
* [[hcard-history|hCard歷史]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard 2004-09-30網站上的hCard名詞的介紹跟定義]&lt;br /&gt;
** http://developers.technorati.com/wiki/hCard 2005-06-20的貢獻&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard是指ROLE作為&amp;quot;X.520業務分類屬性說明的基礎&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 RFC2426的HTML格式化版本]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== 使用hCard的規格 ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== 類似的工作 ====&lt;br /&gt;
這一節是'''很有知識的'''。&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42722</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42722"/>
		<updated>2010-06-24T06:18:07Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Patents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== 文章 ==&lt;br /&gt;
這一節的&amp;lt;strong&amp;gt;資訊很有用&amp;lt;/strong&amp;gt;，&amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;進一步閱讀&amp;lt;/span&amp;gt;hCard的文章見[[hcard-articles]]。&lt;br /&gt;
&lt;br /&gt;
==按鈕==&lt;br /&gt;
你可以在網頁上用hCards來使用這些按鈕，見[[buttons#hCard|hCard按鈕]]有最近增加的資料。&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS很有威力的按鈕，在[http://re-run.com/about/microformat-badges microformat badges @ re-run]這裡可以證明&lt;br /&gt;
&lt;br /&gt;
== 版權 ==&lt;br /&gt;
每個公有領域的發表在作者的使用者頁面上([[User:Tantek|Tantek Çelik]]、[[User:Brian|Brian Suda]]) 這個規格發表在公有領域中。&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== 專利權 ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=Main_Page-zh&amp;diff=42721</id>
		<title>Main Page-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=Main_Page-zh&amp;diff=42721"/>
		<updated>2010-06-24T06:15:20Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* 详细规格 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;欢迎来到微格式维基！&lt;br /&gt;
&lt;br /&gt;
在您编辑任何内容之前，请先阅读[[introduction-zh|微格式介绍]]页面中的[[how-to-play-zh|如何参与]]段落。&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
==起步指南==&lt;br /&gt;
&lt;br /&gt;
* 首先，请阅读并了解[http://microformats.org/wiki/posh-zh &amp;lt;abbr title=&amp;quot;Plain Old Semantic HTML&amp;quot;&amp;gt;POSH&amp;lt;/abbr&amp;gt;]的含义。&lt;br /&gt;
* 参阅[http://microformats.org/about/ 关于]、[http://microformats.org/ 新闻], 以及最近的 [[press|报道]]、[[presentations|演讲]]、[[books|书籍]]、[[podcasts|播客]]、和 [[screencasts|电视]].&lt;br /&gt;
* 如有疑问，请参考 [[faq-zh|常见问题]] 或在 [[glossary-zh|语汇]] 查找新的词汇用法. &lt;br /&gt;
* 想亲自体验并学习微格式相关知识，请查阅 [[events|事件]].&lt;br /&gt;
&lt;br /&gt;
==定义==&lt;br /&gt;
微格式的一个简单定义出自[http://microformats.org/discuss/ 邮件列表] (参见: [[mailing-lists|邮件列表]])。微格式被定义为“为实现分散化开发而定制的简单的HTML语义嵌入规范”。微格式更准确的定义是：&lt;br /&gt;
:为实现嵌入语义标记&lt;br /&gt;
::以及某一专门问题范围所开发的&lt;br /&gt;
:以可读的(X)HTML/XML文件、Atom/RSS推送、以及简单XML形式展示，&lt;br /&gt;
::规范现有的内容使用模式，&lt;br /&gt;
::通过简短、描述性的“类”名，&lt;br /&gt;
::通常基于现有可协作标准&lt;br /&gt;
:来实现&lt;br /&gt;
::资源、工具以及服务的&lt;br /&gt;
:分散化开发的&lt;br /&gt;
:一系列简单的规范&lt;br /&gt;
&lt;br /&gt;
“你的浏览器只用来浏览网页？简直太‘20世纪’了。” -- [http://diveintomark.org Mark Pilgrim]&lt;br /&gt;
&lt;br /&gt;
更多关于微格式的内容： [[what-are-microformats-zh|微格式是什么]]、 [[what-can-you-do-with-microformats-zh|微格式有什么用途]].&lt;br /&gt;
&lt;br /&gt;
== 如何做出贡献 ==&lt;br /&gt;
&lt;br /&gt;
您想帮助微格式更上一层楼吗？您可以：&lt;br /&gt;
&lt;br /&gt;
* [[advocacy-zh|倡议]]使用微格式。&lt;br /&gt;
* 写一封[[testimonial-zh|表扬信]]。&lt;br /&gt;
* 从[[to-do-zh|待完成工作列表]]选择一些工作来做。&lt;br /&gt;
* 加入[http://microformats.org/discuss 邮件列表]以及[[irc|网络中继聊天]]学习微格式的相关知识并解答他人问题。&lt;br /&gt;
* [[Main_Page-zh#microformats_wiki_translations_in_other_languages|翻译微格式维基]]是世界各地的用户都能分享微格式维基的内容。&lt;br /&gt;
* 寻找 [[orphans-zh|孤立]] 的页面， 添加指向他们的链接。&lt;br /&gt;
* 在提出新的微格式之前，请确保您的网站使用 [[POSH]] 且充分利用现有微格式规范， 并阅读[[process-zh|流程]].&lt;br /&gt;
&lt;br /&gt;
== 详细规格 ==&lt;br /&gt;
[[microformats-zh|微格式]]开放标准规格(参见: [[implementations-zh|实现]],[[examples-in-the-wild-zh|实例]])&lt;br /&gt;
* [[hcalendar|hCalendar]] - [http://microformats.org/code/hcalendar/creator hcalendar 编写器]&lt;br /&gt;
* [[hcard-zh|hCard]] - [http://microformats.org/code/hcard/creator hcard 编写器]&lt;br /&gt;
* [[rel-license]]&lt;br /&gt;
* [[rel-nofollow]]&lt;br /&gt;
* [[rel-tag]]&lt;br /&gt;
* [[vote-links|VoteLinks]]&lt;br /&gt;
* [http://gmpg.org/xfn/ XFN] (see also: [[xfn-implementations]])&lt;br /&gt;
* [http://gmpg.org/xmdp/ XMDP]&lt;br /&gt;
* [[xoxo|XOXO]]&lt;br /&gt;
&lt;br /&gt;
== 草案 ==&lt;br /&gt;
* [[adr|adr]]&lt;br /&gt;
* [[geo|geo]]&lt;br /&gt;
* [[hatom|hAtom]]&lt;br /&gt;
* [[hresume|hResume]]&lt;br /&gt;
* [[hreview|hReview]] - [http://microformats.org/code/hreview/creator hreview creator]&lt;br /&gt;
* [[rel-directory]]&lt;br /&gt;
* [[rel-enclosure]]&lt;br /&gt;
* [[rel-home]]&lt;br /&gt;
* [[rel-payment]]&lt;br /&gt;
* [[robots-exclusion|Robots Exclusion]]&lt;br /&gt;
* [[xfolk|xFolk]]&lt;br /&gt;
&lt;br /&gt;
== 设计模式 ==&lt;br /&gt;
&lt;br /&gt;
{{design_patterns-zh}} &amp;lt;!-- this can be edited in /wiki/Template:design_patterns-zh --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 拓展讨论 ==&lt;br /&gt;
根据微格式[[process|流程]]:现实[[examples|范例]]的研究与分析、现有格式以及推动微格式发展的“脑力激荡”。请在添加新格式前查阅[[rejected-formats|遭拒绝的格式]]。&lt;br /&gt;
&lt;br /&gt;
* alternates [[alternates-brainstorming|alternates brainstorming]], [[alternates-examples|alternates examples]]&lt;br /&gt;
*[[attention]]&lt;br /&gt;
* audio-info ([[audio-info-examples|examples]], [[audio-info-formats|formats]], [[audio-info-brainstorming|brainstorming]], [[audio-info-proposal|proposal]]) - Marking up information and metadata related to audio (speech, music, and sound in general). {{NewMarker}}&lt;br /&gt;
* blog description [[blog-description-examples|blog description examples]]&lt;br /&gt;
* blog info [[blog-info-examples|blog info examples]]&lt;br /&gt;
* blog post [[blog-post-examples|examples]], [[blog-post-formats|blog post formats]], and [[blog-post-brainstorming|blog post brainstorming]] (yielded the [[hatom|hAtom]] draft)&lt;br /&gt;
* book [[book-examples|book examples]], [[book-formats|book formats]], and [[book-brainstorming|book brainstorming]]&lt;br /&gt;
* chat [[chat-examples|chat examples]], [[chat-formats|chat formats]], and [[chat-brainstorming|chat brainstorming]]&lt;br /&gt;
* citation [[citation|citation effort]], [[citation-examples|citation examples]], [[citation-formats|citation formats]], [[citation-brainstorming|citation brainstorming]], and [[citation-faq|citation FAQ]]&lt;br /&gt;
* code [[code-examples| code examples]], [[code-brainstorming|code brainstorming]] {{NewMarker}}&lt;br /&gt;
* comment [[comment-problem|comment problem]], [[comment-examples|comment examples]], and [[comments-formats|comment formats]] (Some stuff needs to be extracted from [[comments-formats]])&lt;br /&gt;
* [[collection-description|collection description]] - for describing collections in libraries {{NewMarker}}&lt;br /&gt;
* [[course-catalog]]; [[course-catalog-examples]] {{NewMarker}}&lt;br /&gt;
* [[currency]]; [[currency-examples]]; [[currency-brainstorming]]; [[currency-proposal]]; [[currency-issues]]&lt;br /&gt;
* [[depend-examples]]: examples of dependency graphs, especially as they relate to software {{NewMarker}}&lt;br /&gt;
* [[digital-signatures]]: incorporation of digital signatures in Microformatted data; ([[digitalsignature-examples|digital-signature examples]], [[digitalsignature-brainstorming|digital-signatures brainstorming]]) {{NewMarker}}&lt;br /&gt;
* directions [[directions-examples|directions examples]] {{NewMarker}}&lt;br /&gt;
* directory inclusion [[directory-inclusion-examples|directory inclusion examples]], [[directory-inclusion-formats|directory inclusion formats]]. (see also [[rel-directory]])&lt;br /&gt;
* distributed conversation [[distributed-conversation|distributed conversation overview]], [[distributed-conversation-brainstorming|distributed conversation brainstorming]], [[distributed-conversation-examples|distributed conversation examples]], and [[distributed-conversation-formats|distributed conversation formats]]&lt;br /&gt;
* error messages [[error-message-examples|error message examples]], [[error-message-brainstorming|error message brainstorming]]&lt;br /&gt;
* forms [[forms-examples|forms examples]]&lt;br /&gt;
* file-format ([[file-format-examples|examples]], formats, brainstorming) - for the mark-up of file format information (size, type, codecs, bitrate, etc.) {{NewMarker}}&lt;br /&gt;
* genealogy [[genealogy-formats|genealogy exploration]]&lt;br /&gt;
* geo extensions&lt;br /&gt;
** [[geo-extension-strawman]] - extend geo for moons, other planets, etc.&lt;br /&gt;
** [[geo-elevation-examples]] - extend geo for representing altitude {{NewMarker}}&lt;br /&gt;
** [[geo-waypoint-examples]] - extend geo for representing routes and boundaries, using waypoints {{NewMarker}}&lt;br /&gt;
* group [[group-brainstorming|group brainstorming]] and [[group-examples|group examples]]&lt;br /&gt;
* grouping ([[grouping-examples|examples]], [[grouping-formats|formats]], [[grouping-brainstorming|brainstorming]], [[grouping-proposal|proposal]]) - Metadata markup of items that should be grouped together. {{NewMarker}}&lt;br /&gt;
* items [[items-brainstorming|items brainstorming]] and [[items-examples|items examples]]&lt;br /&gt;
* hash [[hash-examples|hash examples]]&lt;br /&gt;
* job listing [[job-listing-examples|job listing examples]] and [[job-listing-brainstorming|job listing brainstorming]]&lt;br /&gt;
* last modified [[last-modified-examples|last modified examples]], [[last-modified-formats|last modified formats]], and [[last-modified-brainstorming|last modified brainstorming]]&lt;br /&gt;
* hListing [[hlisting-proposal|hListing proposal]], and [[hlisting-feedback|hListing feedback]] &lt;br /&gt;
** Also, listing [[listing-examples|examples]], [[listing-formats|formats]], and [[listing-brainstorming|brainstorming]]&lt;br /&gt;
* [[product|hProduct]] - [[product-brainstorming|hProduct brainstorming]] | [[product-examples|hProduct examples]]&lt;br /&gt;
* [[htodo|hToDo]]&lt;br /&gt;
* location [[location-formats|location formats]]. (see also [[adr]] and [[geo]])&lt;br /&gt;
* measures and measurement units [[measure]]&lt;br /&gt;
* [[media-info]] ([[media-info-examples|media-info examples]], [[media-info-formats|media-info formats]], [[media-info-brainstorming|media-info brainstorming]]) {{UpdateMarker}}&lt;br /&gt;
* meeting minutes [[meeting-minutes-examples|meeting minutes examples]], [[meeting-minutes-formats|meeting minutes formats]], and [[meeting-minutes-brainstorming|meeting minutes brainstorming]]&lt;br /&gt;
* metalink [[metalink-examples|metalink examples]] {{NewMarker}}&lt;br /&gt;
* microsummary [[microsummary-brainstorming|microsummary brainstorming]]&lt;br /&gt;
* [[mfo-examples|MFO examples]]&lt;br /&gt;
* music [[music-examples|music examples]] {{UpdateMarker}}&lt;br /&gt;
* news [[news-examples|news examples]] {{NewMarker}}&lt;br /&gt;
* [[operating-hours]]: [[operating-hours-examples]] ..of stores, restaurants, etc. {{UpdateMarker}}&lt;br /&gt;
* [[payment]]&lt;br /&gt;
* photo note [[photo-note-examples|photo note examples]]&lt;br /&gt;
*[[question-answer]], [[question-answer-brainstorming]]; [[question-answer-examples]] {{NewMarker}}&lt;br /&gt;
* receipt ([[receipt-examples|examples]], [[receipt-formats|formats]], [[receipt-brainstorming|brainstorming]], [[receipt-proposal|proposal]]) - Marking up information and metadata related to purchase receipts. {{NewMarker}}&lt;br /&gt;
* recipe [[recipe-examples|recipe examples]], [[recipe-brainstorming]] {{UpdateMarker}}&lt;br /&gt;
* rel-product [[rel-product-brainstorming|rel-product brainstorming]]&lt;br /&gt;
* requirements testing [[requirements-testing|requirements testing overview]], and [[requirements-testing-examples|requirements testing examples]]&lt;br /&gt;
* [[rest-examples|REST examples]]&lt;br /&gt;
* resume [[resume-brainstorming|resume brainstorming]], and [[resume-formats|resume formats]]&lt;br /&gt;
* review [[review-examples|review examples]], and [[review-formats|review formats]] (yielded the [[hreview|hReview]] draft)&lt;br /&gt;
* search results [[search-results-example|search results example]]&lt;br /&gt;
* show [[show-brainstorming|show brainstorming]]&lt;br /&gt;
* showroll [[showroll-brainstorming|brainstorming]]&lt;br /&gt;
* [[species]] - for the marking up of the scientific names of living things: [[species-examples]]; [[species-brainstorming]] {{UpdateMarker}}&lt;br /&gt;
* table [[table-examples|examples]]&lt;br /&gt;
* tagspeak [[tagspeak-examples|tagspeak examples]]&lt;br /&gt;
* tagcloud [[tagcloud-examples|tagcloud examples]], and [[tagcloud-brainstorming|tagcloud  brainstorming]].&lt;br /&gt;
* transit table [[transit-table-examples|transit table examples]]&lt;br /&gt;
* [[uid]]&lt;br /&gt;
* widget [[widget-examples|widget examples]], and [[widget-brainstorming|widget brainstorming]]&lt;br /&gt;
* [[wiki-formats|wiki formats]]&lt;br /&gt;
* work of art [[work-of-art|work of art overview]], [[workofart-examples|work of art examples]], [[workofart-formats|work of art formats]], and [[workofart-brainstorming|work of art brainstorming]] &lt;br /&gt;
*[[xmdp-brainstorming|XMDP brainstorming]] (see also [[xmdp-faq]])&lt;br /&gt;
*[[realestate-propertydetail|realestate-propertydetail brainstorming]]&lt;br /&gt;
&lt;br /&gt;
== 范例 ==&lt;br /&gt;
* [[examples-in-the-wild-zh|外部范例]]&lt;br /&gt;
* [[implementations|实现]]&lt;br /&gt;
* [[zen-garden|禅院]]&lt;br /&gt;
&lt;br /&gt;
== 工具、测试案例及其他研究 ==&lt;br /&gt;
&lt;br /&gt;
建议您从各个微格式页面中寻找所需的范例、代码以及测试实例。目前仅有少数几个跨格式工具及服务需要处理多个微格式。本段落旨在为编辑器、解释器、验证器、测试实例以及其他关于适用于多个微格式的信息。&lt;br /&gt;
&lt;br /&gt;
*[[accessibility|可访问性]]&lt;br /&gt;
*[[faqs-for-rdf|RDF相关的常见问题]]&lt;br /&gt;
*[[icalendar-implementations|iCalendar实现]]&lt;br /&gt;
*[[internationalization|国际化]]&lt;br /&gt;
*[[parsing-microformats|解释微结构]]&lt;br /&gt;
*[[selected-test-cases-from-the-web|由网页选取测试样例]]&lt;br /&gt;
*[http://hg.microformats.org/ 源代码库] -- [[mercurial-quick-start|如何从库中下载]]&lt;br /&gt;
*[[vcard-implementations|vCard实现]], [[vcard-errata|vCard勘误]], [[vcard-suggestions|vCard建议]]&lt;br /&gt;
*[[why-are-content-standards-hard|内容标准为什么严格]]&lt;br /&gt;
*[[profile-examples-in-wild|外部档案范例]]&lt;br /&gt;
&lt;br /&gt;
== 资源 ==&lt;br /&gt;
* [[events|事件]]&lt;br /&gt;
* [[cheatsheets|小抄]]有助于快速查找个别微格式的规则。&lt;br /&gt;
* [[spread-microformats|推广微格式]]&lt;br /&gt;
* [[buttons|按钮]]&lt;br /&gt;
* [[icons|图标]]&lt;br /&gt;
* [[demo|演示]]--一个包含微格式实际工作演示链接的页面。&lt;br /&gt;
* [[semacode|Semacode]]&lt;br /&gt;
* [[jobs|工作]]&lt;br /&gt;
* [[user-interface|用户界面]]&lt;br /&gt;
* 通往名称较长的维基项目的[[shortcuts|捷径]]&lt;br /&gt;
* [http://microformats.org/wiki/delete 标记为删除的项目] &amp;lt;!-- keep as external link; removes from what links here&amp;quot; --&amp;gt;&lt;br /&gt;
* [[spellcheck|拼写检查字典]]&lt;br /&gt;
&lt;br /&gt;
== 公用工作区 ==&lt;br /&gt;
* [[to-do|待完成工作]]&lt;br /&gt;
* [[microformats-issues|微格式问题]] -- 关系到不止一个微格式的问题。&lt;br /&gt;
* [[external-issues|外部问题]]&lt;br /&gt;
&lt;br /&gt;
== 其他语言版本的微格式维基 ==&lt;br /&gt;
除了中文外，您还可以阅读和编辑这些语言撰写的微格式维基：&lt;br /&gt;
&lt;br /&gt;
* 超过100篇文章的微格式维基语言版本：&lt;br /&gt;
** [[Main_Page|英语]] {{UpdateMarker}}&lt;br /&gt;
** [[Main_Page-fr|法语]] &amp;lt;span lang=&amp;quot;fr&amp;quot;&amp;gt;{{UpdateMarker-fr}}&amp;lt;/span&amp;gt;&lt;br /&gt;
* 超过10篇文章的微格式维基语言版本：&lt;br /&gt;
** [[Main_Page-pt-br| 葡萄牙语]]&lt;br /&gt;
** [[Main_Page-ja|日语]]&lt;br /&gt;
* 超过2篇文章的微格式维基语言版本：&lt;br /&gt;
** [[Main_Page-es|西班牙语]]&lt;br /&gt;
** [[Main_Page-de|德语]]&lt;br /&gt;
** [[Main_Page-ro|罗马尼亚语]]&lt;br /&gt;
* 其他&lt;br /&gt;
**[http://en.wikipedia.org/wiki/Microformat 维基百科关于微格式的文章] 也有若干语言的翻译版本。&lt;br /&gt;
&lt;br /&gt;
参见[[other-languages|其他语言]]以及[[how-to-start-new-translation|如何新建翻译版本]]。&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42720</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42720"/>
		<updated>2010-06-24T06:11:25Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Copyright */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== 文章 ==&lt;br /&gt;
這一節的&amp;lt;strong&amp;gt;資訊很有用&amp;lt;/strong&amp;gt;，&amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;進一步閱讀&amp;lt;/span&amp;gt;hCard的文章見[[hcard-articles]]。&lt;br /&gt;
&lt;br /&gt;
==按鈕==&lt;br /&gt;
你可以在網頁上用hCards來使用這些按鈕，見[[buttons#hCard|hCard按鈕]]有最近增加的資料。&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS很有威力的按鈕，在[http://re-run.com/about/microformat-badges microformat badges @ re-run]這裡可以證明&lt;br /&gt;
&lt;br /&gt;
== 版權 ==&lt;br /&gt;
每個公有領域的發表在作者的使用者頁面上([[User:Tantek|Tantek Çelik]]、[[User:Brian|Brian Suda]]) 這個規格發表在公有領域中。&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42719</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42719"/>
		<updated>2010-06-24T06:07:17Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Buttons */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== 文章 ==&lt;br /&gt;
這一節的&amp;lt;strong&amp;gt;資訊很有用&amp;lt;/strong&amp;gt;，&amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;進一步閱讀&amp;lt;/span&amp;gt;hCard的文章見[[hcard-articles]]。&lt;br /&gt;
&lt;br /&gt;
==按鈕==&lt;br /&gt;
你可以在網頁上用hCards來使用這些按鈕，見[[buttons#hCard|hCard按鈕]]有最近增加的資料。&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS很有威力的按鈕，在[http://re-run.com/about/microformat-badges microformat badges @ re-run]這裡可以證明&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42718</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42718"/>
		<updated>2010-06-24T05:59:05Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Articles */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== 文章 ==&lt;br /&gt;
這一節的&amp;lt;strong&amp;gt;資訊很有用&amp;lt;/strong&amp;gt;，&amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;進一步閱讀&amp;lt;/span&amp;gt;hCard的文章見[[hcard-articles]]。&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42717</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42717"/>
		<updated>2010-06-24T03:54:33Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* Implementations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== 實作 ==&lt;br /&gt;
這一節的資訊是'''很有用的'''，有很多的hCard實作已經擴展到無法在這裡維護，他們的資訊已經移到[[hcard-implementations|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-implementations|hCard實作]]。&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42590</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42590"/>
		<updated>2010-05-18T09:30:46Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容用空格分成兩個&amp;quot;字&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
# &amp;quot;FN&amp;quot;的''第二個/最後一個''字被解譯為&amp;quot;N&amp;quot;特性的&amp;quot;家系名稱&amp;quot;。&lt;br /&gt;
# 例外：假如第一個字結尾是&amp;quot;,&amp;quot;逗號，那麼第一個字(扣掉結尾的逗號)會被解譯為&amp;quot;家系名稱&amp;quot;而第二個字被解譯為&amp;quot;給定名稱&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
這允許在人們敘述的典型案例中簡化：&lt;br /&gt;
* 給定名稱(空格)家系名稱&lt;br /&gt;
* 家系名稱(逗號)給定名稱&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;nickname&amp;quot;最佳化 ===&lt;br /&gt;
由於普遍的使用nicknames/handles/usernames在Web上發佈的實際內容(例如[[hReview|reviews]]的authors)，hCard也有隱藏的&amp;quot;nickname&amp;quot;最佳化要處理。&lt;br /&gt;
&lt;br /&gt;
跟隱藏的&amp;quot;n&amp;quot;最佳化類似，假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同，且&amp;quot;FN&amp;quot;特性值只有一個字，而且沒有明確的&amp;quot;N&amp;quot;特性，那麼：&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;FN&amp;quot;的內容''必須''被處理成&amp;quot;nickname&amp;quot;特性值。&lt;br /&gt;
# 剖析器''應該''對所有的&amp;quot;N&amp;quot;的子特性來指涉空值以處理遺失的&amp;quot;N&amp;quot;特性。&lt;br /&gt;
&lt;br /&gt;
雖然剖析器''必須''遵照隱藏的nickname最佳化，發佈者即使在這例子中也''應該''明確地指示&amp;quot;nickname&amp;quot;，例如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard''可能''有額外明確的&amp;quot;nickname&amp;quot;特性值除了隱藏的nickname之外。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;organization-name&amp;quot;最佳化 ===&lt;br /&gt;
&amp;quot;ORG&amp;quot;特性有兩個子特性，organization-name跟organization-unit，作者一般只會公佈organization-name，因此假如&amp;quot;ORG&amp;quot;特性沒有&amp;quot;organization-name&amp;quot;在裡面，那麼它的整個內容''必須''處理為&amp;quot;organization-name&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
=== 標籤的分類 ===&lt;br /&gt;
hCard的分類''可以''使用[[rel-tag]]標籤來表示，當一個分類特性是rel-tag時。標籤(用rel-tag定義)用於那個分類。&lt;br /&gt;
&lt;br /&gt;
=== type子特性值 ===&lt;br /&gt;
'type'子特性有什麼值特別取決於它是那個特性的子特性，這些'type'子特性值不分大小寫，也就是說&amp;quot;Home&amp;quot;跟&amp;quot;home&amp;quot;一樣，以及多值，例如，tel可以是home跟preferred的子特性：&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也可以這樣顯示：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 沒有特定值的type ====&lt;br /&gt;
當一個特性的type被指定，且沒有明確值被指定，那麼除了type以外的特性每件事會被認為是特性值，例如，&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
等同於：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
因此type是&amp;quot;home&amp;quot;且值為&amp;quot;+1.415.555.1212&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
==== adr tel email型別 ====&lt;br /&gt;
下面的列表是''有用的訊息''，分別見[[rfc-2426|RFC2426]]的3.2.1 ADR、3.3.1 TEL及3.3.2 EMAIL等節的有用的type值，為了方便他們會重複出現，預設的type子特性值會出現在每個列表前，並且用ALL CAPS表示，types可以是多值的。&lt;br /&gt;
&lt;br /&gt;
* adr type：INTL、POSTAL、PARCEL、WORK、dom、home、pref&lt;br /&gt;
* tel type：VOICE、home、msg、work、pref、fax、cell、video、pager、bbs、modem、[http://flickr.com/photos/tags/carcellphone/ car]、isdn、pcs&lt;br /&gt;
* email type：INTERNET、x400、pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
hCard的&amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt;在http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
使用hCard的內容''應該''參考這個profile，例如：&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
或&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
內容也可以結合上述的方法。&lt;br /&gt;
&lt;br /&gt;
=== 詳細解析 ===&lt;br /&gt;
&lt;br /&gt;
見[[hcard-parsing|hCard parsing]]&lt;br /&gt;
&lt;br /&gt;
== 範例 ==&lt;br /&gt;
&lt;br /&gt;
這一節的資訊是有用的。&lt;br /&gt;
&lt;br /&gt;
=== vCard範例 ===&lt;br /&gt;
&lt;br /&gt;
vCard的範例：&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在hCard有同樣的範例適當地使用不同優化的元素，見[[hcard-example1-steps| hCard Example 1]]的推導。 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard也可以這樣顯示：&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意：在hCard標記裡版本的資訊不需要因為版本會定義在hCard的profile而這profile用於/參考於&amp;lt;head&amp;gt;元素的'profile'屬性&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
===例子===&lt;br /&gt;
&lt;br /&gt;
這裡有[http://www.commerce.net/ Commercenet]的聯絡資料，可以用這一頁微格式的解析工具來偵測範例的hCard：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
下列的語義改善標記為了清晰省略了強調的顯示：&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;是abbreviations縮寫&lt;br /&gt;
* 將org名稱用url表示&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 更多的例子 ===&lt;br /&gt;
見[[hcard-examples|hCard examples]]有更多例子，包括vCard [[rfc-2426|RFC2426]]轉換到hCard的所有例子。&lt;br /&gt;
&lt;br /&gt;
== 站外的例子 ==&lt;br /&gt;
這一節的資訊是'''有用的'''，站外的hCard範例數已經大到無法在這個規格裡維護，他們已經移至[[hcard-examples-in-wild|另一頁]]。&lt;br /&gt;
&lt;br /&gt;
見[[hcard-examples-in-wild|站外的hCard範例]]。&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42589</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42589"/>
		<updated>2010-05-18T07:44:33Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器''必須'' 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author ''必須''明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式|詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42588</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42588"/>
		<updated>2010-05-18T07:41:16Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器{{必須}} 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也''不得''設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author {{必須}}明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[[#組織機構的聯繫方式 詳見前述]]。&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42587</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42587"/>
		<updated>2010-05-18T07:13:24Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器{{必須}} 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器''應該''使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，''應該''使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊''應該''這樣來處理，在這個例子中作者也{{不得}}設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器''應該''處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author {{必須}}明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[http://microformats.org/wiki/hcard-zh#組織機構的聯繫方式 詳見前述]。&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42586</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42586"/>
		<updated>2010-05-18T07:09:05Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素''應該''開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，''必須''按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者''不得''使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器{{必須}} 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器{{應該}}使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，''可能''由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，{{應該}}使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊{{應該}}這樣來處理，在這個例子中作者也{{不得}}設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器{{應該}}處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== 隱藏的&amp;quot;n&amp;quot;最佳化 ===&lt;br /&gt;
雖然vCard需要&amp;quot;N&amp;quot;特性存在，在vCard規格([[rfc-2426|RFC2426]])靠近尾端(p.38)那邊他們自己的authors卻不包含&amp;quot;N&amp;quot;特性在他們的vCard裡，這種明顯的矛盾可以在規格提供的一般案例裡只要允許&amp;quot;FN&amp;quot;特性暗指&amp;quot;N&amp;quot;特性值就可解決，我們可以明確地在hCard裡這樣做。&lt;br /&gt;
&lt;br /&gt;
假如&amp;quot;FN&amp;quot;跟&amp;quot;ORG&amp;quot;不相同(見前一節)，而且&amp;quot;FN&amp;quot;特性的值剛好是兩個字(空白字元分隔)，沒有明顯的&amp;quot;N&amp;quot;特性，那麼&amp;quot;N&amp;quot;特性可以由&amp;quot;FN&amp;quot;特性來推測，對於任意字的&amp;quot;FN&amp;quot;見下面，三個或以上的，author {{必須}}明確標記&amp;quot;N&amp;quot;，除了組織機構的聯繫方式例子，[http://microformats.org/wiki/hcard-zh#Organization_Contact_Info 詳見前述]。&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42585</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42585"/>
		<updated>2010-05-18T03:40:16Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素{{應該}}開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性跟任何其它特性，&amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它特性來說，&amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;'屬性就是特性值。&lt;br /&gt;
&lt;br /&gt;
假如一個&amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt;元素用於一個或多個特性，{{必須}}按照下列處理：&lt;br /&gt;
# 對於把URL作為它的值的'photo'特性及任何其它的特性來說，&amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt;屬性提供了特性值。&lt;br /&gt;
# 對其它的特性來說，元素的內容就是特性值。&lt;br /&gt;
&lt;br /&gt;
=== 值的篩選 ===&lt;br /&gt;
有時候只有部份的元素有等同的特性用於特性值，這通常發生在特性有子型別，像'tel'，為此，這特別的類別名稱&amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot;用來篩選元素子行別的特性值，例如，這裡有一個hCard片段用來標記一個家用電話號碼：&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard片段可以顯示成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 特性的例外 ===&lt;br /&gt;
vCard有幾個特性不是沒有意義的，就是已經隱含在網頁中的上下文，這一節會說明如何（不）處理他們。&lt;br /&gt;
&lt;br /&gt;
# vCard的'''NAME'''、'''PROFILE'''、'''SOURCE'''、'''PRODID'''、'''VERSION'''特性定義在[[rfc-2426|RFC2426]]的2.1.2、2.1.3、2.1.4、3.6.3、3.6.9等小節，內容發佈者{{不得}}使用這些特性在他們的hCard裡，因此，hCard用戶/剖析器{{必須}} 忽略這些特性假如在hCard中有發現這些特性的話，相反地，hCard到vCard的轉換器{{應該}}使用hCard被找到的頁面title(例如，HTML文件中的&amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt;元素)來建構NAME特性，{{可能}}由[[rfc-2426|RFC2426]]輸出一個&amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot;的PROFILE值，{{應該}}使用hCard被找到的頁面URL來建構SOURCE特性(例如可能是一個參數轉換hCard到VCard的URL/服務)，對一個輸出的vCard串流來說(例如一個.vcf檔)，只有輸出真正的cVard的服務/應用程式應該寫PRODID特性，就上述的服務/應用程式的產品識別器來說，同樣地，只有這樣的服務/應用程式應該寫VERSION特性，由[[rfc-2426|RFC2426]]的3.6.9節的&amp;quot;3.0&amp;quot;值 (沒有引號)。&lt;br /&gt;
&lt;br /&gt;
=== 組織機構的聯繫方式 ===&lt;br /&gt;
假如&amp;quot;FN&amp;quot;及&amp;quot;ORG&amp;quot; (organization)特性有完全相同的值(通常是因為他們設為想同的元素，如class=&amp;quot;fn org&amp;quot;)，那麼hCard表示公司、組織霍地方的資訊{{應該}}這樣來處理，在這個例子中作者也{{不得}}設定&amp;quot;N&amp;quot;特性，或明確地設成（以及任何的子特性）空字串&amp;quot;&amp;quot;，因此剖析器{{應該}}處理這個錯誤的&amp;quot;N&amp;quot;特性，在這個例子中可以藉由隱藏所有&amp;quot;N&amp;quot;的子特性的空值來完成。&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42584</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42584"/>
		<updated>2010-05-18T02:26:16Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素{{應該}}開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被用作一個特性，那麼&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性（如果存在的話） 就是這個特性的值，而不是元素的內容，取代的是一個更像樣的版本值。&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42583</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42583"/>
		<updated>2010-05-18T02:12:00Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是''可選擇的''。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者''可能''會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) ''必須''轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素{{應該}}開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性''可能''是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被使用作為一個屬性，那麼'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性的&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的屬性（假如表示的話） element attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42495</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42495"/>
		<updated>2010-04-29T08:22:44Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是{{可選擇的}}。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - 作者{{可能}}會遵循[http://en.wikipedia.org/wiki/E.123 E.123]標準來書寫電話號碼的值，字母值(例 +1-555-格式) {{必須}}轉換為數字，使用&amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt;來顯示字母並同時提供一個數值的值，例&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-格式&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
=== 單一屬性 vs 多重屬性 ===&lt;br /&gt;
單一屬性：'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'，對單一屬性來說，有類別的第一代元素{{應該}}開始作用，而其他的會被忽略。&lt;br /&gt;
&lt;br /&gt;
所有其他的屬性{{可能}}是多重的，像這樣屬性的每個類別實體會產生那個屬性的一個新實體。&lt;br /&gt;
&lt;br /&gt;
=== 人們可讀的 vs 機器可讀的 ===&lt;br /&gt;
一個屬性元素的人類可見的文字內容表現該屬性的值，只有一些例外：&lt;br /&gt;
&lt;br /&gt;
假如&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt;元素被使用作為一個屬性，那麼'&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;'屬性的&amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt;元素的屬性（假如表示的話） element attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42494</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42494"/>
		<updated>2010-04-29T08:06:00Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard在語義的HTML裡使用了前面提到的vCard標準的屬性和值來1：1的實現，部落客也可以直接用內嵌的hCards在他們的網頁裡，並且用CSS來設計樣式來使他們可以如預期顯示，此外，hCard允許應用程式直接從網頁來取得訊息而不需參考一個單獨的檔案來做。&lt;br /&gt;
&lt;br /&gt;
使用[http://microformats.org/code/hcard/creator hCard產生器]並且複製它產生的HTML原始碼到你的部落格或網站來公佈你的聯絡資訊。&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== 格式 ==&lt;br /&gt;
=== 一般來說 ===&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]])構成了hCard基礎。&lt;br /&gt;
&lt;br /&gt;
hCard的基本格式的類別名稱以小寫的vCaard物件/屬性名稱來使用，並且直接對應巢狀的vCard物件到巢狀的HTML元素裡。&lt;br /&gt;
&lt;br /&gt;
=== 根類別名稱 ===&lt;br /&gt;
一個hCard的根類別名稱是&amp;quot;vcard&amp;quot;，一個&amp;quot;vcard&amp;quot;類別名稱的元素就是它自己稱作''hCard''。&lt;br /&gt;
&lt;br /&gt;
=== 屬性跟子屬性 ===&lt;br /&gt;
一個hCard的屬性是由hCard內的元素來表現，有下列屬性的類別名稱的元素表現那些屬性的值，某些屬性有子屬性，並且對該屬性來說是由元素內的元素來表現。&lt;br /&gt;
&lt;br /&gt;
=== 屬性列表 ===&lt;br /&gt;
hCard屬性(子屬性會像這樣括號起來)&lt;br /&gt;
&lt;br /&gt;
'''需求：'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
可選擇的：&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== 屬性備註 ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;:假如任意的[[hcard-zh#Implied_.22n.22_Optimization|隱藏的'n'最佳化規則]]是有效的話，'n'屬性是{{可選擇的}}。&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - Authors {{may}} follow the [http://en.wikipedia.org/wiki/E.123 E.123] standard for writing values of telephone numbers. Letter values (e.g. +1-555-FORMATS) {{must}} be converted to numbers. Use an &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to display letters and provide a numerical value simultaneously, e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-FORMATS&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Singular vs. Plural Properties ===&lt;br /&gt;
Singular properties: 'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'.  For properties which are singular, the first descendant element with that class {{should}} take effect, any others being ignored.&lt;br /&gt;
&lt;br /&gt;
All other properties {{may}} be plural. Each class instance of such properties creates a new instance of that property.&lt;br /&gt;
&lt;br /&gt;
=== Human vs. Machine readable ===&lt;br /&gt;
The human visible text contents of an element for a property represents the value of that property, with a few exceptions:&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for a property, then the '&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;' attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42491</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42491"/>
		<updated>2010-04-29T07:34:24Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
vCard標準([[rfc-2426|RFC2426]]),和hCard的互相操作性已廣泛地實作(例如Apple的&amp;quot;Address Book&amp;quot;應用程式已內建於MacOSX)。&lt;br /&gt;
&lt;br /&gt;
此外，很多部落客會用名字來識別自己並且跟他們的朋友及家人討論，只需一點點的結構，部落客可以用這樣一種方式在他們的部落格內跟人討論，這種方式網路蜘蛛跟其他的聚合器可以取得這個資訊，並且自動地將它們轉換到vCards，然後在任何vCard的應用程式或服務使用他們。&lt;br /&gt;
&lt;br /&gt;
這個規格介紹了'''hCard'''格式，hCard使用了前面提到的vCard標準的屬性和值 format, which uses a 1:1 representation of the properties and values of the aforementioned vCard standard, in semantic HTML.  Bloggers can both embed hCards directly in their web pages, and style them with CSS to make them appear as desired.  In addition, hCard enables applications to retrieve information directly from web pages without having to reference a separate file.&lt;br /&gt;
&lt;br /&gt;
Use the [http://microformats.org/code/hcard/creator hCard creator] and copy the HTML code it generates to your blog or website to publish your contact info.&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
=== In General ===&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]) forms the basis of hCard.&lt;br /&gt;
&lt;br /&gt;
The basic format of hCard is to use vCard object/property names in lower-case for class names, and to map the nesting of vCard objects directly into nested HTML elements.&lt;br /&gt;
&lt;br /&gt;
=== Root Class Name ===&lt;br /&gt;
The root class name for an hCard is &amp;quot;vcard&amp;quot;.  An element with a class name of &amp;quot;vcard&amp;quot; is itself called an ''hCard''.&lt;br /&gt;
&lt;br /&gt;
=== Properties and Sub-properties ===&lt;br /&gt;
The properties of an hCard are represented by elements inside the hCard.  Elements with class names of the listed properties represent the values of those properties.  Some properties have sub-properties, and those are represented by elements inside the elements for properties.&lt;br /&gt;
&lt;br /&gt;
=== Property List ===&lt;br /&gt;
hCard properties (sub-properties in parentheses like this)&lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
Optional:&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== Property Notes ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;: The 'n' property is {{optional}} if any [[hcard#Implied_.22n.22_Optimization|implied 'n' optimization rules]] are in effect.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - Authors {{may}} follow the [http://en.wikipedia.org/wiki/E.123 E.123] standard for writing values of telephone numbers. Letter values (e.g. +1-555-FORMATS) {{must}} be converted to numbers. Use an &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to display letters and provide a numerical value simultaneously, e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-FORMATS&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Singular vs. Plural Properties ===&lt;br /&gt;
Singular properties: 'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'.  For properties which are singular, the first descendant element with that class {{should}} take effect, any others being ignored.&lt;br /&gt;
&lt;br /&gt;
All other properties {{may}} be plural. Each class instance of such properties creates a new instance of that property.&lt;br /&gt;
&lt;br /&gt;
=== Human vs. Machine readable ===&lt;br /&gt;
The human visible text contents of an element for a property represents the value of that property, with a few exceptions:&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for a property, then the '&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;' attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42488</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42488"/>
		<updated>2010-04-29T03:55:09Z</updated>

		<summary type="html">&lt;p&gt;Achi: /* 可用語言 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations|翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]), has been broadly interoperably implemented (e.g. Apple's &amp;quot;Address Book&amp;quot; application built into MacOSX).&lt;br /&gt;
&lt;br /&gt;
In addition, many bloggers identify themselves by name and discuss their friends and family.  With just a tad bit of structure, bloggers can discuss people in their blog(s) in such a way that spiders and other aggregators can retrieve this information, automatically convert them to vCards, and use them in any vCard application or service.&lt;br /&gt;
&lt;br /&gt;
This specification introduces the '''hCard''' format, which uses a 1:1 representation of the properties and values of the aforementioned vCard standard, in semantic HTML.  Bloggers can both embed hCards directly in their web pages, and style them with CSS to make them appear as desired.  In addition, hCard enables applications to retrieve information directly from web pages without having to reference a separate file.&lt;br /&gt;
&lt;br /&gt;
Use the [http://microformats.org/code/hcard/creator hCard creator] and copy the HTML code it generates to your blog or website to publish your contact info.&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
=== In General ===&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]) forms the basis of hCard.&lt;br /&gt;
&lt;br /&gt;
The basic format of hCard is to use vCard object/property names in lower-case for class names, and to map the nesting of vCard objects directly into nested HTML elements.&lt;br /&gt;
&lt;br /&gt;
=== Root Class Name ===&lt;br /&gt;
The root class name for an hCard is &amp;quot;vcard&amp;quot;.  An element with a class name of &amp;quot;vcard&amp;quot; is itself called an ''hCard''.&lt;br /&gt;
&lt;br /&gt;
=== Properties and Sub-properties ===&lt;br /&gt;
The properties of an hCard are represented by elements inside the hCard.  Elements with class names of the listed properties represent the values of those properties.  Some properties have sub-properties, and those are represented by elements inside the elements for properties.&lt;br /&gt;
&lt;br /&gt;
=== Property List ===&lt;br /&gt;
hCard properties (sub-properties in parentheses like this)&lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
Optional:&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== Property Notes ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;: The 'n' property is {{optional}} if any [[hcard#Implied_.22n.22_Optimization|implied 'n' optimization rules]] are in effect.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - Authors {{may}} follow the [http://en.wikipedia.org/wiki/E.123 E.123] standard for writing values of telephone numbers. Letter values (e.g. +1-555-FORMATS) {{must}} be converted to numbers. Use an &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to display letters and provide a numerical value simultaneously, e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-FORMATS&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Singular vs. Plural Properties ===&lt;br /&gt;
Singular properties: 'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'.  For properties which are singular, the first descendant element with that class {{should}} take effect, any others being ignored.&lt;br /&gt;
&lt;br /&gt;
All other properties {{may}} be plural. Each class instance of such properties creates a new instance of that property.&lt;br /&gt;
&lt;br /&gt;
=== Human vs. Machine readable ===&lt;br /&gt;
The human visible text contents of an element for a property represents the value of that property, with a few exceptions:&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for a property, then the '&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;' attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42487</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42487"/>
		<updated>2010-04-29T03:52:33Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard-zh|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;編輯&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;，之前在[http://technorati.com Technorati, Inc.]服務，現在於[http://microsoft.com/ Microsoft Corporation]服務)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; 作者：[http://tantek.com/ Tantek Çelik] (背景同上)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; 致謝： 見 [[hcard-zh#Inspiration_and_Acknowledgments|致謝]]。&lt;br /&gt;
&lt;br /&gt;
[[hcard-zh#Copyright|版權]]跟[[hcard-zh#Patents|專利]]聲明的申請。&lt;br /&gt;
&lt;br /&gt;
== 狀態 ==&lt;br /&gt;
hCard 1.0是一個microformats.org的規格，hCard公開討論在[[hcard-feedback]]、irc.freenode.net上的#microformats [[irc]]頻道跟[http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss郵件列表]。&lt;br /&gt;
&lt;br /&gt;
=== 可用語言 ===&lt;br /&gt;
這個規格的英文版本是唯一正式的版本，文件的翻譯見[[#translations｜翻譯]]這節。&lt;br /&gt;
&lt;br /&gt;
=== 錯誤及更新 ===&lt;br /&gt;
這個規格已知的錯誤及問題在[[hcard-issues-resolved|解決]]跟[[hcard-issues-closed|結案]]這裡被修正，在報告[[hcard-issues|問題]]前請先檢查那裡。&lt;br /&gt;
&lt;br /&gt;
hCard 1.0.1更新正在開發並且已知的錯誤也會結合進來修正，還有[[value-class-pattern|值類模式]]。&lt;br /&gt;
&lt;br /&gt;
== 前言 ==&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]), has been broadly interoperably implemented (e.g. Apple's &amp;quot;Address Book&amp;quot; application built into MacOSX).&lt;br /&gt;
&lt;br /&gt;
In addition, many bloggers identify themselves by name and discuss their friends and family.  With just a tad bit of structure, bloggers can discuss people in their blog(s) in such a way that spiders and other aggregators can retrieve this information, automatically convert them to vCards, and use them in any vCard application or service.&lt;br /&gt;
&lt;br /&gt;
This specification introduces the '''hCard''' format, which uses a 1:1 representation of the properties and values of the aforementioned vCard standard, in semantic HTML.  Bloggers can both embed hCards directly in their web pages, and style them with CSS to make them appear as desired.  In addition, hCard enables applications to retrieve information directly from web pages without having to reference a separate file.&lt;br /&gt;
&lt;br /&gt;
Use the [http://microformats.org/code/hcard/creator hCard creator] and copy the HTML code it generates to your blog or website to publish your contact info.&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
=== In General ===&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]) forms the basis of hCard.&lt;br /&gt;
&lt;br /&gt;
The basic format of hCard is to use vCard object/property names in lower-case for class names, and to map the nesting of vCard objects directly into nested HTML elements.&lt;br /&gt;
&lt;br /&gt;
=== Root Class Name ===&lt;br /&gt;
The root class name for an hCard is &amp;quot;vcard&amp;quot;.  An element with a class name of &amp;quot;vcard&amp;quot; is itself called an ''hCard''.&lt;br /&gt;
&lt;br /&gt;
=== Properties and Sub-properties ===&lt;br /&gt;
The properties of an hCard are represented by elements inside the hCard.  Elements with class names of the listed properties represent the values of those properties.  Some properties have sub-properties, and those are represented by elements inside the elements for properties.&lt;br /&gt;
&lt;br /&gt;
=== Property List ===&lt;br /&gt;
hCard properties (sub-properties in parentheses like this)&lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
Optional:&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== Property Notes ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;: The 'n' property is {{optional}} if any [[hcard#Implied_.22n.22_Optimization|implied 'n' optimization rules]] are in effect.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - Authors {{may}} follow the [http://en.wikipedia.org/wiki/E.123 E.123] standard for writing values of telephone numbers. Letter values (e.g. +1-555-FORMATS) {{must}} be converted to numbers. Use an &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to display letters and provide a numerical value simultaneously, e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-FORMATS&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Singular vs. Plural Properties ===&lt;br /&gt;
Singular properties: 'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'.  For properties which are singular, the first descendant element with that class {{should}} take effect, any others being ignored.&lt;br /&gt;
&lt;br /&gt;
All other properties {{may}} be plural. Each class instance of such properties creates a new instance of that property.&lt;br /&gt;
&lt;br /&gt;
=== Human vs. Machine readable ===&lt;br /&gt;
The human visible text contents of an element for a property represents the value of that property, with a few exceptions:&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for a property, then the '&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;' attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42486</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42486"/>
		<updated>2010-04-29T03:01:20Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt;是一種用來表現人、公司、組織及地點的簡單、開放、分佈式的格式，它在[[semantic-xhtml|語義的HTML或XHTML]]使用vCard ([[rfc-2426|RFC2426]])以1:1實現，hCard是幾個適合嵌入HTML、XHTML、Atom、RSS跟任意的XML文件的開放標準之一。&lt;br /&gt;
&lt;br /&gt;
'''想要開始寫一個[[hcard|hCard]]嗎？'''  使用[http://microformats.org/code/hcard/creator hCard產生器]來寫一些聯絡資料然後發佈，或是照著[[hcard-authoring|hCard創作技巧]]來新增hCard標記到你目前的聯絡頁面。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;Editor&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;, and before at [http://technorati.com Technorati, Inc.], and at [http://microsoft.com/ Microsoft Corporation])&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; Authors: [http://tantek.com/ Tantek Çelik] (affiliations above)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Acknowledgments: See [[hcard#Inspiration_and_Acknowledgments|acknowledgments]].&lt;br /&gt;
&lt;br /&gt;
[[hcard#Copyright|copyright]] and [[hcard#Patents|patents]] statements apply.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
hCard 1.0 is a microformats.org specification. Public discussion on hCard takes place on [[hcard-feedback]], the #microformats [[irc]] channel on irc.freenode.net, and [http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss mailing list].&lt;br /&gt;
&lt;br /&gt;
=== Available languages ===&lt;br /&gt;
The English version of this specification is the only normative version. For translations of this document see the [[#translations]] section.&lt;br /&gt;
&lt;br /&gt;
=== Errata and Updates ===&lt;br /&gt;
Known errors and issues in this specification are corrected in [[hcard-issues-resolved|resolved]] and [[hcard-issues-closed|closed]] issues. Please check there before reporting [[hcard-issues|issues]].&lt;br /&gt;
&lt;br /&gt;
The hCard 1.0.1 update is currently under development and incorporates known  errata corrections as well as the [[value-class-pattern]].&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]), has been broadly interoperably implemented (e.g. Apple's &amp;quot;Address Book&amp;quot; application built into MacOSX).&lt;br /&gt;
&lt;br /&gt;
In addition, many bloggers identify themselves by name and discuss their friends and family.  With just a tad bit of structure, bloggers can discuss people in their blog(s) in such a way that spiders and other aggregators can retrieve this information, automatically convert them to vCards, and use them in any vCard application or service.&lt;br /&gt;
&lt;br /&gt;
This specification introduces the '''hCard''' format, which uses a 1:1 representation of the properties and values of the aforementioned vCard standard, in semantic HTML.  Bloggers can both embed hCards directly in their web pages, and style them with CSS to make them appear as desired.  In addition, hCard enables applications to retrieve information directly from web pages without having to reference a separate file.&lt;br /&gt;
&lt;br /&gt;
Use the [http://microformats.org/code/hcard/creator hCard creator] and copy the HTML code it generates to your blog or website to publish your contact info.&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
=== In General ===&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]) forms the basis of hCard.&lt;br /&gt;
&lt;br /&gt;
The basic format of hCard is to use vCard object/property names in lower-case for class names, and to map the nesting of vCard objects directly into nested HTML elements.&lt;br /&gt;
&lt;br /&gt;
=== Root Class Name ===&lt;br /&gt;
The root class name for an hCard is &amp;quot;vcard&amp;quot;.  An element with a class name of &amp;quot;vcard&amp;quot; is itself called an ''hCard''.&lt;br /&gt;
&lt;br /&gt;
=== Properties and Sub-properties ===&lt;br /&gt;
The properties of an hCard are represented by elements inside the hCard.  Elements with class names of the listed properties represent the values of those properties.  Some properties have sub-properties, and those are represented by elements inside the elements for properties.&lt;br /&gt;
&lt;br /&gt;
=== Property List ===&lt;br /&gt;
hCard properties (sub-properties in parentheses like this)&lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
Optional:&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== Property Notes ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;: The 'n' property is {{optional}} if any [[hcard#Implied_.22n.22_Optimization|implied 'n' optimization rules]] are in effect.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - Authors {{may}} follow the [http://en.wikipedia.org/wiki/E.123 E.123] standard for writing values of telephone numbers. Letter values (e.g. +1-555-FORMATS) {{must}} be converted to numbers. Use an &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to display letters and provide a numerical value simultaneously, e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-FORMATS&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Singular vs. Plural Properties ===&lt;br /&gt;
Singular properties: 'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'.  For properties which are singular, the first descendant element with that class {{should}} take effect, any others being ignored.&lt;br /&gt;
&lt;br /&gt;
All other properties {{may}} be plural. Each class instance of such properties creates a new instance of that property.&lt;br /&gt;
&lt;br /&gt;
=== Human vs. Machine readable ===&lt;br /&gt;
The human visible text contents of an element for a property represents the value of that property, with a few exceptions:&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for a property, then the '&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;' attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42485</id>
		<title>hcard-zh</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-zh&amp;diff=42485"/>
		<updated>2010-04-29T02:28:15Z</updated>

		<summary type="html">&lt;p&gt;Achi: New page: &amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt; &amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt; is a simple, open, distributed format for representing people, companies, organizations, an...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt; is a simple, open, distributed format for representing people, companies, organizations, and places, using a 1:1 representation of vCard ([[rfc-2426|RFC2426]]) properties and values in [[semantic-xhtml|semantic HTML or XHTML]]. hCard is one of several open [[microformats|microformat]] standards suitable for embedding in HTML, XHTML, Atom, RSS, and arbitrary XML.&lt;br /&gt;
&lt;br /&gt;
'''Want to get started with writing an [[hcard|hCard]]?'''  Use the [http://microformats.org/code/hcard/creator hCard creator] to write up some contact information and publish it, or follow the [[hcard-authoring|hCard authoring tips]] to add hCard markup to your current contact page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;Editor&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;, and before at [http://technorati.com Technorati, Inc.], and at [http://microsoft.com/ Microsoft Corporation])&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; Authors: [http://tantek.com/ Tantek Çelik] (affiliations above)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Acknowledgments: See [[hcard#Inspiration_and_Acknowledgments|acknowledgments]].&lt;br /&gt;
&lt;br /&gt;
[[hcard#Copyright|copyright]] and [[hcard#Patents|patents]] statements apply.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
hCard 1.0 is a microformats.org specification. Public discussion on hCard takes place on [[hcard-feedback]], the #microformats [[irc]] channel on irc.freenode.net, and [http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss mailing list].&lt;br /&gt;
&lt;br /&gt;
=== Available languages ===&lt;br /&gt;
The English version of this specification is the only normative version. For translations of this document see the [[#translations]] section.&lt;br /&gt;
&lt;br /&gt;
=== Errata and Updates ===&lt;br /&gt;
Known errors and issues in this specification are corrected in [[hcard-issues-resolved|resolved]] and [[hcard-issues-closed|closed]] issues. Please check there before reporting [[hcard-issues|issues]].&lt;br /&gt;
&lt;br /&gt;
The hCard 1.0.1 update is currently under development and incorporates known  errata corrections as well as the [[value-class-pattern]].&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]), has been broadly interoperably implemented (e.g. Apple's &amp;quot;Address Book&amp;quot; application built into MacOSX).&lt;br /&gt;
&lt;br /&gt;
In addition, many bloggers identify themselves by name and discuss their friends and family.  With just a tad bit of structure, bloggers can discuss people in their blog(s) in such a way that spiders and other aggregators can retrieve this information, automatically convert them to vCards, and use them in any vCard application or service.&lt;br /&gt;
&lt;br /&gt;
This specification introduces the '''hCard''' format, which uses a 1:1 representation of the properties and values of the aforementioned vCard standard, in semantic HTML.  Bloggers can both embed hCards directly in their web pages, and style them with CSS to make them appear as desired.  In addition, hCard enables applications to retrieve information directly from web pages without having to reference a separate file.&lt;br /&gt;
&lt;br /&gt;
Use the [http://microformats.org/code/hcard/creator hCard creator] and copy the HTML code it generates to your blog or website to publish your contact info.&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
=== In General ===&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]) forms the basis of hCard.&lt;br /&gt;
&lt;br /&gt;
The basic format of hCard is to use vCard object/property names in lower-case for class names, and to map the nesting of vCard objects directly into nested HTML elements.&lt;br /&gt;
&lt;br /&gt;
=== Root Class Name ===&lt;br /&gt;
The root class name for an hCard is &amp;quot;vcard&amp;quot;.  An element with a class name of &amp;quot;vcard&amp;quot; is itself called an ''hCard''.&lt;br /&gt;
&lt;br /&gt;
=== Properties and Sub-properties ===&lt;br /&gt;
The properties of an hCard are represented by elements inside the hCard.  Elements with class names of the listed properties represent the values of those properties.  Some properties have sub-properties, and those are represented by elements inside the elements for properties.&lt;br /&gt;
&lt;br /&gt;
=== Property List ===&lt;br /&gt;
hCard properties (sub-properties in parentheses like this)&lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
Optional:&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== Property Notes ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;: The 'n' property is {{optional}} if any [[hcard#Implied_.22n.22_Optimization|implied 'n' optimization rules]] are in effect.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - Authors {{may}} follow the [http://en.wikipedia.org/wiki/E.123 E.123] standard for writing values of telephone numbers. Letter values (e.g. +1-555-FORMATS) {{must}} be converted to numbers. Use an &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to display letters and provide a numerical value simultaneously, e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-FORMATS&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Singular vs. Plural Properties ===&lt;br /&gt;
Singular properties: 'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'.  For properties which are singular, the first descendant element with that class {{should}} take effect, any others being ignored.&lt;br /&gt;
&lt;br /&gt;
All other properties {{may}} be plural. Each class instance of such properties creates a new instance of that property.&lt;br /&gt;
&lt;br /&gt;
=== Human vs. Machine readable ===&lt;br /&gt;
The human visible text contents of an element for a property represents the value of that property, with a few exceptions:&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for a property, then the '&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;' attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard|英語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard&amp;diff=42484</id>
		<title>hcard</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard&amp;diff=42484"/>
		<updated>2010-04-29T02:27:34Z</updated>

		<summary type="html">&lt;p&gt;Achi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;hCard 1.0&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
&amp;lt;dfn style=&amp;quot;font-style:normal;font-weight:bold&amp;quot;&amp;gt;hCard&amp;lt;/dfn&amp;gt; is a simple, open, distributed format for representing people, companies, organizations, and places, using a 1:1 representation of vCard ([[rfc-2426|RFC2426]]) properties and values in [[semantic-xhtml|semantic HTML or XHTML]]. hCard is one of several open [[microformats|microformat]] standards suitable for embedding in HTML, XHTML, Atom, RSS, and arbitrary XML.&lt;br /&gt;
&lt;br /&gt;
'''Want to get started with writing an [[hcard|hCard]]?'''  Use the [http://microformats.org/code/hcard/creator hCard creator] to write up some contact information and publish it, or follow the [[hcard-authoring|hCard authoring tips]] to add hCard markup to your current contact page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;Editor&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Tantek|Tantek Çelik]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tantek.com/&amp;lt;/span&amp;gt;, and before at [http://technorati.com Technorati, Inc.], and at [http://microsoft.com/ Microsoft Corporation])&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; Authors: [http://tantek.com/ Tantek Çelik] (affiliations above)&lt;br /&gt;
: &amp;lt;span class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Brian|Brian Suda]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://suda.co.uk/&amp;lt;/span&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Acknowledgments: See [[hcard#Inspiration_and_Acknowledgments|acknowledgments]].&lt;br /&gt;
&lt;br /&gt;
[[hcard#Copyright|copyright]] and [[hcard#Patents|patents]] statements apply.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
hCard 1.0 is a microformats.org specification. Public discussion on hCard takes place on [[hcard-feedback]], the #microformats [[irc]] channel on irc.freenode.net, and [http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss mailing list].&lt;br /&gt;
&lt;br /&gt;
=== Available languages ===&lt;br /&gt;
The English version of this specification is the only normative version. For translations of this document see the [[#translations]] section.&lt;br /&gt;
&lt;br /&gt;
=== Errata and Updates ===&lt;br /&gt;
Known errors and issues in this specification are corrected in [[hcard-issues-resolved|resolved]] and [[hcard-issues-closed|closed]] issues. Please check there before reporting [[hcard-issues|issues]].&lt;br /&gt;
&lt;br /&gt;
The hCard 1.0.1 update is currently under development and incorporates known  errata corrections as well as the [[value-class-pattern]].&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]), has been broadly interoperably implemented (e.g. Apple's &amp;quot;Address Book&amp;quot; application built into MacOSX).&lt;br /&gt;
&lt;br /&gt;
In addition, many bloggers identify themselves by name and discuss their friends and family.  With just a tad bit of structure, bloggers can discuss people in their blog(s) in such a way that spiders and other aggregators can retrieve this information, automatically convert them to vCards, and use them in any vCard application or service.&lt;br /&gt;
&lt;br /&gt;
This specification introduces the '''hCard''' format, which uses a 1:1 representation of the properties and values of the aforementioned vCard standard, in semantic HTML.  Bloggers can both embed hCards directly in their web pages, and style them with CSS to make them appear as desired.  In addition, hCard enables applications to retrieve information directly from web pages without having to reference a separate file.&lt;br /&gt;
&lt;br /&gt;
Use the [http://microformats.org/code/hcard/creator hCard creator] and copy the HTML code it generates to your blog or website to publish your contact info.&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
=== In General ===&lt;br /&gt;
The vCard standard ([[rfc-2426|RFC2426]]) forms the basis of hCard.&lt;br /&gt;
&lt;br /&gt;
The basic format of hCard is to use vCard object/property names in lower-case for class names, and to map the nesting of vCard objects directly into nested HTML elements.&lt;br /&gt;
&lt;br /&gt;
=== Root Class Name ===&lt;br /&gt;
The root class name for an hCard is &amp;quot;vcard&amp;quot;.  An element with a class name of &amp;quot;vcard&amp;quot; is itself called an ''hCard''.&lt;br /&gt;
&lt;br /&gt;
=== Properties and Sub-properties ===&lt;br /&gt;
The properties of an hCard are represented by elements inside the hCard.  Elements with class names of the listed properties represent the values of those properties.  Some properties have sub-properties, and those are represented by elements inside the elements for properties.&lt;br /&gt;
&lt;br /&gt;
=== Property List ===&lt;br /&gt;
hCard properties (sub-properties in parentheses like this)&lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
* '''fn'''&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-n&amp;quot;&amp;gt;'''n'''&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note1|1]]&amp;lt;/sup&amp;gt; (family-name, given-name, additional-name, honorific-prefix, honorific-suffix)&amp;lt;/span&amp;gt;&lt;br /&gt;
Optional:&lt;br /&gt;
* adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value)&lt;br /&gt;
* agent&lt;br /&gt;
* bday&lt;br /&gt;
* category&lt;br /&gt;
* class&lt;br /&gt;
* email (type, value)&lt;br /&gt;
* geo (latitude, longitude)&lt;br /&gt;
* key&lt;br /&gt;
* label&lt;br /&gt;
* logo&lt;br /&gt;
* mailer&lt;br /&gt;
* nickname&lt;br /&gt;
* note&lt;br /&gt;
* org (organization-name, organization-unit)&lt;br /&gt;
* photo&lt;br /&gt;
* rev&lt;br /&gt;
* role&lt;br /&gt;
* sort-string&lt;br /&gt;
* sound&lt;br /&gt;
* &amp;lt;span id=&amp;quot;property-list-tel&amp;quot;&amp;gt;tel&amp;lt;sup style=&amp;quot;font-size:smaller&amp;quot;&amp;gt;[[#note2|2]]&amp;lt;/sup&amp;gt; (type, value)&amp;lt;/span&amp;gt;&lt;br /&gt;
* title&lt;br /&gt;
* tz&lt;br /&gt;
* uid&lt;br /&gt;
* url&lt;br /&gt;
&lt;br /&gt;
=== Property Notes ===&lt;br /&gt;
&amp;lt;span id=&amp;quot;note1&amp;quot;&amp;gt;[[#property-list-n|1. ^]]&amp;lt;/span&amp;gt;: The 'n' property is {{optional}} if any [[hcard#Implied_.22n.22_Optimization|implied 'n' optimization rules]] are in effect.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;note2&amp;quot;&amp;gt;[[#property-list-tel|2. ^]]&amp;lt;/span&amp;gt;: tel - Authors {{may}} follow the [http://en.wikipedia.org/wiki/E.123 E.123] standard for writing values of telephone numbers. Letter values (e.g. +1-555-FORMATS) {{must}} be converted to numbers. Use an &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to display letters and provide a numerical value simultaneously, e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;abbr title=&amp;quot;+15553676287&amp;quot;&amp;gt;+1-555-FORMATS&amp;lt;/abbr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Singular vs. Plural Properties ===&lt;br /&gt;
Singular properties: 'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'.  For properties which are singular, the first descendant element with that class {{should}} take effect, any others being ignored.&lt;br /&gt;
&lt;br /&gt;
All other properties {{may}} be plural. Each class instance of such properties creates a new instance of that property.&lt;br /&gt;
&lt;br /&gt;
=== Human vs. Machine readable ===&lt;br /&gt;
The human visible text contents of an element for a property represents the value of that property, with a few exceptions:&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for a property, then the '&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;' attribute (if present) of the &amp;lt;code&amp;gt;&amp;amp;lt;abbr&amp;gt;&amp;lt;/code&amp;gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;a&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;href=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;src=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the &amp;lt;code&amp;gt;&amp;amp;lt;img&amp;gt;&amp;lt;/code&amp;gt; element's '&amp;lt;code&amp;gt;alt&amp;lt;/code&amp;gt;' attribute is the value of the property.&lt;br /&gt;
&lt;br /&gt;
If an &amp;lt;code&amp;gt;&amp;amp;lt;object&amp;amp;gt;&amp;lt;/code&amp;gt; element is used for one or more properties, it {{must}} be treated as follows:&lt;br /&gt;
# For the 'photo' property and any other property that takes a URL as its value, the &amp;lt;code&amp;gt;data=&amp;quot;...&amp;quot;&amp;lt;/code&amp;gt; attribute provides the property value.&lt;br /&gt;
# For other properties, the element's content is the value of the property.&lt;br /&gt;
&lt;br /&gt;
=== Value excerpting ===&lt;br /&gt;
Sometimes only part of an element which is the equivalent for a property is used for the value of the property.  This typically occurs when a property has a subtype, like 'tel'. For this purpose, the special class name &amp;quot;&amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&amp;quot; is used to excerpt out the subset of the element that is the value of the property. E.g. here is an hCard fragment for marking up a home phone number:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard fragment could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;home&amp;lt;/span&amp;gt;:&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- note for Tantek: review/edit property casing from here on --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Exceptions ===&lt;br /&gt;
vCard has several properties which either do not make sense on, or are already implied within the context of a web page.  This section explains what to (not) do with them.&lt;br /&gt;
&lt;br /&gt;
# vCard's '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties are defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of [[rfc-2426|RFC2426]].  Content publishers {{must-not}} use these properties in their hCards, and as such, hCard consumers/parsers {{must}} IGNORE these properties if they are found within an hCard. Instead. hCard to vCard converters {{should}} use the title of the page where the hCard is found (e.g. the &amp;lt;code&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/code&amp;gt; element in HTML documents) to construct the NAME property, {{may}} output a PROFILE value of &amp;quot;&amp;lt;code&amp;gt;VCARD&amp;lt;/code&amp;gt;&amp;quot; per [[rfc-2426|RFC2426]], {{should}} use the URL of the page where the hCard is found to construct the SOURCE property (e.g. perhaps as a parameter to a URL/service that converts hCards to vCards), for an output vCard stream (e.g. a .vcf file). Only services/applications that output actual vCards should write the PRODID property, with the product identifier for said service/application. Similarly, only such services/applications should write the VERSION property, with the value &amp;quot;3.0&amp;quot; (without quotes) per [[rfc-2426|RFC2426]] Section 3.6.9.&lt;br /&gt;
&lt;br /&gt;
=== Organization Contact Info ===&lt;br /&gt;
If the &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; (organization) properties have the exact same value (typically because they are set on the same element, e.g. class=&amp;quot;fn org&amp;quot;), then the hCard represents contact information for a company, organization or place and {{should}} be treated as such. In this case the author also {{must-not}} set the &amp;quot;N&amp;quot; property, or set it (and any sub-properties) explicitly to the empty string &amp;quot;&amp;quot;. Thus parsers {{should}} handle the missing &amp;quot;N&amp;quot; property, in this case by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;n&amp;quot; Optimization ===&lt;br /&gt;
Although vCard requires that the &amp;quot;N&amp;quot; property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include &amp;quot;N&amp;quot; properties in their vCards near the end of the spec (p.38).  This apparent contradiction can be resolved by simply allowing the &amp;quot;FN&amp;quot; property to imply &amp;quot;N&amp;quot; property values in typical cases provided in the spec. We do so explicitly in hCard.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same (see previous section), and the value of the &amp;quot;FN&amp;quot; property is exactly two words (separated by whitespace), and there is no explicit &amp;quot;N&amp;quot; property, then the &amp;quot;N&amp;quot; property is inferred from the &amp;quot;FN&amp;quot; property.  For &amp;quot;FN&amp;quot;s with either one word see below, and for three or more, the author {{must}} explicitly markup the &amp;quot;N&amp;quot;, except for the organization contact info case, [http://microformats.org/wiki/hcard#Organization_Contact_Info see above] for that.&lt;br /&gt;
&lt;br /&gt;
# The content of &amp;quot;FN&amp;quot; is broken into two &amp;quot;words&amp;quot; separated by whitespace.&lt;br /&gt;
# The ''first'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;given-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# The ''second/last'' word of the &amp;quot;FN&amp;quot; is interpreted as the &amp;quot;family-name&amp;quot; for the &amp;quot;N&amp;quot; property.&lt;br /&gt;
# Exception: If the first word ends in a &amp;quot;,&amp;quot; comma, then the first word (minus the comma at the end) is interpreted as the &amp;quot;family-name&amp;quot; and the second word is interpreted as the &amp;quot;given-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This allows simplification in the typical case of people stating:&lt;br /&gt;
* given-name (space) family-name&lt;br /&gt;
* family-name (comma) given-name&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;nickname&amp;quot; Optimization ===&lt;br /&gt;
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied &amp;quot;nickname&amp;quot; optimization to handle this.&lt;br /&gt;
&lt;br /&gt;
Similar to the implied &amp;quot;n&amp;quot; optimization, if &amp;quot;FN&amp;quot; and &amp;quot;ORG&amp;quot; are not the same, and the value of the &amp;quot;FN&amp;quot; property is exactly one word, and there is no explicit &amp;quot;N&amp;quot; property, then:&lt;br /&gt;
&lt;br /&gt;
# The content of the &amp;quot;FN&amp;quot; {{must}} be treated as a &amp;quot;nickname&amp;quot; property value.&lt;br /&gt;
# Parsers {{should}} handle the missing &amp;quot;N&amp;quot; property by implying empty values for all the &amp;quot;N&amp;quot; sub-properties.&lt;br /&gt;
&lt;br /&gt;
Though parsers {{must}} follow the implied nickname optimization, publishers {{should}} explicitly indicate the &amp;quot;nickname&amp;quot; even in this case, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&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;fn nickname&amp;quot;&amp;gt;daveman692&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCard {{may}} have additional explicit &amp;quot;nickname&amp;quot; property values in addition to the implied nickname.&lt;br /&gt;
&lt;br /&gt;
=== Implied &amp;quot;organization-name&amp;quot; Optimization ===&lt;br /&gt;
The &amp;quot;ORG&amp;quot; property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name.  Thus if an &amp;quot;ORG&amp;quot; property has no &amp;quot;organization-name&amp;quot; inside it, then its entire contents {{must}} be treated as the &amp;quot;organization-name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Tags as Categories ===&lt;br /&gt;
Categories in hCard {{may}} be represented by tags with [[rel-tag]]. When a category property is a rel-tag, the tag (as defined by rel-tag) is used for that category.&lt;br /&gt;
&lt;br /&gt;
=== type subproperty values ===&lt;br /&gt;
The 'type' subproperty in particular takes different values depending on which property it is a subproperty of.  These 'type' subproperty values are case-INSENSITIVE, meaning &amp;quot;Home&amp;quot; is the same as &amp;quot;home&amp;quot;, as well as multivalued, e.g. a tel can be home and preferred:&lt;br /&gt;
&lt;br /&gt;
vCard:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TEL;TYPE=HOME,PREF:+1.415.555.1212&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
hCard:&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
 &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This could be displayed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em; &amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;pref&amp;lt;/span&amp;gt;erred):&lt;br /&gt;
&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;+1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type with unspecified value ====&lt;br /&gt;
When the type of a property is specified, and there is no explicit value specified, then everything in the property except for the type is considered the value of the property. E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;tel&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Home&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt; +1.415.555.1212&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And thus the type is &amp;quot;home&amp;quot; and the value is &amp;quot;+1.415.555.1212&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== adr tel email types ====&lt;br /&gt;
The following lists are ''informative''. See [[rfc-2426|RFC2426]] sections 3.2.1 ADR, 3.3.1 TEL, and 3.3.2 EMAIL respectively for normative type values.  They are repeated here for convenience. Default type subproperty value(s) is(are) first in each list and indicated in ALL CAPS.  types may be multivalued.&lt;br /&gt;
&lt;br /&gt;
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref&lt;br /&gt;
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, [http://flickr.com/photos/tags/carcellphone/ car], isdn, pcs&lt;br /&gt;
* email type: INTERNET, x400, pref&lt;br /&gt;
&lt;br /&gt;
=== Profile ===&lt;br /&gt;
The hCard &amp;lt;span id=&amp;quot;XMDP_Profile&amp;quot;&amp;gt;XMDP profile&amp;lt;/span&amp;gt; is at http://microformats.org/profile/hcard&lt;br /&gt;
&lt;br /&gt;
Content that uses hCard {{should}} reference this profile, e.g.&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;head profile=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
This content uses &amp;lt;a rel=&amp;quot;profile&amp;quot; href=&amp;quot;http://microformats.org/profile/hcard&amp;quot;&amp;gt;hCard&amp;lt;/a&amp;gt;.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Content may combine the above methods as well.&lt;br /&gt;
&lt;br /&gt;
=== Parsing Details ===&lt;br /&gt;
&lt;br /&gt;
See [[hcard-parsing|hCard parsing]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
This section is informative.&lt;br /&gt;
&lt;br /&gt;
=== Sample vCard ===&lt;br /&gt;
&lt;br /&gt;
Here is a sample vCard:&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;
N:Çelik;Tantek&lt;br /&gt;
FN:Tantek Çelik&lt;br /&gt;
URL:http://tantek.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and an equivalent in hCard with various elements optimized appropriately.  See [[hcard-example1-steps| hCard Example 1]] for the derivation. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This hCard might be displayed as:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: thin dashed black; width: 95%; padding: .5em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The version information is unnecessary in hCard markup directly since the version will be defined by the profile of hCard that is used/referred to in the 'profile' attribute of the &amp;lt;head&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
===Live example===&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.commerce.net/ Commercenet]'s contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;fn org&amp;quot;&amp;gt;'''CommerceNet'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;url&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;http://www.commerce.net/&amp;lt;/nowiki&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:'''&lt;br /&gt;
&amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;'''169 University Avenue'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;'''Palo Alto'''&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;'''CA'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;'''94301'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;'''USA'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;'''&amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;'''Email &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;info@commerce.net&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mark-up, emboldening omitted for clarity, with the following semantic improvements:&lt;br /&gt;
* &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; to expand abbreviations&lt;br /&gt;
* hyperlinking the org name with the url&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=html4strict&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;fn org url&amp;quot; href=&amp;quot;http://www.commerce.net/&amp;quot;&amp;gt;CommerceNet&amp;lt;/a&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;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt;:&lt;br /&gt;
    &amp;lt;div class=&amp;quot;street-address&amp;quot;&amp;gt;169 University Avenue&amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Palo Alto&amp;lt;/span&amp;gt;,  &lt;br /&gt;
    &amp;lt;abbr class=&amp;quot;region&amp;quot; title=&amp;quot;California&amp;quot;&amp;gt;CA&amp;lt;/abbr&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;postal-code&amp;quot;&amp;gt;94301&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Work&amp;lt;/span&amp;gt; +1-650-289-4040&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;tel&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;type&amp;quot;&amp;gt;Fax&amp;lt;/span&amp;gt; +1-650-289-4041&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div&amp;gt;Email: &lt;br /&gt;
   &amp;lt;span class=&amp;quot;email&amp;quot;&amp;gt;info@commerce.net&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Examples ===&lt;br /&gt;
See [[hcard-examples|hCard examples]] for more examples, including all examples from vCard [[rfc-2426|RFC2426]] converted into hCard.&lt;br /&gt;
&lt;br /&gt;
== Examples in the wild ==&lt;br /&gt;
This section is '''informative'''. The number of hCard examples in the wild has expanded far beyond the capacity of being kept inline in this specification. They have been moved to a [[hcard-examples-in-wild|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-examples-in-wild|hCard Examples in the wild]].&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''. The number of hCard implementations has also expanded beyond the capacity of keeping them inline. They have been moved to a [[hcard-implementations|separate page]].&lt;br /&gt;
&lt;br /&gt;
See [[hcard-implementations|hCard Implementations]].&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
This section is &amp;lt;strong&amp;gt;informative&amp;lt;/strong&amp;gt;. For &amp;lt;span id=&amp;quot;Further_Reading&amp;quot;&amp;gt;further reading&amp;lt;/span&amp;gt; on hCard see [[hcard-articles]].&lt;br /&gt;
&lt;br /&gt;
==Buttons==&lt;br /&gt;
You can use these buttons on pages with hCards. See [[buttons#hCard]] for any recent additions.&lt;br /&gt;
&lt;br /&gt;
* http://www.crowley.nl/images/hcard.png (mirror: http://www.davidjanes.com/images/mf_hcard.png)&lt;br /&gt;
* http://rbach.priv.at/2006/buttons/hcard.png&lt;br /&gt;
* http://www.boogdesign.com/images/buttons/microformat_hcard.png&lt;br /&gt;
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Per the public domain release on the authors' user pages ([[User:Tantek|Tantek Çelik]], [[User:Brian|Brian Suda]]) this specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]&lt;br /&gt;
* [http://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]&lt;br /&gt;
* [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document)&lt;br /&gt;
* [[rfc-2119|RFC 2119]]&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [[hcard-history|hCard history]]&lt;br /&gt;
** [http://wiki.oreillynet.com/foocamp04/index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09-10]&lt;br /&gt;
** [http://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, 2004-09-30]&lt;br /&gt;
** Contributed from http://developers.technorati.com/wiki/hCard 2005-06-20&lt;br /&gt;
* [http://www.dante.net/np/ds/osi/9594-6-X.520.A4.ps X.520 in Postscript] ([http://72.14.253.104/search?q=cache:FjqzsFu4h20J:www.dante.net/np/ds/osi/9594-6-X.520.A4.ps HTMLization courtesy of Google Cache]) - vCard refers to ROLE as being &amp;quot;based on the X.520 Business Category explanatory attribute&amp;quot;.&lt;br /&gt;
* [http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426]&lt;br /&gt;
* [http://w3.org/TR/REC-CSS1 CSS1]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml11 XHTML 1.1]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for &amp;quot;TEL&amp;quot; values.&lt;br /&gt;
* [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar]&lt;br /&gt;
* [[iso-8601|ISO8601]]&lt;br /&gt;
&lt;br /&gt;
==== Specifications That Use hCard ====&lt;br /&gt;
* [[adr]]&lt;br /&gt;
* [[geo]]&lt;br /&gt;
* [[hcalendar|hCalendar]]&lt;br /&gt;
* [[hreview|hReview]]&lt;br /&gt;
&lt;br /&gt;
==== Similar Work ====&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]&lt;br /&gt;
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
Thanks to: my good friend [http://vadim.com/ Vadim] who introduced me to vCard ''many'' years ago, and if I'd only paid more attention then, perhaps I could have helped a lot of people avoid wasting a lot of time reinventing various standards wheels.&lt;br /&gt;
&lt;br /&gt;
== Notes on derivation from vCard ==&lt;br /&gt;
This section is ''informative''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Semantic_XHTML_Design_Principles&amp;quot;&amp;gt;See: [[hcard-design-methodology]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More Semantic Equivalents ===&lt;br /&gt;
For some properties there are HTML elements which better match and convey their semantics.  The following properties SHOULD be encoded with the following HTML:&lt;br /&gt;
* &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; in vCard becomes  &amp;lt;code&amp;gt;&amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt; inside the element with &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt; in hCard.&lt;br /&gt;
* Similarly, &amp;lt;code&amp;gt;EMAIL&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a class=&amp;quot;email&amp;quot; href=&amp;quot;mailto:...&amp;quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;PHOTO&amp;lt;/code&amp;gt; in vCard becomes &amp;lt;code&amp;gt;&amp;lt;img class=&amp;quot;photo&amp;quot; src=&amp;quot;...&amp;quot; alt=&amp;quot;Photo of ...&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;object class=&amp;quot;photo&amp;quot; data=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot;&amp;gt;Photo of ...&amp;lt;/object&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UID&amp;lt;/code&amp;gt; in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.&lt;br /&gt;
&lt;br /&gt;
=== Singular and Plural derivations ===&lt;br /&gt;
The [[hcard#Singular_vs._Plural_Properties|lists of singular and plural properties]] have been derived by analyzing the semantics of the individual properties in vCard RFC2426 and determining logically that they MUST be singular per their semantics.  See [[hcard-singular-properties]] for explanations.&lt;br /&gt;
&lt;br /&gt;
==== Plural Properties Singularized ====&lt;br /&gt;
Since plural property names become their singular equivalents, even if the original plural property permitted only a single value with multiple components, those multiple components are represented each with their own singularly named property and the the property is effectively multivalued and subject to the above treatment of multivalued properties.&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
{{hcard-related-pages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Specifications]]&lt;br /&gt;
[[Category:hCard]]&lt;br /&gt;
&lt;br /&gt;
== Translations ==&lt;br /&gt;
Read the hCard specification in additional &amp;lt;span id=&amp;quot;languages&amp;quot;&amp;gt;languages&amp;lt;/span&amp;gt;:&lt;br /&gt;
* [[hcard-fr|français]]&lt;br /&gt;
* [[hcard-ru|Русский]]&lt;br /&gt;
* [[hcard-ja|日本語]]&lt;br /&gt;
* [[hcard-zh|漢語]]&lt;/div&gt;</summary>
		<author><name>Achi</name></author>
	</entry>
</feed>