<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AcelcOzell</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AcelcOzell"/>
	<link rel="alternate" type="text/html" href="http://microformats.org/wiki/Special:Contributions/AcelcOzell"/>
	<updated>2026-05-16T14:20:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=hcard-user-interface&amp;diff=37454</id>
		<title>hcard-user-interface</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=hcard-user-interface&amp;diff=37454"/>
		<updated>2009-01-08T06:15:15Z</updated>

		<summary type="html">&lt;p&gt;AcelcOzell: letoelli&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;basgetr&lt;br /&gt;
&amp;lt;h1&amp;gt; hCard User Interface &amp;lt;/h1&amp;gt;&lt;br /&gt;
{{TOC-right}}&lt;br /&gt;
This page is for techniques and issues surrounding [[user-interface|user-interfaces]] to author, publish, and display [[hcard|hCards]].&lt;br /&gt;
&lt;br /&gt;
== Authors ==&lt;br /&gt;
* [http://allinthehead.com/ Drew McLellan]&lt;br /&gt;
* [http://tantek.com/ Tantek Ãelik], [http://technorati.com Technorati, Inc]&lt;br /&gt;
&lt;br /&gt;
== Single Input Field for Names ==&lt;br /&gt;
When capturing name data that is later to be presented as a hCard, it's important that the data is collected at the highest fidelity possible. As not all names are suitable for hCard's implied-n optimisation (and therefore can't be output as &amp;lt;code&amp;gt;fn&amp;lt;/code&amp;gt;, with &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; omitted), capturing component parts of the name individually enables the proper construction on &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; when generating the hCard.&lt;br /&gt;
&lt;br /&gt;
Sometimes, however, constraints require a name be collected with a single field. Once such example is common blog CMSs (WordPress, TextPattern) that use a single database field to store the name against each post comment. In such cases it is &amp;lt;em&amp;gt;always&amp;lt;/em&amp;gt; desirable to find a way to collect the name with higher fidelity. However, if this simply cannot be done, the implementer could chose to attempt to best-guess the component parts of the name to form a valid &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
One suggested 'best-guess' algorithm might be:&lt;br /&gt;
&lt;br /&gt;
# If the name is one word, attempt [[hcard#Implied_.22nickname.22_Optimization|implied nickname optimization]]&lt;br /&gt;
# If the name is two words, attempt [[hcard#Implied_.22n.22_Optimization|implied n optimization]]&lt;br /&gt;
# For three or more words&lt;br /&gt;
## Perform a lookup against known sub-name combinations (e.g. 'Sarah Jane', 'Vander Wal')&lt;br /&gt;
## Apply the grammar &amp;quot;(honorific-prefix) given-name additional-name(s) family-name (honorific-suffix)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The principal behind this suggestion is that it's better to make a good guess and potentially miscategorise an ambiguous name component than to generate an invalid hCard.&lt;br /&gt;
&lt;br /&gt;
== Additional user interface ==&lt;br /&gt;
Some examples of additional user interface for hCard. Note that most of these actions should be applicable to all instances of the microformat on the page at once (e.g. export all contacts), of for a selection of instances (e.g. export selected contacts), or one just one specific instance (e.g. export contact XYZ).&lt;br /&gt;
&lt;br /&gt;
=== address book integration ===&lt;br /&gt;
* &amp;quot;Add to Address Book&amp;quot; (convert the hCard to a vCard (.vcf) and pass it onto the OS to automatically open/incorporate into the user's preferred local address book application)&lt;br /&gt;
* add to Gmail, Yahoo Mail, Hotmail address book (etc.)&lt;br /&gt;
=== desktop to phone transfer ===&lt;br /&gt;
* send to Bluetooth, for quick transfer of contact info from the web to a cell phone.&lt;br /&gt;
* display contact details in an on-screen or downloadable [[semacode]], [[qr_code]] or other [[2d_barcodes]] (to allow them to be read by mobile devices)&lt;br /&gt;
&lt;br /&gt;
=== telephony integration ===&lt;br /&gt;
* If a &amp;lt;code&amp;gt;tel&amp;lt;/code&amp;gt; (phone number) having type &amp;lt;code&amp;gt;home&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;work&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cell&amp;lt;/code&amp;gt; is present, provide options to dial it (NB applies to one number at a time only; except for possible conference-call uses) directly, or via&lt;br /&gt;
** built-in modem&lt;br /&gt;
** bluetooth command to a paired device (e.g. cell phone)&lt;br /&gt;
** default telephony app (e.g. skype-out)&lt;br /&gt;
* If a &amp;lt;code&amp;gt;tel&amp;lt;/code&amp;gt; (phone number) having type &amp;lt;code&amp;gt;home&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;work&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cell&amp;lt;/code&amp;gt; is present, provide options to send MMS:&lt;br /&gt;
**directly&lt;br /&gt;
**using on-line service&lt;br /&gt;
** bluetooth command to a paired device (e.g. cell phone)&lt;br /&gt;
=== fax integration ===&lt;br /&gt;
* If a &amp;lt;code&amp;gt;tel&amp;lt;/code&amp;gt; of type &amp;lt;code&amp;gt;fax&amp;lt;/code&amp;gt; is present, provide options to send a fax to it via:&lt;br /&gt;
** efax online service&lt;br /&gt;
** built-in fax modem&lt;br /&gt;
=== birthday planning ===&lt;br /&gt;
* If a birth-date is present, treat it as a recurring hCalendar event.&lt;br /&gt;
=== address canonicalization ===&lt;br /&gt;
* Given a postal code (or other partial address) fetch the full, canonical postal address for the relevant authority's website (e.g. [http://postcode.royalmail.com/portal/rm/postcodefinder]). If no country is defined, used the user's locality as the default.&lt;br /&gt;
&lt;br /&gt;
=== data export ===&lt;br /&gt;
* export as text/ [[csv|comma-separated-variables]] (CSV) to allow editing, sorting and/ or import into spreadsheets/ databases, etc. (or concatenate to existing file)&lt;br /&gt;
&lt;br /&gt;
==see also==&lt;br /&gt;
{{hcard-related-pages}}&lt;/div&gt;</summary>
		<author><name>AcelcOzell</name></author>
	</entry>
</feed>