[uf-discuss] hCard e-mail link/value

Stanimir Stamenkov s7an10 at netscape.net
Mon Sep 24 13:16:46 PDT 2007


Sun, 23 Sep 2007 17:18:08 -0700, /Ryan King/:
> On Sep 22, 2007, at 11:32 AM, Stanimir Stamenkov wrote:
>
>> <address class="vcard">
>>   <span class="fn">John Doe</span><br>
>>   E-mail: <a class="email" 
>> href="mailto:John%20Doe%3Cjohn.doe at example.com%3E">john.doe at example.com</a> 
>>
>> </address>
>>
>> Then I've noticed some tools [1] I've tried which export vCard files 
>> out of that hCard information put the whole part after the mailto: 
>> scheme as an e-mail address value:
>
> I think the reason this doesn't work the way you expect is due some of 
> us mis-reading the releveant RFCs and concluding that that syntax for 
> mailto URIs is incorrect. Upon re-reading them I think I was wrong, the 
> syntax you're using there is fine and should be supported. I'll work on 
> getting it into my parsers and the test suite.

Seems related to my other reply comment:

     "It could have also been defined a more strict parsing of the 
href="mailto:..." value so only the addr-spec (as defined in RFC 
822) is extracted, but I'm not sure if this would be more helpful 
than restricting."

The point I was making is I'm not sure the vCard spec permits full 
address like:

Joe D. <john.doe at example.com>

in the EMAIL;INTERNET field.  That is the EMAIL field specifies a 
different phrase to entitle the recipient than its full name, for 
example.  As far as I know there may are multiple e-mail addresses 
specified and it would make sense if it is possible to entitle the 
recipient differently when sending to the different addresses.

-- 
Stanimir


More information about the microformats-discuss mailing list