[Fwd: Re: [uf-discuss] hCard: url and tel]

Katrina Kaz at t-tec.com.au
Sat Jan 5 20:43:03 PST 2008


Sorry, I pressed reply thinking it would send to the list.

-------- Original Message --------
Subject: Re: [uf-discuss] hCard: url and tel
Date: Sun, 06 Jan 2008 15:10:56 +1030
From: Katrina <Kaz at t-tec.com.au>
Reply-To: Kaz at t-tec.com.au
Organization: Temperature Technology
To: ryan <ryan at theryanking.com>
References: <47804C38.1040101 at t-tec.com.au> 
<09B77DB2-CAC8-436E-822A-1A737F8761E8 at theryanking.com>

ryan wrote:
> On Jan 5, 2008, at 7:34 PM, Katrina wrote:
>> Gday,
>>
>> I want to specify a work-related telephone number, but I just want to 
>> label it 'Phone:'. The closest I can find to do this is the abbr, 
>> however, work is not an abbreviation of 'phone'.
> 
> Right, which means you're trying to add information that's not already 
> in the document. There's not a way to do this with microformats because 
> they're made to markup existing and visible content.

The information is there in the document: it is in the context. The
context means that all information is work related.

Think business cards. They don't have
work: 01234-01234
fax: 01234-01234

written on them. People know it's a work number, due to the context.
Also, what sort of device is 'work'? Is it another fax? Is it a
landline, teletype, modem or mobile, what is it?

Instead, they have
phone: 01234-01234
fax: 01234-01234

However, I think it needs to be more explicit on vCards so that when
imported into address books, the information is placed into the correct
fields.

So my question is how to do that? Take the context and make it explicit
in the hCard/vCard?

> 
>> eg. <abbr class="type" title="work">Phone</abbr>
>>
>> Q2. Would it be possible to do something like this, instead?
>> <span class="type" title="work">Phone</span>
> 
> @title is only used for abbr for many reasons. 

If there is no way to specify context in the hCard, doesn't that mean
that whether or not to use microformats is also a choice about semantic
HTML? To choose to use abbr for things that they were never intended
(hmmmm, memories of tables ;) )?

Kat



More information about the microformats-discuss mailing list