W3C home > Mailing lists > Public > www-html@w3.org > November 2005

Re: domain distinction between @role and @class is unenforceably vague [was: Re: p in address tag?]

From: Karl Dubost <karl@w3.org>
Date: Thu, 10 Nov 2005 15:56:02 -0500
Message-Id: <0E8954F5-2FA6-41F9-917A-297D0B324D9A@w3.org>
To: XHTML-Liste <www-html@w3.org>


Le 05-11-10 à 13:26, Orion Adrian a écrit :

> <address id="creator role="creator_address">
>          <span about="#creator" property="author">John Foliot</span>
>          <span about="#creator" property="company">WATS.ca</span>
>          <span about="#creator" property="city_state">Ottawa, ON</ 
> span>
>          <span about="#creator" property="country">Canada</span>
>          <span about="#creator" property="email">foliot@wats.ca</span>
>          <span about="#creator" property="website">http:// 
> www.wats.ca</span>
> </address>


The microformats people are working on a solution too starting with  
the RFC 2426 as a basis. I hope we will find a converging solution.  
For property names I would recommend to use the one of vcard.

[[[
2.4.2 VCARD

AGENT:BEGIN:VCARD\nFN:Joe Friday\nTEL:+1-919-555-7878\n
TITLE:Area Administrator\, Assistant\n EMAIL\;TYPE=INTERNET:\n
jfriday@host.com\nEND:VCARD\n

This vCard fragment has one property whose value is another vCard,  
and could be represented as an hCard fragment with an embedded hCard,  
literally (with the unnecessary type=internet default omitted, and  
the implied n optimization):

<div class="agent vcard">
  <a class="email fn" href="mailto:jfriday@host.com">Joe Friday</a>
  <div class="tel">+1-919-555-7878</div>
  <div class="title">Area Administrator, Assistant</div>
</div>

]]]

-- hcard-examples - Microformats
http://microformats.org/wiki/hcard-examples
Thu, 20 Oct 2005 15:39:01 GMT

One thing which is surprising is why they didn't used a link for  
telephones with tel:
I sent an email.
http://microformats.org/discuss/mail/microformats-discuss/2005- 
November/001918

-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager
*** Be Strict To Be Cool ***
Received on Thursday, 10 November 2005 20:55:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT