m (editorial: https examples, more https links)
(240 intermediate revisions by 65 users not shown)
Line 1:
Line 1:
<(削除) h1 (削除ここまで)>hCard</(削除) h1 (削除ここまで)>
(追記) {{DISPLAYTITLE:hCard 1.0}} (追記ここまで)
(追記) {{latest|h-card}} (追記ここまで)
(追記) <span class="vcard"><span class="fn">[[User:Tantek|Tantek Çelik]]</span> (<span class="role">Editor</span>, <span class="role">Author</span>)</span>, <span class="vcard"><span class="fn">[[User:Brian|Brian Suda]]</span> (<span class="role">Author</span>)</span> (追記ここまで)
<(追記) dfn style="font-style:normal;font-weight:bold" (追記ここまで)>hCard</(追記) dfn (追記ここまで)> (追記) is a simple, open format for publishing people, companies, organizations on the web, using a 1:1 representation of vCard ([[rfc-2426|RFC2426]]) properties and values in HTML. hCard is one of several open [[microformats|microformat]] standards suitable for embedding data in HTML/HTML5, and Atom/RSS/XHTML or other XML. (追記ここまで)
(削除) hCard is a simple, open, distributed format for representing people, companies, organizations, and places, using a 1 (削除ここまで):(削除) 1 representation of the properties and values of the vCard standard ( (削除ここまで)[(削除) http: (削除ここまで)//(削除) www.ietf.org (削除ここまで)/(削除) rfc (削除ここまで)/(削除) rfc2426.txt RFC2426 (削除ここまで)](削除) ) in (削除ここまで)[[(削除) semantic (削除ここまで)-(削除) xhtml (削除ここまで)|(削除) semantic XHTML (削除ここまで)]]. (削除) hCard is one of several open (削除ここまで)[[(削除) microformats (削除ここまで)|(削除) microformat (削除ここまで)]] (削除) standards suitable for embedding in (X (削除ここまで))(削除) HTML, Atom, RSS, (削除ここまで)and (削除) arbitrary XML (削除ここまで).
(追記) Translations (追記ここまで): [(追記) [hcard-fr|<span lang="fr">Français< (追記ここまで)/(追記) span>]] • [[hcard-ja|<span lang="ja">日本語< (追記ここまで)/(追記) span>]] • [[hcard-ru|<span lang="ru">Русский< (追記ここまで)/(追記) span>]] • [[hcard-th|<span lang="th">ภาษาไทย< (追記ここまで)/(追記) span>] (追記ここまで)] (追記) • (追記ここまで)[[(追記) hcard (追記ここまで)-(追記) zh (追記ここまで)|(追記) <span lang="zh">漢語</span> (追記ここまで)]] (追記) • <span style="font-size: (追記ここまで).(追記) 8em">( (追記ここまで)[[(追記) how-to-start-new-translation (追記ここまで)|(追記) Add your language (追記ここまで)]])(追記) </span><br/> (追記ここまで)
(追記) [[hcard#Copyright|Copyright]] (追記ここまで)and (追記) [[hcard#Patents|patents]] statements apply. See [[hcard#Inspiration_and_Acknowledgments|acknowledgments]] (追記ここまで).
(削除) 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. (削除ここまで)
(追記) == Example == (追記ここまで)
(追記) hCards are most often used (追記ここまで)to (追記) represent people: (追記ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(追記) <div class="vcard"> (追記ここまで)
(追記) <a class="url fn" href="https://tantek.com/">Tantek Çelik</a> (追記ここまで)
(追記) and organizations: (追記ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(追記) <div class="vcard"> (追記ここまで)
(追記) <a class="url fn org" href="https://microformats.org/">microformats.org</a> (追記ここまで)
(追記) <div style="float:right;background:rgb(248, 247, 236); border:2px solid rgb(225, 229, 186); margin-left:2em" class="box"> (追記ここまで)
(追記) === Get (追記ここまで)started (追記) === (追記ここまで)
(追記) https://microformats.org/wiki/skins/Microformats/images/bullet.gif Create a (追記ここまで)[http://microformats.org/code/hcard/creator (追記) new (追記ここまで)hCard](追記) <br/> (追記ここまで)
(追記) https://microformats.org/wiki/skins/Microformats/images/bullet.gif Learn (追記ここまで)[[hcard-authoring|hCard authoring]]
(削除) == Specification == (削除ここまで)
(追記) The class '''<code>vcard</code>''' is a ''[[hcard#Root_Class_Name|root class name]]'' that indicates the presence of an hCard. (追記ここまで)
(削除) === Editor === (削除ここまで)
(追記) The classes '''<code>url< (追記ここまで)/(追記) code>''', '''<code>fn< (追記ここまで)/(追記) code>''' (追記ここまで), (追記) and '''<code>org< (追記ここまで)/(追記) code>''' define ''properties'' of the hCard (追記ここまで).
(削除) [http: (削除ここまで)//(削除) tantek.com/ Tantek Çelik] (削除ここまで), (削除) [http:/ (削除ここまで)/(削除) technorati.com Technorati, Inc (削除ここまで).(削除) ] (削除ここまで)
=== (削除) Authors (削除ここまで)===
== (追記) Properties (追記ここまで)==
* [http://(削除) tantek (削除ここまで).com/ (削除) Tantek Çelik], [ (削除ここまで)http://(削除) technorati (削除ここまで).com (削除) Technorati (削除ここまで), (削除) Inc] (削除ここまで)
(追記) <div style="white-space:nowrap;float:left">Common hCard properties (inside class <code>'''vcard'''</code>) (追記ここまで)
(削除) * [http (削除ここまで)://(削除) suda (削除ここまで).(削除) co (削除ここまで).(削除) uk (削除ここまで)/ (削除) Brian Suda (削除ここまで)]
(追記) * <code>'''fn'''</code> - name, formatted/full. required (追記ここまで)
(追記) * <code>'''n'''</code> - structured name, container for: (追記ここまで)
(追記) ** <code>'''honorific-prefix'''</code> - e.g. Ms., Mr., Dr. (追記ここまで)
(追記) ** <code>'''given-name'''</code> - given (often first) name (追記ここまで)
(追記) ** <code>'''additional-name'''</code> - other/middle name (追記ここまで)
(追記) ** <code>'''family-name'''</code> - family (often last) name (追記ここまで)
(追記) ** <code>'''honorific-suffix'''</code> - e.g. Ph.D., Esq. (追記ここまで)
(追記) * <code>'''nickname'''</code> - nickname/alias, e.g. [[IRC]] <abbr title="nickname">nick</abbr> (追記ここまで)
(追記) * <code>'''org'''</code> - company/organization (追記ここまで)
(追記) * <code>'''photo'''</code> - photo, icon, avatar (追記ここまで)
(追記) * <code>'''url'''</code> - home page for this contact (追記ここまで)
(追記) * <code>'''email'''</code> - email address (追記ここまで)
(追記) * <code>'''tel'''</code> - [[phone number|telephone number]] (追記ここまで)
(追記) * <code>'''[[adr]]'''</code> - structured address, container for: (追記ここまで)
(追記) ** <code>'''street-address'''</code> - street <abbr title (追記ここまで)=(追記) "number">#</abbr>+name, <abbr title (追記ここまで)=(追記) "apartment">apt</abbr>/<abbr title="suite">ste</abbr> (追記ここまで)
(追記) ** <code>'''locality'''</code> - city or village (追記ここまで)
(追記) ** <code>'''region'''</code> - state or province (追記ここまで)
*(追記) * <code>'''postal-code'''</code> - postal code, e.g. <abbr title="United States">U.S.</abbr> ZIP (追記ここまで)
(追記) ** <code>'''country-name'''</code> - country name (追記ここまで)
(追記) * <code>'''bday'''</code> - birthday. (追記ここまで)[(追記) [date-pattern|ISO date]]. (追記ここまで)
(追記) * <code>'''category'''</code> - for tagging contacts (追記ここまで)
(追記) * <code>'''note'''</code> - notes about the contact (追記ここまで)
(追記) <div style="margin-top:-.4em; float:left;"><span style="display:none">Example hCard of common properties:</span> (追記ここまで)
(追記) <ul style="list-style:none"><li><code><div class="'''vcard'''"></code> (追記ここまで)
(追記) <ul style="list-style:none; margin-top:-.02em"> (追記ここまで)
(追記) <li><code><span class="'''fn'''">Sally Ride</span></code></li> (追記ここまで)
(追記) <li><code>(<span class="'''n'''"></code><ul style="list-style:none"> (追記ここまで)
(追記) <li><code><span class="'''honorific-prefix'''">Dr.</span></code></li> (追記ここまで)
(追記) <li><code><span class="'''given-name'''">Sally</span></code></li> (追記ここまで)
(追記) <li><code><abbr class="'''additional-name'''">K.</abbr></code></li> (追記ここまで)
(追記) <li><code><span class="'''family-name'''">Ride</span></code></li> (追記ここまで)
(追記) <li><code><span class="'''honorific-suffix'''">Ph.D.</span></span>),</code></li></ul></li> (追記ここまで)
(追記) <li><code><span class="'''nickname'''">sallykride</span> (IRC)</code></li> (追記ここまで)
(追記) <li><code><div class="'''org'''">Sally Ride Science</div></code></li> (追記ここまで)
(追記) <li><code><img class="'''photo'''" src="<nowiki> (追記ここまで)http://(追記) example (追記ここまで).com/(追記) sk.jpg</nowiki>"/> </code></li> (追記ここまで)
(追記) <li><code><a class="'''url'''" href="<nowiki> (追記ここまで)http://(追記) sally.example (追記ここまで).com(追記) </nowiki>">w</a> (追記ここまで),(追記) </code></li> (追記ここまで)
(追記) <li><code><a class="'''email'''" href="<nowiki>mailto:sally@example.com</nowiki>">e</a> </code></li> (追記ここまで)
(追記) <li><code><div class="'''tel'''">+1.818.555.1212</div></code></li> (追記ここまで)
(追記) <li><code><div class="'''adr'''"></code><ul style="list-style (追記ここまで):(追記) none"> (追記ここまで)
(追記) <li><code><div class="'''street-address'''">123 Main st.</div></code></li> (追記ここまで)
(追記) <li><code><span class="'''locality'''">Los Angeles</span>, </code></li> (追記ここまで)
(追記) <li><code><abbr class="'''region'''" title="California">CA</abbr>, </code></li> (追記ここまで)
(追記) <li><code><span class="'''postal-code'''">91316</span>< (追記ここまで)/(追記) code>< (追記ここまで)/(追記) li> (追記ここまで)
(追記) <li><code><div class="'''country-name'''">U (追記ここまで).(追記) S.A</div></div></code></li></ul></li> (追記ここまで)
(追記) <li><code><time class="'''bday'''">1951年05月26日</time> birthday</code></li> (追記ここまで)
(追記) <li><code><div class="'''category'''">physicist</div></code></li> (追記ここまで)
(追記) <li><code><div class="'''note'''">1st American woman in space (追記ここまで).(追記) </div></code></li></ul></li> (追記ここまで)
(追記) <li><code></div></code></li>< (追記ここまで)/(追記) ul> (追記ここまで)
(追記) <div style="clear:both; padding:1em 0 0.5em 0">See the [[hcard#Property_List|full list of properties] (追記ここまで)] (追記) for the complete list. (追記ここまで)
==(削除) = Copyright = (削除ここまで)==
== (追記) Status (追記ここまで)==
(削除) {{MicroFormatCopyrightStatement2004}} (削除ここまで)
(追記) 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 [https://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss mailing list]. (追記ここまで)
=== (削除) Patents (削除ここまで)===
=== (追記) Errata and Updates (追記ここまで)===
(削除) {{MicroFormatPatentStatement}} (削除ここまで)
(追記) 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]]. (追記ここまで)
(削除) === Inspiration (削除ここまで)and (削除) Acknowledgments === (削除ここまで)
(追記) The hCard 1.0.1 update is currently under development (追記ここまで)and (追記) incorporates known errata corrections as well as the [ (追記ここまで)[(追記) value-class-pattern] (追記ここまで)].
(削除) 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 (削除ここまで).
== (削除) Introduction (削除ここまで)==
== (追記) Background (追記ここまで)==
The vCard standard ([(削除) http://www.ietf.org/ (削除ここまで)rfc(削除) /rfc2426.txt (削除ここまで)RFC2426]), has been broadly interoperably implemented (e.g. Apple's "Address Book" application built into MacOSX).
The vCard standard ([(追記) [ (追記ここまで)rfc(追記) -2426| (追記ここまで)RFC2426(追記) ] (追記ここまで)]), has been broadly interoperably implemented (e.g. Apple's "Address Book" application built into MacOSX).
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.
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.
This specification introduces the '''hCard''' format, which uses a 1:1 representation of the properties and values of the aforementioned vCard standard, in semantic (削除) XHTML (削除ここまで). 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.
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.
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.
Use the [(追記) https (追記ここまで)://microformats.org/code/hcard/creator hCard creator] and copy the HTML code it generates to your blog or website to publish your contact info.
== (削除) Semantic XHTML Design Principles (削除ここまで)==
== (追記) Conformance (追記ここまで)==
{{(削除) semantic (削除ここまで)-(削除) xhtml (削除ここまで)-(削除) design-principles (削除ここまで)}}
{{(追記) rfc (追記ここまで)-(追記) 2119 (追記ここまで)-(追記) intro (追記ここまで)}}
== Format ==
== Format ==
=== In General ===
=== In General ===
The vCard standard ([(削除) http://www.ietf.org/ (削除ここまで)rfc(削除) /rfc2426.txt (削除ここまで)RFC2426]) forms the basis of hCard.
The vCard standard ([(追記) [ (追記ここまで)rfc(追記) -2426| (追記ここまで)RFC2426(追記) ] (追記ここまで)]) forms the basis of hCard.
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 (削除) XHTML (削除ここまで)elements.
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.
=== (削除) More Semantic Equivalents (削除ここまで)===
=== (追記) Root Class Name (追記ここまで)===
(削除) For some properties there are HTML elements which better match and convey their semantics. (削除ここまで)The (削除) following properties SHOULD be encoded with the following (X)HTML: (削除ここまで)
The (追記) root (追記ここまで)class (追記) name for an hCard is (追記ここまで)"(追記) vcard (追記ここまで)". (追記) An (追記ここまで)element with a class (追記) name (追記ここまで)of "(追記) vcard (追記ここまで)" (追記) is itself called (追記ここまで)an (追記) '' (追記ここまで)hCard(追記) '' (追記ここまで).
(削除) * <code>URL</code> in vCard becomes <code><a (削除ここまで)class(削除) = (削除ここまで)"(削除) url" href= (削除ここまで)".(削除) ..">...</a></code> inside the (削除ここまで)element with (削除) <code>class="vcard"</code> in hCard. (削除ここまで)
(削除) * Similarly, <code>EMAIL</code> in vCard becomes <code><nowiki><a class="email" href="mailto:...">...</ (削除ここまで)a(削除) ></nowiki></code> (削除ここまで)
(削除) * <code>PHOTO</code> in vCard becomes <code><img (削除ここまで)class(削除) ="photo" src="..." alt="Photo (削除ここまで)of (削除) ... (削除ここまで)" (削除) /></code> or <code><object class= (削除ここまで)"(削除) photo" data="..." type="...">Photo of ...</object></code> (削除ここまで)
(削除) * <code>UID</code> in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for (削除ここまで)an hCard.
(削除) === Singular vs. Plural Properties === (削除ここまで)
(削除) For (削除ここまで)properties (削除) which (削除ここまで)are (削除) singular (e (削除ここまで).(削除) g (削除ここまで). (削除) "N" (削除ここまで)and (削除) "FN"), (削除ここまで)the (削除) first descendant element with that class should take effect, any others being ignored (削除ここまで).
(追記) === Properties and Sub- (追記ここまで)properties (追記) === (追記ここまで)
(追記) 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 (追記ここまで).
(削除) For (削除ここまで)properties (削除) which can be plural (削除ここまで)((削除) e.g. "TEL" (削除ここまで))(削除) , each class instance should create a instance of that property. (削除ここまで)
(追記) === Property List === (追記ここまで)
(追記) hCard (追記ここまで)properties ((追記) sub-properties in parentheses like this (追記ここまで))
==== (削除) Singular properties (削除ここまで)==(削除) == (削除ここまで)
(追記) '''Required:''' (追記ここまで)
(追記) * <span id (追記ここまで)=(追記) "property-list-n">'''n'''<sup style (追記ここまで)=(追記) "font-size:smaller">[[#note1|1]]</sup></span> (追記ここまで)
(追記) ** family-name (追記ここまで)
(追記) ** given-name (追記ここまで)
(追記) ** additional-name (追記ここまで)
(追記) ** honorific-prefix (追記ここまで)
(追記) ** honorific-suffix (追記ここまで)
(追記) ** post-office-box (追記ここまで)
(追記) ** extended-address (追記ここまで)
(追記) ** street-address (追記ここまで)
(追記) ** locality (追記ここまで)
(追記) ** postal-code (追記ここまで)
(追記) ** country-name (追記ここまで)
(追記) * email (type, value) (追記ここまで)
(追記) ** latitude (追記ここまで)
(追記) ** longitude (追記ここまで)
(追記) * org (organization-name, organization-unit) (追記ここまで)
(追記) * sort-string (追記ここまで)
(追記) * <span id (追記ここまで)=(追記) "property-list-tel">tel<sup style (追記ここまで)=(追記) "font-size:smaller">[[#note2|2]]</sup> (type, value)</span> (追記ここまで)
(追記) * <span id (追記ここまで)=(追記) "property-list-tz">tz<sup style (追記ここまで)=(追記) "font-size:smaller">[[#note3|3]]</sup></span> (追記ここまで)
(削除) Singular properties: (削除ここまで)"(削除) FN (削除ここまで)"(削除) , (削除ここまで)"(削除) N (削除ここまで)", "(削除) BDAY (削除ここまで)"(削除) , (削除ここまで)"(削除) TZ (削除ここまで)", "(削除) GEO", (削除ここまで)"(削除) SORT (削除ここまで)-(削除) STRING", "UID", "CLASS" (削除ここまで). (削除) (削除ここまで)
(追記) === Property Notes === (追記ここまで)
(追記) <span id= (追記ここまで)"(追記) note1 (追記ここまで)"(追記) >[[#property-list-n|1. ^]]</span>: The 'n' property is {{optional}} if any [[hcard#Implied_.22n.22_Optimization|implied 'n' optimization rules]] are in effect.<br /> (追記ここまで)
(追記) <span id= (追記ここまで)"(追記) note2 (追記ここまで)"(追記) >[[#property-list-tel|2. ^]]</span>: tel - Authors {{may}} follow the [https://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 <code>abbr</code> to display letters and provide a numerical value simultaneously (追記ここまで), (追記) e.g. <code><nowiki><abbr title= (追記ここまで)"(追記) +15553676287 (追記ここまで)"(追記) >+1-555-FORMATS</abbr></nowiki></code>.<br /> (追記ここまで)
(追記) <span id= (追記ここまで)"(追記) note3 (追記ここまで)"(追記) >[[#property-list-tz|3. ^]]</span>: tz - timezones are indicated with the timezone offset (追記ここまで), (追記) e.g. <code>PST (<span class= (追記ここまで)"(追記) tz (追記ここまで)"(追記) > (追記ここまで)-(追記) 08:00</span>)</code> (追記ここまで).
(削除) All other (削除ここまで)properties (削除) are plural (削除ここまで). (削除) This list has 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 (削除ここまで).
(追記) === Singular vs. Plural Properties === (追記ここまで)
(追記) 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 (追記ここまで).
(削除) ==== Plural Properties Singularized ==== (削除ここまで)
(追記) All other properties {{may}} be (追記ここまで)plural(追記) . Each class instance of such properties creates (追記ここまで)a (追記) new instance of that (追記ここまで)property.
(削除) 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 (削除ここまで).
=== Human vs. Machine readable ===
=== Human vs. Machine readable ===
(追記) The human visible text contents of an element for a property represents the value of that property, with a few exceptions: (追記ここまで)
If an <code><abbr></code> element is used for a property, then the '<code>title</code>' attribute of the <code><abbr></code> element is the value of the property, instead of the contents of the element, which instead provide a human presentable version of the value. (削除) (削除ここまで)
If an <code><abbr></code> element is used for a property, then the '<code>title</code>' attribute (追記) (if present) (追記ここまで)of the <code><abbr></code> 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.
If an <code><a></code> element is used for one or more properties, it must be treated as follows:
If an <code><a></code> element is used for one or more properties, it (追記) {{ (追記ここまで)must(追記) }} (追記ここまで)be treated as follows:
# For the (削除) "PHOTO" (削除ここまで)property and any other property that takes a URL as its value, the <code>href="..."</code> attribute provides the property value.
# For the (追記) 'photo' (追記ここまで)property and any other property that takes a URL as its value, the <code>href="..."</code> attribute provides the property value.
# For other properties, the element's content is the value of the property.
# For other properties, the element's content is the value of the property.
If an <code><img></code> element is used for one or more properties, it must be treated as follows:
If an <code><img></code> element is used for one or more properties, it (追記) {{ (追記ここまで)must(追記) }} (追記ここまで)be treated as follows:
# For the (削除) "PHOTO" (削除ここまで)property and any other property that takes a URL as its value, the <code>src="..."</code> attribute provides the property value.
# For the (追記) 'photo' (追記ここまで)property and any other property that takes a URL as its value, the <code>src="..."</code> attribute provides the property value.
# For other properties, the <code><img></code> element's '<code>alt</code>' attribute is the value of the property.
# For other properties, the <code><img></code> element's '<code>alt</code>' attribute is the value of the property.
If an <code><object></code> element is used for one or more properties, it must be treated as follows:
If an <code><object></code> element is used for one or more properties, it (追記) {{ (追記ここまで)must(追記) }} (追記ここまで)be treated as follows:
# For the (削除) "PHOTO" (削除ここまで)property and any other property that takes a URL as its value, the <code>data="..."</code> attribute provides the property value.
# For the (追記) 'photo' (追記ここまで)property and any other property that takes a URL as its value, the <code>data="..."</code> attribute provides the property value.
# For other properties, the element's content is the value of the property.
# For other properties, the element's content is the value of the property.
=== Value excerpting ===
=== Value excerpting ===
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 "<code>value</code>" 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:<br />
Sometimes only part of an element which is the equivalent for a property (削除) should be (削除ここまで)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 "<code>value</code>" is (削除) introduced (削除ここまで)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:<br />
Line 92:
Line 204:
<(削除) pre><nowiki (削除ここまで)>
<(追記) source lang=html4strict (追記ここまで)>
<span class="tel">
<span class="tel">
<span class="type">home</span>:
<span class="type">home</span>:
<span class="value">+1.415.555.1212</span>
<span class="value">+1.415.555.1212</span>
</(削除) nowiki></pre (削除ここまで)>
</(追記) source (追記ここまで)>
This hCard fragment could be displayed as:
This hCard fragment could be displayed as:
Line 107:
Line 219:
(追記) You may want to customize/localize the visible punctuation and not want to include it in what machines see. Use multiple class="value" elements which are then concatenated. E.g. (追記ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(追記) <span class="tel"> (追記ここまで)
(追記) <span class="type">home</span>: (追記ここまで)
(追記) <span class="value">+1</span>.<span class="value">415</span>.<span class="value">555</span>.<span class="value">1212</span></span> (追記ここまで)
(追記) No change in display, but the parsed hCard property value then becomes in vCard: (追記ここまで)
(追記) <pre><nowiki> (追記ここまで)
(追記) TEL;TYPE=HOME:+14155551212 (追記ここまで)
(追記) </nowiki></pre> (追記ここまで)
(追記) <!-- note for Tantek: review/edit property casing from here on --> (追記ここまで)
=== Property Exceptions ===
=== Property Exceptions ===
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.
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.
# '''NAME''', '''PROFILE''', '''SOURCE''', '''PRODID''', '''VERSION''' properties (削除) as (削除ここまで)defined in Sections 2.1.2, 2.1.3, 2.1.4, 3.6.3, 3.6.9 of (削除) RFC (削除ここまで)2426. 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 <code><title></code> element in (削除) (X) (削除ここまで)HTML documents) to construct the NAME property, (削除) MAY (削除ここまで)output a PROFILE value of "<code>VCARD</code>" per (削除) RFC (削除ここまで)2426, (削除) 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 "3.0" (without quotes) per RFC2426 Section 3.6.9.
# (追記) 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 <code><title></code> element in HTML documents) to construct the NAME property, (追記) {{may}} (追記ここまで)output a PROFILE value of "<code>VCARD</code>" 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 "3.0" (without quotes) per (追記) [[rfc-2426| (追記ここまで)RFC2426(追記) ]] (追記ここまで)Section 3.6.9.
=== Organization Contact Info ===
=== Organization Contact Info ===
(削除) (削除ここまで)
If the "FN" and "ORG" (追記) (organization) (追記ここまで)properties have the exact same value (typically because they are set on the same element, e.g. class="fn org"), 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 "N" property, or set it (and any sub-properties) explicitly to the empty string "". Thus parsers (追記) {{ (追記ここまで)should(追記) }} (追記ここまで)handle the missing "N" property(追記) , (追記ここまで)in this case by implying empty values for all the "N" sub-properties.
If the "FN" and "ORG" properties have the exact same value (typically because they are set on the same element, e.g. class="fn org"), then the hCard represents contact information for a company or (削除) organization (削除ここまで)and should be treated as such. (削除) (削除ここまで)In this case the author (削除) MUST (削除ここまで)also (削除) NOT (削除ここまで)set the "N" property, or set it (and any sub-properties) explicitly to the empty string "". (削除) (削除ここまで)Thus parsers should handle the missing "N" property in this case by implying empty values for all the "N" sub-properties.
=== Implied "(削除) n (削除ここまで)" Optimization ===
=== Implied "(追記) N (追記ここまで)" Optimization ===
(追記) Although vCard requires that the "N" property be present, the authors of the vCard specification ([[rfc-2426|RFC2426]]) themselves do not include "N" properties in their vCards near the end of the spec (p.38). This apparent contradiction can be resolved by simply allowing the "FN" property to imply "N" property values in typical cases provided in the spec. We do so explicitly in hCard. (追記ここまで)
(削除) Although vCard requires that the "N" property be present, the authors of the vCard specification (RFC 2426) themselves do not include "N" properties in their vCards near the end of the spec (p.38). This apparent contradiction can be resolved by simply allowing the "FN" property to imply "N" property values in typical cases provided in the spec. We do so explicitly in hCard. (削除ここまで)
If "FN" and "ORG" are not the same (see previous section), and the value of the "FN" property is exactly two words (separated by whitespace), and there is no explicit "N" property, then the "N" property is inferred from the "FN" property. For "FN"s with either one word see below, and for three or more, the author (追記) {{must}} (追記ここまで)explicitly markup the "N", except for the organization contact info case, [(追記) [ (追記ここまで)hcard#Organization_Contact_Info(追記) | (追記ここまで)see above(追記) ] (追記ここまで)] for that.
If "FN" and "ORG" are not the same (see previous section), and the value of the "FN" property is exactly two words (separated by whitespace), and there is no explicit "N" property, then the "N" property is inferred from the "FN" property. For "FN"s with either one word see below, and for three or more, the author (削除) MUST (削除ここまで)explicitly markup the "N", except for the organization contact info case, [(削除) http://microformats.org/wiki/ (削除ここまで)hcard#Organization_Contact_Info see above] for that.
# The content of "FN" is broken into two "words" separated by whitespace.
# The content of "FN" is broken into two "words" separated by whitespace.
# The ''first'' word of the "FN" is interpreted as the "given-name" for the "N" property.
# The ''first'' word of the "FN" is interpreted as the "given-name" for the "N" property.
# The ''second/last'' word of the "FN" is interpreted as the "family-name" for the "N" property.
# The ''second/last'' word of the "FN" is interpreted as the "family-name" for the "N" property.
# Exception: If the first word ends in a "," comma (削除) OR if the second word is a single character (optionally followed by a period ".") (削除ここまで), then the first word (minus the comma at the end (削除) if any (削除ここまで)) is interpreted as the "family-name" and the second word is interpreted as the "given-name".
# Exception: If the first word ends in a "," comma, then the first word (minus the comma at the end) is interpreted as the "family-name" and the second word is interpreted as the "given-name".
This allows simplification in the typical case of people stating:
This allows simplification in the typical case of people stating:
* given-name (space) family-name
* given-name (space) family-name
* family-name (comma) given-name
* family-name (comma) given-name
(削除) * family-name (comma) given-name-first-initial (削除ここまで)
(削除) * family-name (space) given-name-first-initial (optional period) (削除ここまで)
=== Implied "nickname" Optimization ===
=== Implied "nickname" Optimization ===
(追記) 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 "nickname" optimization to handle this. (追記ここまで)
(追記) Similar to the implied "n" optimization, if "FN" and "ORG" are not the same, and the value of the "FN" property is exactly one word, and there is no explicit "N" property, then: (追記ここまで)
(削除) Due to the prevalence (削除ここまで)of the (削除) use of nicknames/handles/usernames on (削除ここまで)the (削除) Web in actual content published on (削除ここまで)the (削除) Web (e.g. authors of [[hReview|reviews]]), hCard also has an implied (削除ここまで)"(削除) nickname (削除ここまで)" (削除) optimization to handle this (削除ここまで).
(追記) # The content (追記ここまで)of the (追記) "FN" {{must}} be treated as a "nickname" property value. (追記ここまで)
(追記) # Parsers {{should}} handle (追記ここまで)the (追記) missing "N" property by implying empty values for all (追記ここまで)the "(追記) N (追記ここまで)" (追記) sub-properties (追記ここまで).
(削除) Similar to (削除ここまで)the implied (削除) "n" (削除ここまで)optimization, (削除) if "FN" and "ORG" are not the same, and the value of (削除ここまで)the "(削除) FN" property is exactly one word, and there is no explicit "N (削除ここまで)" (削除) property (削除ここまで), (削除) then (削除ここまで):
(追記) Though parsers {{must}} follow (追記ここまで)the implied (追記) nickname (追記ここまで)optimization, (追記) publishers {{should}} explicitly indicate (追記ここまで)the "(追記) nickname (追記ここまで)" (追記) even in this case (追記ここまで), (追記) e.g. (追記ここまで):
(削除) # The content of the (削除ここまで)"(削除) FN (削除ここまで)" (削除) is treated as a (削除ここまで)"nickname" (削除) property value. (削除ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(削除) # Parsers should handle the missing "N" property by implying empty values for all the "N" sub-properties. (削除ここまで)
(追記) <span class= (追記ここまで)"(追記) vcard (追記ここまで)"(追記) > (追記ここまで)
(追記) <span class= (追記ここまで)"(追記) fn (追記ここまで)nickname"(追記) >daveman692</span> (追記ここまで)
(削除) Note: the (削除ここまで)hCard may have additional explicit "nickname" property values in addition to the implied nickname.
(追記) The (追記ここまで)hCard (追記) {{ (追記ここまで)may(追記) }} (追記ここまで)have additional explicit "nickname" property values in addition to the implied nickname.
=== Implied "organization-name" Optimization ===
=== Implied "organization-name" Optimization ===
The "ORG" property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name. Thus if an "ORG" property has no "organization-name" inside it, then its entire contents (追記) {{must}} (追記ここまで)be treated as the "organization-name".
The "ORG" property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name. Thus if an "ORG" property has no "organization-name" inside it, then its entire contents (削除) MUST (削除ここまで)be treated as the "organization-name".
=== Tags as Categories ===
=== Tags as Categories ===
(追記) 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. (追記ここまで)
(削除) Categories in hCard can optionally 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. (削除ここまで)
=== type subproperty values ===
(削除) === Root Class Name === (削除ここまで)
(削除) The root class name for an hCard is "vcard". (削除ここまで)
(削除) === Property List === (削除ここまで)
(削除) This is the list of properties (and subproperties, in parentheses, like this) in hCard, taken from vCard: (削除ここまで)
(削除) * fn, n (family-name, given-name, additional-name, honorific-prefix, honorific-suffix), nickname, sort-string (削除ここまで)
(削除) * url, email (type, value), tel (type, value) (削除ここまで)
(削除) * adr (post-office-box, extended-address, street-address, locality, region, postal-code, country-name, type, value), label (削除ここまで)
(削除) * geo (latitude, longitude), tz (削除ここまで)
(削除) * photo, logo, sound, bday (削除ここまで)
(削除) * title, role, org (organization-name, organization-unit) (削除ここまで)
(削除) * category, note (削除ここまで)
(削除) * class, key, mailer, uid, rev (削除ここまで)
(削除) = (削除ここまで)=== type subproperty values ===(削除) = (削除ここまで)
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 "Home" is the same as "home", as well as multivalued, e.g. a tel can be home and preferred:
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 "Home" is the same as "home", as well as multivalued, e.g. a tel can be home and preferred:
Line 180:
Line 293:
<(削除) pre><nowiki (削除ここまで)>
<(追記) source lang=html4strict (追記ここまで)>
<span class="tel"><span class="type">Home</span> (<span class="type">pref</span>erred):
<span class="tel"><span class="type">Home</span> (<span class="type">pref</span>erred):
<span class="value">+1.415.555.1212</span>
<span class="value">+1.415.555.1212</span>
</(削除) nowiki></pre (削除ここまで)>
</(追記) source (追記ここまで)>
This could be displayed as:
This could be displayed as:
Line 194:
Line 307:
The following lists are ''informative''. See (削除) RFC (削除ここまで)2426 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.
(追記) ==== type with unspecified value ==== (追記ここまで)
(追記) 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. (追記ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(追記) <span class="tel"><span class="type">Home</span> +1.415.555.1212</span> (追記ここまで)
(追記) is equivalent to: (追記ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(追記) <span class="tel"><span class="type">Home</span><span class="value"> +1.415.555.1212</span></span> (追記ここまで)
(追記) And thus the type is "home" and the value is "+1.415.555.1212". (追記ここまで)
(追記) ==== adr tel email types ==== (追記ここまで)
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.
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref
* adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, car, isdn, pcs
* tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, (追記) [https://flickr.com/photos/tags/carcellphone/ (追記ここまで)car(追記) ] (追記ここまで), isdn, pcs
* email type: INTERNET, x400, pref(削除) , "other IANA registered address types" (削除ここまで)
* email type: INTERNET, x400, pref
=== (削除) XMDP (削除ここまで)Profile ===
=== Profile ===
(追記) The hCard <span id="XMDP_Profile">XMDP profile</span> is at http://microformats.org/profile/hcard (追記ここまで)
(削除) See [[ (削除ここまで)hcard(削除) - (削除ここまで)profile(削除) ]] for the [ (削除ここまで)http://(削除) gmpg (削除ここまで).org/(削除) xmdp XMDP] (削除ここまで)profile (削除) of (削除ここまで)hCard (削除) which contains (削除ここまで)the above (削除) complete list of properties, with references to their RFC 2426 definitions (削除ここまで).
(追記) Content that uses hCard {{should}} reference this profile, e.g. (追記ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(追記) <link rel="profile" href="http://microformats.org/profile/ (追記ここまで)hcard(追記) "> (追記ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(追記) This content uses <a rel=" (追記ここまで)profile(追記) " href=" (追記ここまで)http://(追記) microformats (追記ここまで).org/profile(追記) /hcard"> (追記ここまで)hCard(追記) </a>. (追記ここまで)
(追記) <source lang=html4strict> (追記ここまで)
(追記) <head profile="http://microformats.org/profile/hcard"> (追記ここまで)
(追記) (profile attribute is deprecated in HTML5) (追記ここまで)
(追記) Content may combine (追記ここまで)the above (追記) methods as well (追記ここまで).
=== Parsing Details ===
=== Parsing Details ===
Line 221:
Line 364:
N:Çelik;Tantek
N:Çelik;Tantek
FN:Tantek Çelik
FN:Tantek Çelik
URL:(削除) http (削除ここまで)://tantek.com/
URL:(追記) https (追記ここまで)://tantek.com/
(削除) ORG:Technorati (削除ここまで)
</nowiki></pre>
</nowiki></pre>
Line 228:
Line 370:
and an equivalent in hCard with various elements optimized appropriately. See [[hcard-example1-steps| hCard Example 1]] for the derivation.
and an equivalent in hCard with various elements optimized appropriately. See [[hcard-example1-steps| hCard Example 1]] for the derivation.
<(削除) pre><nowiki (削除ここまで)>
<(追記) source lang=html4strict (追記ここまで)>
<div class="vcard">
<div class="vcard">
<a class="url fn" href="(削除) http (削除ここまで)://tantek.com/">Tantek Çelik</a(削除) > (削除ここまで)
<a class="url fn" href="(追記) https (追記ここまで)://tantek.com/">Tantek Çelik</a>
(削除) <div class="org">Technorati</div (削除ここまで)>
</(削除) nowiki></pre (削除ここまで)>
</(追記) source (追記ここまで)>
This hCard might be displayed as:
This hCard might be displayed as:
<div style="border: thin dashed black; width: 95%; padding: .5em 1em;">
<div style="border: thin dashed black; width: 95%; padding: .5em 1em;">
[(削除) http (削除ここまで)://tantek.com/ Tantek Çelik](削除) <br /> (削除ここまで)
[(追記) https (追記ここまで)://tantek.com/ Tantek Çelik]
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 <head> element.
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 <head> element.
=== (削除) More Examples (削除ここまで)===
===(追記) Live example (追記ここまで)===
(削除) See (削除ここまで)[(削除) [hcard-examples (削除ここまで)](削除) ] for more examples (削除ここまで), (削除) including all examples from vCard RFC 2426 converted into (削除ここまで)hCard(削除) . (削除ここまで)
(追記) 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: (追記ここまで)
== (削除) Examples in the wild (削除ここまで)==
(追記) <div class (追記ここまで)=(追記) "vcard"> (追記ここまで)
(削除) This section is (削除ここまで)'''(削除) informative (削除ここまで)'''.
(追記) <div class (追記ここまで)=(追記) "fn org">'''CommerceNet'''</div> (追記ここまで)
(追記) <div class="url">'''<nowiki>http://www.commerce.net/</nowiki>'''</div> (追記ここまで)
(追記) <div class="adr">'''<span class (追記ここまで)=(追記) "type">Work</span>:''' (追記ここまで)
(追記) <div class (追記ここまで)=(追記) "street-address">'''169 University Avenue'''</div> (追記ここまで)
(追記) <span class="locality">'''Palo Alto'' (追記ここまで)'(追記) </span>, <span class="region"> (追記ここまで)'''(追記) CA (追記ここまで)''(追記) '</span> <span class="postal-code">'''94301'''</span> (追記ここまで)
(追記) <div class="country-name">'''USA'''</div> (追記ここまで)
(追記) <div class="tel">'''<span class="type">Work</span> +1-650-289-4040'''</div> (追記ここまで)
(追記) <div class="tel">'''<span class="type">Fax</span> +1-650-289-4041'''</div> (追記ここまで)
(追記) <div>'''Email <span class="email"><nowiki>info@commerce (追記ここまで).(追記) net</nowiki></span>'''</div> (追記ここまで)
The (削除) following sites have published hCards (削除ここまで), (削除) and thus are a great place to start (削除ここまで)for (削除) anyone looking for examples "in (削除ここまで)the (削除) wild" to try parsing, indexing, organizing etc. If you have an hCard on your own page, feel free to add it (削除ここまで)to the (削除) top of this list. Once (削除ここまで)the (削除) list grows too big, we'll make a separate wiki page. (削除ここまで)
The (追記) mark-up (追記ここまで), (追記) emboldening omitted (追記ここまで)for (追記) clarity, with (追記ここまで)the (追記) following semantic improvements: (追記ここまで)
(追記) * <code>abbr</code> (追記ここまで)to (追記) expand abbreviations (追記ここまで)
(追記) * hyperlinking (追記ここまで)the (追記) org name with (追記ここまで)the (追記) url (追記ここまで)
==(削除) = New Examples === (削除ここまで)
(追記) <source lang (追記ここまで)=(追記) html4strict> (追記ここまで)
(削除) Please add new examples to this section. (削除ここまで)
(追記) <div class (追記ここまで)=(追記) "vcard"> (追記ここまで)
(削除) * [http://mybank.com myBank.com] uses hCard for its listings of every branch of every FDIC-insured bank in the United States. (削除ここまで)
(追記) < (追記ここまで)a (追記) class="fn (追記ここまで)org (追記) url (追記ここまで)" (追記) href= (追記ここまで)"http://www.(追記) commerce (追記ここまで).(追記) net (追記ここまで)/(追記) ">CommerceNet< (追記ここまで)/a(追記) > (追記ここまで)
(削除) * [http://leftlogic.com Left Logic] uses hCard for embedded contact information. (削除ここまで)
(追記) <div (追記ここまで)class="(追記) adr (追記ここまで)"(追記) > (追記ここまで)
(削除) * [http://inga-art.co.uk/artist Inga Scholes] uses hCard for contact information in the sidebar. (削除ここまで)
(追記) <span class (追記ここまで)=(追記) "type">Work< (追記ここまで)/(追記) span> (追記ここまで):
(削除) * [http://www.lussumo.com/ Lussumo] uses hCards on user profile pages in its open-source [http://www.getvanilla.com/ Vanilla] Discussions Forum software. (削除ここまで)
(追記) <div class="street (追記ここまで)-(追記) address">169 (追記ここまで)University (追記) Avenue< (追記ここまで)/(追記) div> (追記ここまで)
(削除) * [http://www.creative-ways.nl/ Ron Kok] uses hCards to mark-up the names and URLs of commentors on his blog. He also uses hCards in combination with XFN in his blogposts to refer to friends, and has an hCard for himself in the footer of his blog. (削除ここまで)
(追記) <span class (追記ここまで)=(追記) "locality">Palo Alto< (追記ここまで)/(追記) span> (追記ここまで),
(削除) * The [http://www.westmidlandbirdclub.com/ West Midland Bird Club] in the English Midlands uses hCard on its [http://www.westmidlandbirdclub.com/ home page], [http://www.westmidlandbirdclub.com/diary/ events diary] and [http://www.westmidlandbirdclub.com/club/contact.htm contact pages]. The former is (削除ここまで)a (削除) page footer which is gradually being rolled out across the whole site. (削除ここまで)
(追記) (追記ここまで)<(追記) abbr class="region" title="California" (追記ここまで)>(追記) CA (追記ここまで)<(追記) /abbr (追記ここまで)>(追記) (追記ここまで)
(削除) * [http://tagg.no Tagg Media] uses hCard for contact information and provide link to vCard download in the contact section. (削除ここまで)
(追記) (追記ここまで)<(追記) span class="postal- (追記ここまで)code(追記) " (追記ここまで)>(追記) 94301 (追記ここまで)<(追記) /span (追記ここまで)>
(削除) * [http://en.wikipedia. (削除ここまで)org(削除) /wiki/Neo_%28The_Matrix%29 Thomas A Anderson in Wikipedia] is now marked up with hCard. (削除ここまで)
(追記) (追記ここまで)<(追記) div class="country-name" (追記ここまで)>(追記) USA (追記ここまで)</(追記) div (追記ここまで)>
(削除) * [http://dconstruct06.madgex.com/ d.Construct 2006 Backnetwork] uses hCards for conference delegates (and provides the markup so that delegates can copy and paste cards into their own sites). (削除ここまで)
(追記) < (追記ここまで)/(追記) div> (追記ここまで)
(削除) * [http://www.brown.edu Brown University] now uses hCard on the front page (削除ここまで)
(追記) <div class="tel"> (追記ここまで)
(削除) * [http://www.wideblueyonderweb.co.uk Dunks at Wide Blue Yonder Web Design] has added hCard markup on his [http://www.wideblueyonderweb.co.uk/wbyw/pages/contact.htm contact page] and is looking to implement it on all past & future contact pages for clients. (削除ここまで)
(追記) <span class (追記ここまで)=(追記) "type">Work< (追記ここまで)/(追記) span> + (追記ここまで)1-(追記) 650 (追記ここまで)-(追記) 289 (追記ここまで)-(追記) 4040 (追記ここまで)
(削除) * [http://southamptonrubberstamp.com Southampton Rubber Stamp Company] now has hCard markup with a vCard download link on every page. (削除ここまで)
(追記) < (追記ここまで)/(追記) div> (追記ここまで)
(削除) * [http://barefoot-ceramics.com Barefoot Ceramics paint your own pottery studio] (in Newport, South Wales) has added hCard markup to its [http://barefoot-ceramics.com/find#address (削除ここまで)"(削除) Find (削除ここまで)"(削除) ] page and other address instances. They hopes to implement hCalendar event lists as soon as an ics to hCalendar PHP class can be found or written. (削除ここまで)
(追記) <div class="tel (追記ここまで)"(追記) > (追記ここまで)
(削除) * IBM is embracing microformats. The [ (削除ここまで)http://www.(削除) ibm (削除ここまで).(削除) com (削除ここまで)/(削除) contact (削除ここまで)/(削除) employees/ IBM Employee Directory] now returns hcards in its query results. Also see the [http://www.ibm.com/shortcuts/ Shortcuts Podcast]. (削除ここまで)
(追記) <span class= (追記ここまで)"(追記) type (追記ここまで)"(追記) >Fax< (追記ここまで)/(追記) span> (追記ここまで)+(追記) 1 (追記ここまで)-(追記) 650 (追記ここまで)-(追記) 289 (追記ここまで)-(追記) 4041 (追記ここまで)
(削除) * [http://dsingleton.co.uk/ David Singleton] has added (削除ここまで)a (削除) hCard to his blog. (削除ここまで)
(追記) < (追記ここまで)/(追記) div> (追記ここまで)
(削除) * [http://krisswatt.co.uk/ Kriss Watt] has hidden an hCard his blog footer. (削除ここまで)
(追記) <div>Email (追記ここまで):
(削除) * [http://www.thestreet.org.au The Street Theatre (Canberra, Australia)] has added hCard markup to its [http://www.thestreet.org.au/contact.htm Contact Us] page. hCalendar markup will soon be added for all of our performances. (削除ここまで)
(追記) <span class="email"> (追記ここまで)info@(追記) commerce (追記ここまで).net(追記) < (追記ここまで)/(追記) span> (追記ここまで)
(削除) * [http://www.informatik.uni-hamburg.de/SVS/personnel/henrich/index.php Henrich C. Pöhls] has marked up his about page using hcard, including his PGP-Key that is stored in an abbr title, using (削除ここまで)class=(削除) key. (削除ここまで)
(追記) < (追記ここまで)/(追記) div> (追記ここまで)
(削除) * [http://www.yalf.de Yalf Webentwicklung] has [http://www.yalf.de/kontakt contact information] available as hCard (and vCard). (削除ここまで)
(追記) < (追記ここまで)/(追記) div> (追記ここまで)
(削除) * [http://www.zeldman.com/about/ Jeffrey Zeldman]. Jeffrey Zeldman has marked up his about page using hcard. (削除ここまで)
(追記) < (追記ここまで)/(追記) source> (追記ここまで)
(削除) * [http://WhereAreYouCamping.com Where Are You Camping]. hCards for all members and camps, employing the include pattern as well. AFAIK this is the first Burning Man related microformats implementation, not to mention addresses in Black Rock City. (削除ここまで)
(削除) * [http://www.clacksweb.org.uk Clackmannanshire Council ]. hCard is implemented for all contact details across the site, and for specific individuals such as elected members (Councillors). (削除ここまで)
(削除) * [http://www.webdirections.org Web Directions ]. hCard is used as contact information for the conference, while speakers are marked up with hCard. (削除ここまで)
(削除) * [http://www.markthisdate.com/contactform.html MarkThisDate.com ]. An hCard is implemented on our contactform. For our calendars hCalendars will follow as soon as possible. (削除ここまで)
(削除) * [http://www.msiinet.com/contact/ MSI Systems Integrators] has its "Contact MSI" page encoded with hCards. (削除ここまで)
(削除) * [http://www.coolblue.nl/ Corporate website of Coolblue BV]. hCards were implemented in both the footer of each page, and in the (削除ここまで)"(削除) News (削除ここまで)" (削除) section for press contact information. (削除ここまで)
(削除) * [http://www.besancon.fr/index.php?p (削除ここまで)=(削除) 32 Official site of Besançon (France)] uses hCard for each page concerning the small towns surrounding Besançon. (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /2006.dconstruct.org/speakers/ d.Construct 2006 conference speakers list] is implemented using hCards. (削除ここまで)
(削除) * [http (削除ここまで):(削除) //local.yahoo.com Yahoo Local] now supports hCards for business and places in the search results (削除ここまで)
(削除) * [http://learningtheworld.eu/imprint/ Learning the World] has hcard information on the imprint, alas we didn't succeed to mark (削除ここまで)-(削除) up the work phone and fax numbers properly. (削除ここまで)
(削除) * The [http://www.fuckparade.org F’parade] website uses hcard, though I didn't find a type to distinguish mobile and landline phone numbers. (削除ここまで)
(削除) * [http://www.miranet.nl/contact.htm Miranet Webdesign] have added a hcard to their [http://www.miranet.nl/contact.htm 'contact' page] (削除ここまで)
(削除) * [http://weblog.200ok.com.au/ Ben Buchanan] has added a vCard to the [http://weblog.200ok.com.au/about/ 'About' page on The 200ok Weblog] (削除ここまで)
(削除) * [http://www.radiantcore.com Radiant Core] has their contact information [http://www.radiantcore.com/contact/ available in hCard]. (削除ここまで)
(削除) * [http://www.mikerumble.co.uk/ Mike Rumble] has [http://www.mikerumble.co.uk/contact.html uploaded his hCard]. (削除ここまで)
(削除) * [http://www.saumag.edu/ Southern Arkansas (削除ここまで)University(削除) ] has its contact footer encoded as hCard (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /main.uab.edu/ University of Alabama at Birmingham] has its contact footer encoded as hCard (削除ここまで)
(削除) * [http://www.capital.edu Capital University] has contact footer and bloggers' names encoded as hCard. Also, all page-specific contact information is encoded as hCards (see [http://www.capital.edu/Internet/Default.aspx?pid (削除ここまで)=(削除) 67 Admissions] page for an example) (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /main.uab.edu/shrp/ UAB School of Health Professions] uses hCard in its contact footer (削除ここまで)
(削除) * [http://green.carisenda.com/ Stephen Stewart] has his hCard on the front page of his weblog ('You are here' section) (削除ここまで)
(削除) * [http://www.fberriman.com/ Frances Berriman] has a hidden vCard in the footers of her website. (削除ここまで)
(削除) * [http://www.candlescience.com/ CandleScience Candle Supply] added a hidden hcard sitewide. (削除ここまで)
(削除) * [http://www.direction.es/ Direction] uses hCard for contact information. (削除ここまで)
(削除) * [http://audiobank.tryphon.org AudioBank] uses hCard to display member informations. (削除ここまで)
(削除) * [http://www.vivabit.com/atmedia2006/speakers/ @media speakers] are marked up with hCard (photos depend on BASE tag support which makes this a good test case) (削除ここまで)
(削除) * [http://www.dougransom.com Doug Ransom] uses hCard for his financial advisory practice. (削除ここまで)
(削除) * [http://rubyandrails.org/usergroups/newcastle/members.html ncl.rb] uses hCard for contact information. (削除ここまで)
(削除) * [http://www.snowinteractive.com/ Snow Interactive] uses hCard for contact information. (削除ここまで)
(削除) * [http://flickr.com Flickr] now supports [[hcard|hCard]] and [http://gmpg.org/xfn XFN] on profile pages. See [http://flickr.com/photos/factoryjoe/113866484/ screenshot of Flickr UI in Flock browser using Flocktails extension - March 17th 2006]. (削除ここまで)
(削除) * [http://www.ndiyo.org/contact Contact information for the Ndiyo project] (削除ここまで)
(削除) * [http://www.pixelenvy.co.uk/ Pixel Envy] uses hCard for contact information on every page (削除ここまで)
(削除) * [http://stilbuero.de/contact/ Klaus Hartl] uses hCard in the sidebar for contact information (maybe easier to parse through delivering xhtml as xml). (削除ここまで)
(削除) * [http://charlvn.virafrikaans.com/contact Charl van Niekerk's hCard] (削除ここまで)
(削除) * [http://billy-girlardo.com/WP/ BillyBLOGirlardo] uses hCard for contact information. (削除ここまで)
(削除) * [http://www.hicksdesign.co.uk/ Hicksdesign] uses hCard for contact information. (削除ここまで)
(削除) * http://www.gr0w.com/articles/press/growsearch_launched_press_release/ - hCard in a press release for the press contact info (削除ここまで)
(削除) * http://www.redmonk.com/cote/archives/2006/03/testing_out_mic.html - hCard with explanation (削除ここまで)
(削除) * [http://andy.ciordia.info/ it's my island], personal blog, hcard on the ''[http://andy.ciordia.info/pages/about_me About the Writer]'' page. [[User:Ciordia9|Andy Ciordia]] (削除ここまで)
(削除) * [http://www.windowonwoking.org.uk/ Window on Woking], a local community site in the UK, uses hCard in the homepage of each member organisation and local Councillor. (削除ここまで)
(削除) * [http://ChunkySoup.net/ ChunkySoup.net] has redesigned using hAtom 0.1 and hCards on the entire site -- by [[User:ChrisCasciano|Chris Casciano]] (削除ここまで)
(削除) * [http://www.30boxes.com/ 30 Boxes],a social calendar application and digital lifestyle aggregator (削除ここまで), (削除) automatically creates an hcard for you with your account. (削除ここまで) (削除) It is found under Settings > Syndication. (削除ここまで)
(削除) * [http://www.nearwhere.com/ Nearwhere.com] allow you to put an hcard on an interactive map. (削除ここまで)
(削除) * [http://www.brentozar.com/ Brent Ozar] added a [http://www.brentozar.com/contact.php contact] page hCard. (削除ここまで)
(削除) * [http://www.kerihenare.com/ Keri Henare] has rewritten his [http://www.kerihenare.com/contact/ contact] page hCard. Now using (削除ここまで)<(削除) code (削除ここまで)><(削除) object (削除ここまで)><(削除) / (削除ここまで)code> (削除) instead of (削除ここまで)<(削除) code (削除ここまで)><(削除) img (削除ここまで)></(削除) code (削除ここまで)> (削除) for photo. (Thanks Brian Suda for updating the vCard converter) (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /michaelraichelson.com/contact/ Michael Raichelson] had an hCard on his contact page before SXSW, but never thought to add it here until Tantek requested it. (削除ここまで)
(削除) * [http://www.commoner.com/~lsimon/lindsey_simon_hcard.html Lindsey Simon] has added an hCard to his website as per Tantek's SXSW request for folks to try it (削除ここまで)
(削除) * [http://www.davidgagne.net/ David Gagne] has an hCard in his sidebar. (削除ここまで)
(削除) * [http://www.churchzip.com/map/ Churchzip.com/map] and [http://www.skiwhere.com/map/ Skiwhere.com/map], provide churches, hotels, and ski resorts on the same maps. Locations are formatted as hcards. (削除ここまで)
(削除) * All [http://www.iqdir.com/ IQ Directory Solutions] Yellow Pages web portals use [[hcard|hCard]] markup on listings. For example [http://www.yellowpages-cambodia.com/ Cambodia Yellow Pages] and [http://www.superpages.com.my/ Malaysia Super Pages] (削除ここまで)
(削除) * Ning's cloneable Group app uses fuzzy matching to map custom fields to [[hcard|hCard]] markup on its [http://group.ning.com/index.php?controller (削除ここまで)=(削除) person&action=view&content=JonathanAquino profile] pages. (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /claimid.com/factoryjoe Chris Messina' ClaimID hCard] (削除ここまで)
(削除) * [http://factoryjoe.com/blog/hcard Chris Messina' hCard] (削除ここまで)
(削除) * [http://flock.com/about Flock About] (削除ここまで)
(削除) * [http://tantek.com/microformats/2006/03-01-TechPlenAgenda.html Agenda: W3C Technical Plenary Day, March (削除ここまで)1 (削除) 2006] has [[hcard|hCard]] and [[hcalendar|hCalendar]] markup. ([http://www.w3.org/2006/03/01-TechPlenAgenda.html original here]). (削除ここまで)
(削除) * [http://www.gr0w.com/articles/press/growsearch_launched_press_release/ GrowSearch Launched (Press Release)] uses an hCard to provide Press Contact Point. (削除ここまで)
(削除) * The [http://www.arborday.org/ National Arbor Day Foundation] has started using hCards for their [http://arborday.org/programs/conferences/communityforestry/index.cfm upcoming] [http://arborday.org/programs/conferences/hazardtrees-treeplanting/ conferences]. (削除ここまで)
(削除) * [http://www.multipack.co.uk The Multipack] has numerous hCards, especially on the [http://www.multipack.co.uk/members/ members page], as well as the next meeting information. (削除ここまで)
(削除) * [http://deadringrancor.livejournal.com/ Justin McDowell] used an hCard when [http://deadringrancor.livejournal.com/221332.html referring to a person in his blog post] (削除ここまで)
(削除) * [http://davecardwell.co.uk/cv/ Dave Cardwell] has included his hCard in his Curriculum Vitae. (削除ここまで)
(削除) * [http://blog.usweb.com/ Shaun Shull] has written a great post on [http://blog.usweb.com/archives/how (削除ここまで)-(削除) microformats (削除ここまで)-(削除) affect (削除ここまで)-(削除) search-engine-optimization-seo How Microformats Affect SEO], and has included his [[hcard|hCard]] as one of the examples. (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /www.thefutureoftheweb.com/ Jesse Skinner] has written a simple [http://www.thefutureoftheweb.com/blog/2006/1/hcard tutorial with examples] (削除ここまで)
(削除) * [http://www.w3.org/2005/12/allgroupoverview.html 2006 W3C Technical Plenary Week] has marked up the venue, contacts, and program committee members all with hCard. (削除ここまで)
(削除) * [http://www.avf-nexus.co.uk AVF-Nexus] have a hCard on their [http://www.avf-nexus.co.uk/contact/ contact page] - (by [http://creation.uk.com Creation (削除ここまで)"(削除) ]) (削除ここまで)
(削除) * [http://www.thefantasticos.com/andrew/ Andrew White] posted [http://www.thefantasticos.com/andrew/index.php/my-hcard/ his hCard] and [http://www.thefantasticos.com/andrew/index.php/62/microformats-the-should-have-been-obvious-web-dev-tool/ blogged about it]. (削除ここまで)
(削除) * [http://www.2sheds.ru Oleg (削除ここまで)"(削除) 2sheds (削除ここまで)" (削除) Kourapov] in his [http: (削除ここまで)/(削除) /www.2sheds.ru/blog/ blog] ([http://suda.co.uk/projects/X2V/get-vcard.php?uri=http://www.2sheds.ru/blog X2V]) has turned personal profile into hCard ([http://suda.co.uk/projects/X2V/get-vcard.php?uri=http://www.2sheds.ru/blog/hcard.html X2V]) and his blogroll - into combination XFN/hCards ([http://suda.co.uk/projects/X2V/get-vcard.php?uri=http://www.2sheds.ru/blog/friends.html X2V]) (削除ここまで)
(削除) * [http://www.approveddesign.co.uk Approved Design Consultancy] have a hCard on their [http://www.approveddesign.co.uk/about/contact/ contact page] as well as on their [http://www.approveddesign.co.uk/about/people/ people section] - (by [http://creation.uk.com Creation"]) (削除ここまで)
(削除) * [http://weblog.200ok.com.au/ Ben Buchanan] and [http://www.griffith.edu.au/cgi-bin/phone_search.pl?string=colin (削除ここまで)+(削除) morris&format=search Colin Morris] have [http://weblog.200ok.com.au/2006/01/griffith-phonebook (削除ここまで)-(削除) adds (削除ここまで)-(削除) hcard (削除ここまで)-(削除) and.html implemented hCards and vCards] for the [http://www.griffith.edu.au Griffith University] [http://www.griffith.edu.au/find/content_phonebook.html online phone book]. Eg. [http://www.griffith.edu.au/cgi-bin/phone_search.pl?string=ben+buchanan&format=search Ben's vCard] and [http://www.griffith.edu.au/cgi-bin/phone_search.pl?string=colin+morris&format=search Colin's vCard] (削除ここまで)
(削除) * WWF-Australia [http: (削除ここまで)/(削除) /wwf.org.au/about/contactdetails/ contact details page] (削除ここまで)
(削除) * [http (削除ここまで):(削除) //rasterweb.net/raster/ Pete Prodoehl] used the hCard format on his [http://rasterweb.net/raster/contact.html Contact page] and his [http://rasterweb.net/portfolio/ Portfolio] (削除ここまで)
(削除) * [http://alexander-mette.de amette] uses the hCard format in a module of his TikiWiki powered blog (削除ここまで)
(削除) * [http://staff.washington.edu/oren/weblog2/ Oren Sreebny] has an hcard on his blog main index template (削除ここまで)
(削除) * [http://www.cs.brandeis.edu/~zippy/ Patrick Tufts] has an hCard on his homepage. (削除ここまで)
(削除) * [http://ascii20.blogspot.com/ Mathias Kolehmainen and Jamie Taylor] have hCards on their weblog. (削除ここまで)
(削除) * [http://www.hoppsan.org/jamesb/blogger/ Barnaby James] has a hCard on his weblog. (削除ここまで)
(削除) * [http://esa-education.com/schools/map ESA Education] Uses hCards for their 100+ schools and each of the individual school sites. (削除ここまで)
(削除) * [http://www.thereisnocat.com/#vcard Ralph Brandi] has added an hCard to the sidebar of his weblog as a result of Tantek Çelik's portion of the Microformats presentation at SXSW 2006. (削除ここまで)
(削除) * [http://www.pierce.ctc.edu/ephone/ Pierce College] -- community college directory uses hCard on all individual directory entries. (削除ここまで)
(削除) * [http://www.ukoln.ac.uk/web-focus/events/workshops/webmaster-2006/ the Institutional Web Management Workshop 2006] have marked up all their [http://www.ukoln.ac.uk/web-focus/events/workshops/webmaster-2006/committee/ speakers with hCard]. (削除ここまで)
(削除) * http://wikitravel.org/en/Singapore/Sentosa. Wikitravel is experimenting with hcard on its travel guides. This guide uses hcard for all its business listings. More (削除ここまで)info (削除) on http://wikitravel.org/en/Wikitravel_talk:Listings. (削除ここまで)
(削除) * [http://www.musik-erber.de/ Musik-Erber] uses to present contact information at the sidebar (削除ここまで)
(削除) * [http://cdevroe.com/about/#contact Colin D. Devroe] uses hCard to display his contact information on his about page (削除ここまで)
(削除) * The ECS (Scool of Electronics and Computer Science at the University of Southampton) [http://www.ecs.soton.ac.uk/people People Pages] use vCard. Contact cjg@ecs.soton.ac.uk if there's any bugs. (削除ここまで)
(削除) * [http://www.southwestern.edu/~ramseyp Pat Ramsey] has his contact information on his blog marked up with hCard. Contact [mailto:ramsey.pat@gmail.com ramsey.pat (削除ここまで)@(削除) gmail.com] if there are any bugs there. (削除ここまで)
(削除) * [http://www.meryl (削除ここまで).net/ (削除) Meryl K. Evans] has a hidden hCard on her homepage. (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /www.vyre.com/company/contact-us/ VYRE] is a CMS development company with a "contact us" hCard (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /www.lefdal.cc/info.php Alf Kåre Lefdal] uses hCard in the markup of his contact information (削除ここまで)
(削除) * [http: (削除ここまで)/(削除) /www.pignwhistle.com.au/ Pig N Whistle, a chain of pubs in Brisbane, Australia] is using hcard to mark up all the contact pages for its outlets and head office (削除ここまで)
(削除) * [http://kollitsch.de/ Patrick Kollitsch] has built his personal Profil as hCard (削除ここまで)
(削除) * [http://www.hbs.edu/faculty/dspar/ Harvard Business School] has hCards on their faculty pages (削除ここまで)
(削除) * [http://openmikes.org/ openmikes.org] uses hCards for open mike venue addresses in its listing detail pages. (削除ここまで)
(削除) * [http://www.intertecnollc.com/ InterTecno, LCC] publishes an hCard on the home page and contact page. (削除ここまで)
(削除) * [http://canaltcm.com/ver/sobre-tcm Turner Classic Movies TCM spanish website] has published contact details as a hCard (削除ここまで)
(削除) * [http://rejuvenation.com/ Rejuvenation] is now using hCard for contact information. (削除ここまで)
(削除) * [http://www.mattash.com/contact/ Matthew Ash] uses the hCard in his contacts section. (削除ここまで)
=== Examples ===
=== (追記) More (追記ここまで)Examples ===
(削除) * (削除ここまで)[(削除) http://shiftingpixel.com/about/the-artist shifting pixel photoblog] has published an hCard. (削除ここまで)
(追記) See (追記ここまで)[[(追記) hcard (追記ここまで)-(追記) examples| (追記ここまで)hCard (追記) examples (追記ここまで)]] for more (追記) examples (追記ここまで), (追記) including all examples (追記ここまで)from (追記) vCard (追記ここまで)[[(追記) rfc (追記ここまで)-(追記) 2426|RFC2426 (追記ここまで)]] converted (追記) into (追記ここまで)hCard.
(削除) * (削除ここまで)[(削除) http://thoughtport.blogspot.com/ Aiden Kenny] hasn't published his hCard yet, but he has [http://thoughtport.blogspot.com/2005/07/elemental (削除ここまで)-(削除) particles-of-web.html published his (削除ここまで)hCard (削除) icon (削除ここまで)](削除) : http://photos1.blogger.com/blogger/4224/444/320/AK-Hcard-icon.gif (削除ここまで)
(削除) * [http://thedredge.org Andy Hume (削除ここまで)] (削除) uses hCards to mark-up the names and URLs of commentors on his blog, e.g. his [http://thedredge.org/2005/06/using-hcards-in-your-blog/ blog post on "Using hCards in your blog"]. (削除ここまで)
(削除) * [http://www.bidclix.com/ BidClix]'s [http://www.bidclix.com/AboutContact.html Contact BidClix] page has it's ''contact info'' marked up with an hCard. (削除ここまで)
(削除) * [http://suda.co.uk/ Brian Suda] has managed to embed a photo in [http://suda.co.uk/contact/ his hCard] through the [http://www.ietf.org/rfc/rfc2397.txt data uri scheme] by converting the image to BASE64 code. View the Source to see how this is accomplished. [http://suda.co.uk/projects/X2V/get-vcard.php?uri=http%3A//suda.co.uk/contact/ The X2V link] will extract the image and encode it for a vCard which will be displayed in some address book applications. (削除ここまで)
(削除) ** Inspired by this I thought to try the same (削除ここまで)for (削除) SVG at [http://barefoot-ceramics.com/find Barefoot] ... (削除ここまで)
(削除) ** <img class="photo" style="display:none;" src="data:image/svg+xml;text,<?xml version='1.0' encoding='UTF-8' standalone='no'?><svg xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' version='1.0' width='50' height='80' id='svg3957'><defs id='defs3959' /><path d='M 28.91433,...32.192802 z' style='fill:#cc4d00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.625;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1' id='path9551' /></svg>" alt="Barefoot"> (削除ここまで)
(削除) ** Does it work?? Well it parses OK. Some automated tools replace the < with %3C (etc., eg Brian Suda's vcard form). Unfortunately Kontact (KDE contacts tool) doesn't handle SVG as a vCard photo or logo format - I don't know if this is a standard. It seems it could work and maybe even does somewhere. Maybe the text field needs to be Base64 encoded? ... see [http://slashdot.org/~pbhj/journal/142382 pbhj's slashdot journal] for a bit (削除ここまで)more (削除) on this. (削除ここまで)
(削除) * [http://cinematreasures.org Cinema Treasures] uses hCard to markup venue information for 10 (削除ここまで),(削除) 000+ movie theaters. (削除ここまで)
(削除) * [http://www.w3.org/People/Connolly/events/ Dan Connolly's index of events and talks] has hCards for many of the people he has met at those events. In Mar 2006, he moved a bunch of hotel contact info (削除ここまで)from (削除) his PDA to this page; it's now up to 32 hCards. (削除ここまで)
(削除) * [http://doncrowley.blogspot.com/ Don Crowley] has published (削除ここまで)[(削除) http://www.crowley.nl/hcard.html his hCard] as well as a nifty hCard button: http://www.crowley.nl/images/hcard.png (削除ここまで)
(削除) * (削除ここまで)[(削除) http://loadaveragezero.com/hnav/contact.php Douglas W. Clifton] added all types of contact information (削除ここまで)
(削除) * [http://eventful.com Eventful] publishes all of its venue information pages with embedded hCards. (削除ここまで)
(削除) * [http://www.iowamilitaryveteransband.com/members/ Iowa Military Veterans Band Contacts] (削除ここまで)- (削除) 95 hCards [http://weblog.randomchaos.com/archive/2005/10/24/Microformats/ marked up by Scott Reynen (削除ここまで)]
(削除) * [http://JackWolfgang.blogspot.com Jack L. Wolfgang II (削除ここまで)] (削除) has [http://jack.randomata.com/resume/ (削除ここまで)converted (削除) the addresses in his resume to hCards]. (削除ここまで)
(削除) * [http://www.efas.fupl.asso.fr/efas/_Mathieu-Drouet_.html Mathieu Drouet] and [http://www.efas.fupl.asso.fr/efas/_Annie-Leger_.html Annie Leger] both have hCards (削除ここまで)
(削除) * [http://www.ndunn.com Neil Dunn] has published his rather [http://www.ndunn.com/2005/10/7/hCard good looking hCard] (削除ここまで)
(削除) * [http://www.oliverbrown.me.uk/ Oliver Brown] has published his hCard. (削除ここまで)
(削除) * [http://www.paradigmproductions.org/contact/ Paradigm Productions] published a vcard as a ul (marked up by [http://www.linkingarts.com/ Peter Jacobson]) (削除ここまで)
(削除) * [http://www.splintered.co.uk/ Patrick H. Lauke] has marked up [http://www.splintered.co.uk/about/ his contact info with hCard]. (削除ここまで)
(削除) * [http://blah Paul Schreiber has published his hCard on [http://paulschreiber.com/about/?contact his about page]. (削除ここまで)
(削除) * [http://paulschreiber.com/blog/ Paul Schreiber]'s [http://concerts.shrub.ca/ Sunnyvale House Concerts] site publishes hCards for upcoming artists, as well as an hCard for the page itself. In addition the [http://concerts.shrub.ca/shows Past Shows] page contains hCards for all past artists. (削除ここまで)
(削除) * [http://www.paulmichaelsmith.com/blog/hcard.htm Paul Smith] has created an hCard page which is Human Readable, and a link to X2V passing the same hCard page to generate a vCard. (削除ここまで)
(削除) * [http://www.windley.com/archives/2005/07/hcards_trying_o.shtml Phil Windley has published] [http://phil.windley.org/hcard.html his hCard]. (削除ここまで)
(削除) * [http://www.go-curiosity.com/about.htm Piercarlo Slavazza] has published an hCard. (削除ここまで)
(削除) * [http://zooibaai.nl/ Rob Mientjes] has published his hCard on [http://zooibaai.nl/about/ his about page]. (削除ここまで)
(削除) * [http://rbach.priv.at/Contact Robert Bachmann] has published his hCard and [http://rbach.priv.at/Images/hcard a button]. (削除ここまで)
(削除) * [http://blah Scott Reynen has published his hCard on [http://www.randomchaos.com/document.php?source=scott_reynen his profile page]. (削除ここまで)
(削除) * [http://www.stackframe.com/ StackFrame, LLC] has published [http://www.stackframe.com/people/ employee] and [http://www.stackframe.com/contact/ general] contact information as hCards. (削除ここまで)
(削除) * [http://www.wolfsreign.com Steven Ametjan] has published his hCard on [http://www.wolfsreign.com/about/ his about page]. (削除ここまで)
(削除) * [http://tantek.com/microformats/2005/syndicate/speakers-list.html Syndicate - Speaker List] as a set of hCards (削除ここまで)
(削除) * [http://tagcamp.org/index.cgi?ContactList TagCamp contact list] (削除ここまで)
(削除) * [http://tantek.com/log Tantek's Thoughts] includes an inline author hCard at the bottom of the page. (削除ここまで)
(削除) * [http://technorati.com/ Technorati]'s [http://www.technorati.com/about/ About page] lists their '''Media Contact''' (削除ここまで)
(削除) * [http://www.deadringerart.com/ The Brothers McDowell] have hCards at their Contact page. (削除ここまで)
(削除) * [http://twinsparc.com/ Twinsparc] put an hCard in the header and footer of all their pages. (削除ここまで)
(削除) * [http://tantek.com/microformats/2005/web2/speakers.html Web 2.0 Conference speakers page marked up with hCard] (削除ここまで)
(削除) * [http://we05.com/ Web Essentials 05] marked up all their [http://we05.com/presenters.cfm presenters with hCard]. (削除ここまで)
(削除) * [http://www.uoguelph.ca/directory/ The University of Guelph] includes (削除ここまで)hCard (削除) info in its directory (削除ここまで).
(削除) = (削除ここまで)== Examples (削除) with some problems = (削除ここまで)==
== Examples (追記) in the wild (追記ここまで)==
(追記) 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]]. (追記ここまで)
(削除) * (削除ここまで)[(削除) http://gbraad.nl/ Gerard Braad] has published an example on his (削除ここまで)[(削除) http://gbraad.nl/site/?p=profile profile] page that is almost consistent with his original [http://gbraad.nl/files/gbraad.vcf vCard] file. Also progress is made for transforming his [http://files.gbraad.nl/foaf.rdf FoaF] file to a hCard encoded representation. (also done for my spouse:[http://spouse.gbraad.nl/site/?p=profile Yong Yuan]) (削除ここまで)
(追記) See (追記ここまで)[[(追記) hcard (追記ここまで)-(追記) examples (追記ここまで)-in-(追記) wild (追記ここまで)|hCard (追記) Examples (追記ここまで)in the (追記) wild (追記ここまで)]].
(削除) ** (2005 (削除ここまで)-(削除) 09 (削除ここまで)-(削除) 27) PASSED, PASSED (削除ここまで)
(削除) ** WARNINGS (削除ここまで)
(削除) *** uses 'n given-name' and 'n family-name' instead of nesting the given- and family- names inside the 'n' (削除ここまで)
(削除) *** has one 'tel' value with a bunch of values stuffed (削除ここまで)in
(削除) *** probably more problems - (削除ここまで)-(削除) [[User:RyanKing (削除ここまで)|(削除) RyanKing]] 17:19, 5 Jan 2006 (PST) (削除ここまで)
(削除) * [http://kinrowan.net/ Cori Schlegel] [http://kinrowan.net/blog/wp/archives/2005/07/08/a-problem-with-the-structured-blogging-plug-in-for-wordpress/ discusses how he has updated] [http://kinrowan.net/blog/contact his contact page with (削除ここまで)hCard(削除) ] (削除ここまで)
(削除) ** INVALID - using 'prefix' instead of 'honorific-prefix' and type's in classnames ( (削除ここまで)in (削除) both adr and tel) and has two photo's ( (削除ここまで)the (削除) second could be 'logo') --[[User:RyanKing|RyanKing (削除ここまで)]] (削除) 15:15, 5 Jan 2006 (PST) (削除ここまで)
(削除) * The good ship [http://styrheim.com/test/leonid (削除ここまで).(削除) html Leonid Miloslavskiy] spotted in the North Atlantic (削除ここまで)
(削除) ** INVALID --[[User:RyanKing|RyanKing]] 00:50, 27 Oct 2005 (PDT) (削除ここまで)
(削除) *** class="family" should probably be family-name (削除ここまで)
(削除) *** the "n" property is missing and the "n" optimization can't be applied (削除ここまで)
(削除) *** the first geo propery is empty, the second one is invalid (ie, it doesn't contain lat/long) (削除ここまで)
(削除) * [http://landsbank.fo/#hCard Landsbanki Føroya] (削除ここまで)
(削除) ** INVALID - using embedded rdf/xml invalidly (削除ここまで)
(削除) * [http://chrischerry.name/ Chris Cherry's contact page with his hCard] (削除ここまで)
(削除) ** <strike>WARNING - uses class="cell" instead of <span class="type">cell</span></strike> Fixed -- [[User:Seriph|Chris Cherry]] 19:54, 15 Sep 2006 (PST) (削除ここまで)
(削除) * [http://www.bath.ac.uk/contact/ University of Bath] Person Finder results are encoded with hCards so you can easily create a vCard from any result. (削除ここまで)
(削除) ** ERROR - attempt to use Implied-N optimization where that's not possible. --[[User:RyanKing|RyanKing]] 14:29, 5 Jan 2006 (PST) (削除ここまで)
(削除) ** Error appears for external users only. Won't be fixed any time soon. -- [[User:PhilWilson|PhilWilson]] 00:03, 28 Jan 2006 (GMT) (削除ここまで)
(削除) * [http://richi.co.uk/blog/2005/12/structured-blogging.html Richi Jennings] has put up his attempt (削除ここまで)
(削除) ** INVALID, missing FN --[[User:RyanKing|RyanKing]] 12:47, 5 Jan 2006 (PST) (削除ここまで)
(削除) * [http://www.yellowpencil.com/contact/ Yellow Pencil] Using microformats to present company contact information (削除ここまで)
(削除) ** First hcard has empty "fn" and no "n". "fn" should be with "org" -- [[User: ScottReynen |ScottReynen]] 21:29, 19 Jun 2006 (CST) (削除ここまで)
== Implementations ==
== Implementations ==
This section is '''informative'''.
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]]. (追記ここまで)
(追記) See [[hcard-implementations|hCard Implementations]]. (追記ここまで)
(追記) == Articles == (追記ここまで)
(追記) This section is <strong>informative</strong>. For <span id="Further_Reading">further reading</span> on hCard see [[hcard-articles]] (追記ここまで).
(削除) The following implementations have been developed which either generate or parse hCards. If you have an hCard implementation, feel free to add it to the top of this list. Once the list grows too big, we'll make a separate wiki page. (削除ここまで)
(追記) ==Buttons== (追記ここまで)
(削除) *[http://leftlogic.com/info/articles/microformats_bookmarklet Microformats Bookmarklet] is a bookmarklet designed for Safari (works in Firefox and Camino) that overlays (削除ここまで)on (削除) the current page to allow users to import individual (削除ここまで)hCards (削除) or hCalendars. Written by Remy Sharp (削除ここまで).
(追記) You can use these buttons (追記ここまで)on (追記) pages with (追記ここまで)hCards. (追記) See (追記ここまで)[[(追記) buttons# (追記ここまで)hCard]] for (追記) any recent additions (追記ここまで).
(削除) * (削除ここまで)[(削除) http://elbewerk.com/2006/09/vcardexplorer-02.shtml vCardExplorer 0.2] is a Mac OS X Application, that displays VCF-Files and extracts hCards from Websites written by Daniel Kagemann. (削除ここまで)
(削除) * (削除ここまで)[(削除) http://placenamehere.com/mf/nnwextract/ Extract Microformats] is a script for NetNewsWire that supports extracting (削除ここまで)hCard (削除) and hCalendar data in blog posts (via technorati service). Written by [[User:ChrisCasciano|Chris Casciano] (削除ここまで)]
(削除) * [http://allinthehead.com/hkit/ hKit (削除ここまで)] (削除) is an open source PHP 5 parsing library with support (削除ここまで)for (削除) hCard. (削除ここまで)
(削除) * [http://kitchen.technorati.com/search Technorati Microformats Search] indexes [[hcard|hCard]], [[hcalendar|hCalendar]], and [[hreview|hReview]] as [http://tantek.com/log/2006/05.html#d31t1802 announced by Tantek]. (削除ここまで)
(削除) ** list of pages with indexing Issues so they can be looked into as to why data is not being extracted (削除ここまで)
(削除) ** suda.co.uk/contact (削除ここまで)
(削除) ** multipack.co (削除ここまで).(削除) uk (削除ここまで)
* (削除) [ (削除ここまで)http://www.(削除) webstandards (削除ここまで).(削除) org (削除ここまで)/(削除) action (削除ここまで)/(削除) dwtf/microformats/ Dreamweaver Extension suite] from the [http://webstandards.org/ Web Standards Project] enables the authoring of hCards from within Dreamweaver 8. (削除ここまで)
* http://www.(追記) crowley (追記ここまで).(追記) nl (追記ここまで)/(追記) images (追記ここまで)/(追記) hcard (追記ここまで).(追記) png (追記ここまで)((追記) mirror (追記ここまで): http://www.(追記) davidjanes (追記ここまで).com/(追記) images (追記ここまで)/(追記) mf_hcard (追記ここまで).(追記) png (追記ここまで))
(削除) * [http://scooch.gr0w.com/ Scooch] is a slide show and presentation creator that generates a [[hCard]] for individual slide show authors and comment authors with a CSS button to parse and download via [http://suda.co.uk/projects/X2V/ X2V]. Also uses [[hReview]] for slide ratings and [[rel-tag]] for categories. (削除ここまで)
* http://(追記) rbach (追記ここまで).(追記) priv (追記ここまで).(追記) at (追記ここまで)/2006/(追記) buttons (追記ここまで)/hcard.(追記) png (追記ここまで)
(削除) * [http://blog.codeeg.com/2006/03/20/flock-tails-flocktails/ Flocktails] - port of Tails extension for Flock 0.5 (削除ここまで).(削除) 12 that looks for hCards, hCalendar, xFolk and hReview and tosses them into a handy topbar (削除ここまで)
* http://www.(追記) boogdesign (追記ここまで).(追記) com (追記ここまで)/(追記) images (追記ここまで)/(追記) buttons (追記ここまで)/(追記) microformat_hcard (追記ここまで).(追記) png (追記ここまで)
(削除) *[http://opensource.reevoo.com/2006/03/08/release-uformats-12/ uformats] is a ruby library that can parse [[hCalendar]], [[hCard]], [[hReview]] and [[rel-tag]] (削除ここまで)
* (追記) CSS (追記ここまで)-(追記) powered button (追記ここまで), as (追記) evidenced at (追記ここまで)[http://(追記) re-run (追記ここまで).com/(追記) about (追記ここまで)/(追記) microformat (追記ここまで)-(追記) badges microformat badges @ re (追記ここまで)-(追記) run (追記ここまで)]
(削除) * [http://blog.codeeg.com/tails-firefox-extension/ Tails] is a Firefox Extension that will display the presence and details of microformats (削除ここまで)((削除) [[hcard|hCard]], [[hcalendar|hCalendar]], [[hreview|hReview]], [[xfolk|xFolk]]) on a webpage. [https (削除ここまで):(削除) //addons.mozilla.org/firefox/2240/ Tails Export] is an extended version. (削除ここまで)
(削除) * [ (削除ここまで)http://www.(削除) stripytshirt.co.uk/features/firefox/smartzilla Smartzilla is a Firefox Extension] that finds hCards on web pages and lets you add them to your addressbook. (削除ここまで)
(削除) * [http://placenamehere.com/TXP/pnh_mf/ pnh_mf] is a plugin for [http://textpattern.com/ Textpattern] that supports embedding hCard and other microformats in templates and blog posts. Written by [http://placenamehere.com/ Chris Casciano]. (削除ここまで)
(削除) * There is [http://flickr.com/photos/factoryjoe/68755089/ evidence of built-in hCard support in the Konqueror browser]. Specifically, Konqueror 3.5, in KDE 3.5 (kubuntu Breezy w/ update). (削除ここまで)
(削除) * There is [http://tagcamp.org/index.cgi?ContactList evidence of a kwiki plugin for hCards]. Update: the [http://svn.kwiki.org/cwest/Kwiki-hCard/ hCard kwiki plugin svn repository]. See the [http://microwiki.caseywest (削除ここまで).com/(削除) index.cgi?hCard documentation of the hCard kwiki plugin]. (削除ここまで)
(削除) * [http://suda.co.uk/projects (削除ここまで)/(削除) X2V/ X2V] is a bookmarklet that parses hCard and produces a (削除ここまで).(削除) vcf (vCard (削除ここまで)) (削除) stream. Note: needs to be updated as the spec is refined (削除ここまで)
(削除) * [http://www.stripytshirt.co.uk Duncan Walker] has built [http://www.stripytshirt.co.uk/features/firefox/smartzilla a Firefox extension] that gets hCard data from a webpage, uses Brian Suda's XSL (locally) to transform it to vcard format and opens the resulting .vcf file. (削除ここまで)
(削除) * [http://george.hotelling.net/90percent/ George] has written a [http://george.hotelling.net/90percent/geekery/greasemonkey_and_microformats.php Greasemonkey user script] that detects hCards and allows users to easily add them to their address book application. Relies on the X2V web service to do the conversion. (削除ここまで)
* (削除) [http://inside.glnetworks.de/ Martin Rehfeld] has updated the work of [http://blogmatrix.blogmatrix.com/ David Janes] and produced a [[Greasemonkey]] [ (削除ここまで)http://(削除) inside (削除ここまで).(削除) glnetworks (削除ここまで).(削除) de (削除ここまで)/2006/(削除) 06/05/microformats-have-arrived-in-firefox-15-greasemonkey-06/ script] that finds many microformat elements, including hCards, and [http://blog.davidjanes.com/mtarchives/2005_08.html#003379 provides a popup menu of actions]. The hCard to vCard conversion is done internally within the script. ''This will work with FireFox 1.5+/GreaseMonkey 0.6.4+ now.'' (削除ここまで)
(削除) * [http://diveintomark.org/ Mark Pilgrim] has also written an [http://diveintomark.org/projects/greasemonkey (削除ここまで)/hcard(削除) / hCard parser Greasemonkey user script]. It is self-contained and does not rely on the X2V web service (削除ここまで).
* (削除) [ (削除ここまで)http://www.(削除) oliverbrown (削除ここまで).(削除) me.uk/2005/09/03/a-working-microformats-extension-to-simplexml (削除ここまで)/ (削除) Oliver Brown] has written an "extension" to [http: (削除ここまで)//(削除) www.php.net/simplexml SimpleXML] that gives simple access to hCard information in PHP 5 (削除ここまで).
* (削除) [http://thedredge.org/ Andrew D. Hume] has built a system (Wordpress plugin?) for [http://thedredge.org/2005/06/using (削除ここまで)-(削除) hcards-in-your-blog/ using hcards in your blog] to represent people leaving comments on blog posts. (削除ここまで)
(削除) * The [http://tantek.com/microformats/hcard-creator.html hCard creator] is a very simple, yet illustrative (削除ここまで), (削除) open source user interface / form / script which creates an hCard in real-time (削除ここまで)as (削除) you type in a set of contact information. (削除ここまで)
(削除) * (削除ここまで)[http://(削除) greenbytes.de/tech/webdav/rfc2629.xslt rfc2629.xslt] now attempts to generate hCard information ([http://ietf.org/rfc/rfc2629 RFC2629] is an XML format for authoring RFCs and Internet Drafts, see [http://greenbytes.de/tech/webdav/rfc2629xslt/rfc2629xslt.html example document]) (削除ここまで)
(削除) * [http://tantek (削除ここまで).com/(削除) microformats (削除ここまで)/(削除) buddylist2hcards.html iChat buddy list to hCards] (削除ここまで)- (削除) Open source AppleScript to automatically convert one's buddy list in the MacOSX iChat AIM client into a valid XHTML 1.0 Strict list of hCards. (削除ここまで)
(削除) * [http://dev.w3.org/cvsweb/2001/palmagent/ palmagent] is a collection of palmpilot and sidekick tools. It includes X2V derivatives xhtml2hcard.xsl and toICal.xsl plus some [http://dev.w3.org/cvsweb/2001/palmagent/hcardTest.html hcardTest] materials (削除ここまで)
(削除) * [http://www.openpsa.org/ OpenPsa 2.x] CRM application uses hCard for all person listings. The widget is [http://www.midgard-project.org/midcom (削除ここまで)-(削除) permalink-922834501b71daad856f35ec593c7a6d reusable across Midgard CMS (削除ここまで)]
(削除) * [http://www.metonymie.com Emiliano Martínez Luque] has written an experimental [http://www.metonymie.com/hCard_extract/app.html hCard finder and structured search application] that finds hCards within a given set of URLs and returns the ones that match the specified search criteria. (削除ここまで)
(削除) * [http://randomchaos.com/microformats/base/ Microformat Base] is an open-source PHP microformat aggregation crawler, currently recognizing hreview, hcalendar, and hcard. (削除ここまで)
== (削除) Additional Applications (削除ここまで)==
== (追記) Copyright (追記ここまで)==
(削除) This section (削除ここまで)is (削除) '''informative''' (削除ここまで).
(追記) 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 (追記ここまで).
(削除) There are numerous potential additional uses and applications for hCards on the Web. The following are merely a few thoughts and possibilities that folks have come up with: (削除ここまで)
(追記) {{MicroFormatPublicDomainContributionStatement}} (追記ここまで)
(削除) * As an open standard/format for [http://www.gravatar.com/ Gravatars]. (削除ここまで)
(追記) == Patents == (追記ここまで)
(削除) * Marking up individual authors of blog posts on a group blog (削除ここまで)
(追記) {{MicroFormatPatentStatement}} (追記ここまで)
(削除) * Marking up people's names and URLs in a blogroll (削除ここまで)
(削除) * Any reference to people in blog posts (e.g. when citing them, or referencing them, or describing them, by name). (削除ここまで)
== References ==
== References ==
=== Normative References ===
=== Normative References ===
* [(削除) http (削除ここまで)://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]
* [(追記) https (追記ここまで)://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]
* [(削除) http (削除ここまで)://www.ietf.org/rfc/rfc2426.txt vCard RFC2426]
* [(追記) https (追記ここまで)://www.ietf.org/rfc/rfc2426.txt vCard RFC2426(追記) ] (追記ここまで)
(追記) * [http://www.itu.int/rec/T-REC-E.123-200102-I/en ITU recommendation E.123] format of telephone numbers (chargeable document) (追記ここまで)
(追記) * [[rfc-2119|RFC 2119] (追記ここまで)]
=== Informative References ===
=== Informative References ===
* [(削除) http://www.w3.org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426 (削除ここまで)]
(追記) This section is '''informative'''. (追記ここまで)
* [http://(削除) w3 (削除ここまで).(削除) org (削除ここまで)/(削除) TR (削除ここまで)/(削除) REC (削除ここまで)-(削除) CSS1 CSS1 (削除ここまで)]
* [(追記) [hcard-history|hCard history] (追記ここまで)]
* [(削除) http (削除ここまで)://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, (削除) 20040930 (削除ここまで)]
(追記) * (追記ここまで)* [http://(追記) wiki.oreillynet (追記ここまで).(追記) com (追記ここまで)/(追記) foocamp04 (追記ここまで)/(追記) index.cgi?SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 2004-09 (追記ここまで)-(追記) 10 (追記ここまで)]
* [http://(削除) wiki (削除ここまで).(削除) oreillynet (削除ここまで).(削除) com (削除ここまで)/(削除) foocamp04 (削除ここまで)/(削除) index (削除ここまで).(削除) cgi (削除ここまで)?(削除) SimpleSemanticFormats FOO Camp 2004 Simple Semantic Formats presentation, 20040910 (削除ここまで)]
(追記) * (追記ここまで)* [(追記) https (追記ここまで)://tantek.com/log/2004/09.html#hcard hCard term introduced and defined on the Web, (追記) 2004年09月30日 (追記ここまで)]
* (削除) Contributed from http (削除ここまで)://(削除) developers (削除ここまで).(削除) technorati (削除ここまで).(削除) com (削除ここまで)/(削除) wiki (削除ここまで)/(削除) hCard (削除ここまで).
(追記) ** Contributed from http://developers.technorati.com/wiki/hCard 2005年06月20日 (追記ここまで)
* [(削除) http (削除ここまで)://www.w3.org/TR/xhtml11 XHTML 1.1]
* [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 "based on the X.520 Business Category explanatory attribute". (追記ここまで)
* (追記) [https (追記ここまで)://(追記) www (追記ここまで).(追記) w3 (追記ここまで).(追記) org/2002/12/cal/rfc2426 HTML reformatted version of RFC2426] (追記ここまで)
(追記) * [https: (追記ここまで)//(追記) www.w3 (追記ここまで).(追記) org/TR/REC-CSS1 CSS1] (追記ここまで)
* [(追記) https (追記ここまで)://www.w3.org/TR/xhtml11 XHTML 1.1(追記) ] (追記ここまで)
(追記) * [https://en.wikipedia.org/wiki/E.123 Wikipedia summary of ITU-T Recommendation E.123] - for "TEL" values. (追記ここまで)
(追記) * [http://www.imc.org/pdi/ Internet Mail Consortium Personal Data Interchange vCard and vCalendar] (追記ここまで)
(追記) * [[iso-8601|ISO8601] (追記ここまで)]
==== Specifications That Use hCard ====
==== Specifications That Use hCard ====
Line 505:
Line 487:
==== Similar Work ====
==== Similar Work ====
(追記) This section is '''informative'''. (追記ここまで)
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]
* [http://www.intertwingly.net/wiki/pie/PaceBetterPersonElement Atom PaceBetterPersonElement]
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]
* [http://www.jabber.org/jeps/jep-0054.html JEP-0054: vcard-temp]
(追記) == Inspiration and Acknowledgments == (追記ここまで)
(追記) This section is '''informative'''. (追記ここまで)
(追記) 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. (追記ここまで)
(追記) == Notes on derivation from vCard == (追記ここまで)
(追記) This section is ''informative''. (追記ここまで)
(追記) <div id="Semantic_XHTML_Design_Principles">See: [[hcard-design-methodology]].</div> (追記ここまで)
(追記) === More Semantic Equivalents === (追記ここまで)
(追記) For some properties there are HTML elements which better match and convey their semantics. The following properties SHOULD be encoded with the following HTML: (追記ここまで)
(追記) * <code>URL</code> in vCard becomes <code><a class="url" href="...">...</a></code> inside the element with <code>class="vcard"</code> in hCard. (追記ここまで)
(追記) * Similarly, <code>EMAIL</code> in vCard becomes <code><nowiki><a class="email" href="mailto:...">...</a></nowiki></code> (追記ここまで)
(追記) * <code>PHOTO</code> in vCard becomes <code><img class="photo" src="..." alt="Photo of ..." /></code> or <code><object class="photo" data="..." type="...">Photo of ...</object></code> (追記ここまで)
(追記) * <code>UID</code> in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard. (追記ここまで)
(追記) === Singular and Plural derivations === (追記ここまで)
(追記) 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. (追記ここまで)
(追記) ==== Plural Properties Singularized ==== (追記ここまで)
(追記) 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. (追記ここまで)
== Related Pages ==
== Related Pages ==
(削除) * [http://microformats.org/code/hcard/creator hCard creator] ([[hcard-creator-feedback|feedback]]) - create your own hCard. (削除ここまで)
(追記) {{ (追記ここまで)hcard-(追記) related (追記ここまで)-pages(追記) }} (追記ここまで)
(削除) * [[hcard-authoring|hCard authoring]] - learn how to add hCard markup to your existing contact info. (削除ここまで)
(削除) * [[hcard-examples|hCard examples]] - Example usage of various classes within hCard, (削除ここまで)
(削除) * [[hcard-faq|hCard FAQ]] - If you have any questions about hCard, check here, and if you don't find answers, add your questions! (削除ここまで)
(削除) * [[hcard-parsing|hCard parsing]] - Normatively details of how to parse hCards. (削除ここまで)
(削除) * [[hcard-issues|hCard issues]] - Please add any issues with the specification to the issues page. (削除ここまで)
(削除) * [[ (削除ここまで)hcard-(削除) profile|hCard profile]] (削除ここまで)- (削除) The XMDP profile for hCard (削除ここまで)
(削除) This specification is a work in progress. As additional aspects are discussed, understood, and written, they will be added. These thoughts, issues, and questions are kept in separate (削除ここまで)pages(削除) . (削除ここまで)
(削除) * (削除ここまで)[[(削除) hcard-brainstorming|hCard Brainstorming (削除ここまで)]] (削除) - where we are keeping our brainstorms and other explorations relating to hCard (削除ここまで)
[[(追記) Category:Specifications (追記ここまで)]]
(削除) * (削除ここまで)[[(削除) hcard-tests| (削除ここまで)hCard (削除) tests (削除ここまで)]] (削除) - a wiki page with actual embedded hCards to try parsing. (削除ここまで)
[[(追記) Category: (追記ここまで)hCard]]
== (削除) Further Reading (削除ここまで)==
== (追記) Translations (追記ここまで)==
(削除) * [http://www (削除ここまで).(削除) digital-web.com (削除ここまで)/(削除) articles/microformats_primer/ Digital Web Magazine (削除ここまで): (削除) Microformats Primer] by Garrett Dimon has a good intro to hCard (削除ここまで)
(追記) The English version of this specification is the only normative version (追記ここまで). (追記) Read the hCard specification in additional <span id="languages">languages< (追記ここまで)/(追記) span> (追記ここまで):
* [(削除) http: (削除ここまで)/(削除) /24ways.org/advent/practical-microformats-with-hcard Practical Microformats with hCard (削除ここまで)] (削除) by Drew McLellan (削除ここまで)
* [(追記) [hcard-fr|<span lang="fr">Français< (追記ここまで)/(追記) span>] (追記ここまで)]
* [(削除) http://www.naturalsearchblog.com/archives/2006/09/28/tips (削除ここまで)-(削除) for-local-search-engine-optimization-for-your-site (削除ここまで)/ (削除) Local Search Engine Optimization using Microformats (削除ここまで)] (削除) by Chris Silver Smith (削除ここまで)
* [(追記) [hcard (追記ここまで)-(追記) ja|<span lang="ja">日本語< (追記ここまで)/(追記) span>] (追記ここまで)]
* [(削除) http://thedredge.org/ Andrew D. Hume] has written a blog post on (削除ここまで)[(削除) http://usabletype.com/articles/2005/usable (削除ここまで)-(削除) microformats (削除ここまで)/ (削除) usable microformats (削除ここまで)] (削除) which discusses hCard (削除ここまで)
* [[(追記) hcard (追記ここまで)-(追記) ru|<span lang="ru">Русский< (追記ここまで)/(追記) span>] (追記ここまで)]
* [(削除) http: (削除ここまで)/(削除) /www.thefutureoftheweb.com/blog/2006/1/hcard Jesse Skinner's introduction to hCard (削除ここまで)]
* [(追記) [hcard-th|<span lang="th">ภาษาไทย< (追記ここまで)/(追記) span>] (追記ここまで)]
* [(削除) http: (削除ここまで)/(削除) /blog.usweb.com/ Shaun Shull's (削除ここまで)] (削除) great post on (削除ここまで)[(削除) http://blog.usweb.com/archives/ (削除ここまで)how-(削除) microformats (削除ここまで)-(削除) affect (削除ここまで)-(削除) search (削除ここまで)-(削除) engine-optimization-seo How Microformats Affect SEO], including his [[hcard (削除ここまで)|hCard]] (削除) as an example (削除ここまで).
* [(追記) [hcard-zh|<span lang="zh">漢語< (追記ここまで)/(追記) span>] (追記ここまで)]
(削除) * See also [http://www.technorati.com/cosmos/referer.html blogs discussing this page] and the [http://technorati.com/tags/hcard hCard tag] (削除ここまで)
(追記) Help [ (追記ここまで)[how-(追記) to (追記ここまで)-(追記) start (追記ここまで)-(追記) new (追記ここまで)-(追記) translation (追記ここまで)|(追記) translate (追記ここまで)hCard (追記) into more languages (追記ここまで)]].
Latest revision as of 23:36, 24 August 2020
Tantek Çelik (Editor, Author), Brian Suda (Author)
hCard is a simple, open format for publishing people, companies, organizations on the web, using a 1:1 representation of vCard (RFC2426) properties and values in HTML. hCard is one of several open microformat standards suitable for embedding data in HTML/HTML5, and Atom/RSS/XHTML or other XML.
Translations: Français • 日本語 • Русский • ภาษาไทย • 漢語 • (Add your language)
Copyright and patents statements apply. See acknowledgments.
Example
hCards are most often used to represent people:
<div class="vcard">
<a class="url fn" href="https://tantek.com/">Tantek Çelik</a>
</div>
and organizations:
<div class="vcard">
<a class="url fn org" href="https://microformats.org/">microformats.org</a>
</div>
The class vcard is a root class name that indicates the presence of an hCard.
The classes url, fn, and org define properties of the hCard.
Properties
Common hCard properties (inside class
vcard)
fn - name, formatted/full. required
n - structured name, container for:
honorific-prefix - e.g. Ms., Mr., Dr.
given-name - given (often first) name
additional-name - other/middle name
family-name - family (often last) name
honorific-suffix - e.g. Ph.D., Esq.
nickname - nickname/alias, e.g. IRC nick
org - company/organization
photo - photo, icon, avatar
url - home page for this contact
email - email address
tel - telephone number
adr - structured address, container for:
street-address - street #+name, apt/ste
locality - city or village
region - state or province
postal-code - postal code, e.g. U.S. ZIP
country-name - country name
bday - birthday. ISO date.
category - for tagging contacts
note - notes about the contact
Example hCard of common properties:
<div class="vcard">
<span class="fn">Sally Ride</span>
(<span class="n">
<span class="honorific-prefix">Dr.</span>
<span class="given-name">Sally</span>
<abbr class="additional-name">K.</abbr>
<span class="family-name">Ride</span>
<span class="honorific-suffix">Ph.D.</span></span>),
<span class="nickname">sallykride</span> (IRC)
<div class="org">Sally Ride Science</div>
<img class="photo" src="http://example.com/sk.jpg"/>
<a class="url" href="http://sally.example.com">w</a>,
<a class="email" href="mailto:sally@example.com">e</a>
<div class="tel">+1.818.555.1212</div>
<div class="adr">
<div class="street-address">123 Main st.</div>
<span class="locality">Los Angeles</span>,
<abbr class="region" title="California">CA</abbr>,
<span class="postal-code">91316</span>
<div class="country-name">U.S.A</div></div>
<time class="bday">1951年05月26日</time> birthday
<div class="category">physicist</div>
<div class="note">1st American woman in space.</div>
</div>
Status
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 microformats-discuss mailing list.
Errata and Updates
Known errors and issues in this specification are corrected in resolved and closed issues. Please check there before reporting issues.
The hCard 1.0.1 update is currently under development and incorporates known errata corrections as well as the value-class-pattern.
Background
The vCard standard (RFC2426), has been broadly interoperably implemented (e.g. Apple's "Address Book" application built into MacOSX).
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.
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.
Use the hCard creator and copy the HTML code it generates to your blog or website to publish your contact info.
Conformance
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
Format
In General
The vCard standard (RFC2426) forms the basis of hCard.
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.
Root Class Name
The root class name for an hCard is "vcard". An element with a class name of "vcard" is itself called an hCard.
Properties and Sub-properties
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.
Property List
hCard properties (sub-properties in parentheses like this)
Required:
- fn
- n1
- family-name
- given-name
- additional-name
- honorific-prefix
- honorific-suffix
Optional:
- adr
- post-office-box
- extended-address
- street-address
- locality
- region
- postal-code
- country-name
- type
- value
- agent
- bday
- category
- class
- email (type, value)
- geo
- key
- label
- logo
- mailer
- nickname
- note
- org (organization-name, organization-unit)
- photo
- rev
- role
- sort-string
- sound
- tel2 (type, value)
- title
- tz3
- uid
- url
Property Notes
1. ^ : The 'n' property is OPTIONAL if any implied 'n' optimization rules are in effect.
2. ^ : tel - Authors MAY follow the E.123 standard for writing values of telephone numbers. Letter values (e.g. +1-555-FORMATS) MUST be converted to numbers. Use an abbr to display letters and provide a numerical value simultaneously, e.g. <abbr title="+15553676287">+1-555-FORMATS</abbr>.
3. ^ : tz - timezones are indicated with the timezone offset, e.g. PST (<span class="tz">-08:00</span>).
Singular vs. Plural Properties
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.
All other properties MAY be plural. Each class instance of such properties creates a new instance of that property.
Human vs. Machine readable
The human visible text contents of an element for a property represents the value of that property, with a few exceptions:
If an <abbr> element is used for a property, then the 'title' attribute (if present) of the <abbr> 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.
If an <a> element is used for one or more properties, it MUST be treated as follows:
- For the 'photo' property and any other property that takes a URL as its value, the
href="..." attribute provides the property value.
- For other properties, the element's content is the value of the property.
If an <img> element is used for one or more properties, it MUST be treated as follows:
- For the 'photo' property and any other property that takes a URL as its value, the
src="..." attribute provides the property value.
- For other properties, the
<img> element's 'alt' attribute is the value of the property.
If an <object> element is used for one or more properties, it MUST be treated as follows:
- For the 'photo' property and any other property that takes a URL as its value, the
data="..." attribute provides the property value.
- For other properties, the element's content is the value of the property.
Value excerpting
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 "value" 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:
vCard:
TEL;TYPE=HOME:+1.415.555.1212
hCard:
<span class="tel">
<span class="type">home</span>:
<span class="value">+1.415.555.1212</span>
</span>
This hCard fragment could be displayed as:
You may want to customize/localize the visible punctuation and not want to include it in what machines see. Use multiple class="value" elements which are then concatenated. E.g.
<span class="tel">
<span class="type">home</span>:
<span class="value">+1</span>.<span class="value">415</span>.<span class="value">555</span>.<span class="value">1212</span></span>
</span>
No change in display, but the parsed hCard property value then becomes in vCard:
vCard:
TEL;TYPE=HOME:+14155551212
Property Exceptions
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.
- 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 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
<title> element in HTML documents) to construct the NAME property, MAY output a PROFILE value of "VCARD" per 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 "3.0" (without quotes) per RFC2426 Section 3.6.9.
Organization Contact Info
If the "FN" and "ORG" (organization) properties have the exact same value (typically because they are set on the same element, e.g. class="fn org"), 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 "N" property, or set it (and any sub-properties) explicitly to the empty string "". Thus parsers SHOULD handle the missing "N" property, in this case by implying empty values for all the "N" sub-properties.
Implied "N" Optimization
Although vCard requires that the "N" property be present, the authors of the vCard specification (RFC2426) themselves do not include "N" properties in their vCards near the end of the spec (p.38). This apparent contradiction can be resolved by simply allowing the "FN" property to imply "N" property values in typical cases provided in the spec. We do so explicitly in hCard.
If "FN" and "ORG" are not the same (see previous section), and the value of the "FN" property is exactly two words (separated by whitespace), and there is no explicit "N" property, then the "N" property is inferred from the "FN" property. For "FN"s with either one word see below, and for three or more, the author MUST explicitly markup the "N", except for the organization contact info case, see above for that.
- The content of "FN" is broken into two "words" separated by whitespace.
- The first word of the "FN" is interpreted as the "given-name" for the "N" property.
- The second/last word of the "FN" is interpreted as the "family-name" for the "N" property.
- Exception: If the first word ends in a "," comma, then the first word (minus the comma at the end) is interpreted as the "family-name" and the second word is interpreted as the "given-name".
This allows simplification in the typical case of people stating:
- given-name (space) family-name
- family-name (comma) given-name
Implied "nickname" Optimization
Due to the prevalence of the use of nicknames/handles/usernames in actual content published on the Web (e.g. authors of reviews), hCard also has an implied "nickname" optimization to handle this.
Similar to the implied "n" optimization, if "FN" and "ORG" are not the same, and the value of the "FN" property is exactly one word, and there is no explicit "N" property, then:
- The content of the "FN" MUST be treated as a "nickname" property value.
- Parsers SHOULD handle the missing "N" property by implying empty values for all the "N" sub-properties.
Though parsers MUST follow the implied nickname optimization, publishers SHOULD explicitly indicate the "nickname" even in this case, e.g.:
<span class="vcard">
<span class="fn nickname">daveman692</span>
</span>
The hCard MAY have additional explicit "nickname" property values in addition to the implied nickname.
Implied "organization-name" Optimization
The "ORG" property has two subproperties, organization-name and organization-unit. Very often authors only publish the organization-name. Thus if an "ORG" property has no "organization-name" inside it, then its entire contents MUST be treated as the "organization-name".
Tags as Categories
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.
type subproperty values
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 "Home" is the same as "home", as well as multivalued, e.g. a tel can be home and preferred:
vCard:
TEL;TYPE=HOME,PREF:+1.415.555.1212
hCard:
<span class="tel"><span class="type">Home</span> (<span class="type">pref</span>erred):
<span class="value">+1.415.555.1212</span>
</span>
This could be displayed as:
Home (preferred):
+1.415.555.1212
type with unspecified value
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.
<span class="tel"><span class="type">Home</span> +1.415.555.1212</span>
is equivalent to:
<span class="tel"><span class="type">Home</span><span class="value"> +1.415.555.1212</span></span>
And thus the type is "home" and the value is "+1.415.555.1212".
adr tel email types
The following lists are informative. See 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.
- adr type: INTL, POSTAL, PARCEL, WORK, dom, home, pref
- tel type: VOICE, home, msg, work, pref, fax, cell, video, pager, bbs, modem, car, isdn, pcs
- email type: INTERNET, x400, pref
Profile
The hCard XMDP profile is at http://microformats.org/profile/hcard
Content that uses hCard SHOULD reference this profile, e.g.
<link rel="profile" href="http://microformats.org/profile/hcard">
or
This content uses <a rel="profile" href="http://microformats.org/profile/hcard">hCard</a>.
or
<head profile="http://microformats.org/profile/hcard">
(profile attribute is deprecated in HTML5)
Content may combine the above methods as well.
Parsing Details
See hCard parsing.
Examples
This section is informative.
Sample vCard
Here is a sample vCard:
BEGIN:VCARD
VERSION:3.0
N:Çelik;Tantek
FN:Tantek Çelik
URL:https://tantek.com/
END:VCARD
and an equivalent in hCard with various elements optimized appropriately. See hCard Example 1 for the derivation.
<div class="vcard">
<a class="url fn" href="https://tantek.com/">Tantek Çelik</a>
</div>
This hCard might be displayed as:
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 <head> element.
Live example
Here is Commercenet's contact details, as a live hCard which will be detected, on this page, by microformat parsing tools:
CommerceNet
http://www.commerce.net/
Work:
169 University Avenue
Palo Alto, CA 94301
USA
Work +1-650-289-4040
Fax +1-650-289-4041
Email info@commerce.net
The mark-up, emboldening omitted for clarity, with the following semantic improvements:
abbr to expand abbreviations
- hyperlinking the org name with the url
<div class="vcard">
<a class="fn org url" href="http://www.commerce.net/">CommerceNet</a>
<div class="adr">
<span class="type">Work</span>:
<div class="street-address">169 University Avenue</div>
<span class="locality">Palo Alto</span>,
<abbr class="region" title="California">CA</abbr>
<span class="postal-code">94301</span>
<div class="country-name">USA</div>
</div>
<div class="tel">
<span class="type">Work</span> +1-650-289-4040
</div>
<div class="tel">
<span class="type">Fax</span> +1-650-289-4041
</div>
<div>Email:
<span class="email">info@commerce.net</span>
</div>
</div>
More Examples
See hCard examples for more examples, including all examples from vCard RFC2426 converted into hCard.
Examples in the wild
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 separate page.
See hCard Examples in the wild.
Implementations
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 separate page.
See hCard Implementations.
Articles
This section is informative. For further reading on hCard see hcard-articles.
Buttons
You can use these buttons on pages with hCards. See buttons#hCard for any recent additions.
Copyright
Per the public domain release on the authors' user pages (Tantek Çelik, Brian Suda) this specification is released into the public domain.
Public Domain Contribution Requirement. Since the author(s) released this work into the public domain, in order to maintain this work's public domain status, all contributors to this page agree to release their contributions to this page to the public domain as well. Contributors may indicate their agreement by adding the public domain release template to their user page per the Voluntary Public Domain Declarations instructions. Unreleased contributions may be reverted/removed.
Patents
This specification is subject to a royalty free patent policy, e.g. per the W3C Patent Policy, and IETF RFC3667 & RFC3668.
References
Normative References
Informative References
This section is informative.
Specifications That Use hCard
Similar Work
This section is informative.
Inspiration and Acknowledgments
This section is informative.
Thanks to: my good friend 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.
Notes on derivation from vCard
This section is informative.
More Semantic Equivalents
For some properties there are HTML elements which better match and convey their semantics. The following properties SHOULD be encoded with the following HTML:
URL in vCard becomes <a class="url" href="...">...</a> inside the element with class="vcard" in hCard.
- Similarly,
EMAIL in vCard becomes <a class="email" href="mailto:...">...</a>
PHOTO in vCard becomes <img class="photo" src="..." alt="Photo of ..." /> or <object class="photo" data="..." type="...">Photo of ...</object>
UID in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.
Singular and Plural derivations
The 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.
Plural Properties Singularized
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.
Related Pages
The hCard specification is a work in progress. As additional aspects are discussed, understood, and written, they will be added. These thoughts, issues, and questions are kept in separate pages.
Translations
The English version of this specification is the only normative version. Read the hCard specification in additional languages:
Help translate hCard into more languages.