<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RelchIchib</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RelchIchib"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/RelchIchib"/>
	<updated>2026-04-08T16:03:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hcard-implied-brainstorming&amp;diff=35180</id>
		<title>hcard-implied-brainstorming</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hcard-implied-brainstorming&amp;diff=35180"/>
		<updated>2008-12-16T18:16:48Z</updated>

		<summary type="html">&lt;p&gt;RelchIchib: getdron&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;troctroc&lt;br /&gt;
&amp;lt;h1&amp;gt;Implied hCard Brainstorming&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These are ideas for solutions to [[hcard-implied|implied-hcards]]. See [[hcard-implied-examples]] for use cases.&lt;br /&gt;
&lt;br /&gt;
== Initial ideas ==&lt;br /&gt;
&lt;br /&gt;
The rule could be similar to:&lt;br /&gt;
&lt;br /&gt;
If a an element with class=vcard does not have any hCard class names, imply the entire content as an fn field, and attempt to apply the implied &amp;quot;n&amp;quot; optimization.&lt;br /&gt;
&lt;br /&gt;
Optionally, if the root element has @href, imply a class=&amp;quot;url&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;vcard&amp;quot; href=&amp;quot;http://ryancannon.com/&amp;quot;&amp;gt;Ryan Cannon&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
BEGIN:VCARD&lt;br /&gt;
N:Cannon;Ryan;;;&lt;br /&gt;
FN:Ryan Cannon&lt;br /&gt;
URL:http\://ryancannon.com/&lt;br /&gt;
END:VCARD&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All this is possible because it requires an hCard without hCard markup inside.&lt;br /&gt;
&lt;br /&gt;
This is fairly powerful for a few reasons:&lt;br /&gt;
&lt;br /&gt;
* It does not require in-depth knowledge of hCard or vCard&lt;br /&gt;
* Extraordinarily simple markup&lt;br /&gt;
* Provides a smaller barrier-to-entry for microformats that require hCard&lt;br /&gt;
&lt;br /&gt;
Additionally, the @href could map to different properties based on protocol:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;[href^='http']&amp;lt;/nowiki&amp;gt; would map to &amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;[href^='mailto']&amp;lt;/nowiki&amp;gt; would map to &amp;lt;code&amp;gt;email&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;[href^='data']&amp;lt;/nowiki&amp;gt; would map to &amp;lt;code&amp;gt;photo&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:RCanine|Ryan Cannon]]&lt;br /&gt;
&lt;br /&gt;
==Links to vCards==&lt;br /&gt;
&lt;br /&gt;
Parsers should ignore any links to the .vcf file extension:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;a class=&amp;quot;vcard&amp;quot; href=&amp;quot;http://example.com/example.vcf&amp;quot;&amp;gt;Download my vcard&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
since users, unaware of hCard, may apply class=&amp;quot;vcard&amp;quot; to such links.&lt;br /&gt;
&lt;br /&gt;
[[User:AndyMabbett|Andy Mabbett]] 13:33, 8 Dec 2006 (PST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://microformats.org/discuss/mail/microformats-discuss/2008-January/011199.html Mailing list discussion: January 2008]&lt;/div&gt;</summary>
		<author><name>RelchIchib</name></author>
	</entry>
</feed>