[uf-discuss] uF's on stand-alone phone numbers.

Alexander Mayrhofer axelm at nona.net
Thu Aug 23 09:11:23 PDT 2007


Tantek Çelik wrote:
> Could you provide a URL to an example on the Web that you are looking to
> mark up?  Often times the surrounding context will yield critical clues for
> the markup solution.

Hi Tantek,

sure - here's one example:
http://enumquery.com/lookup?%2B43-780-004711

So far the only uF on that page is the "rel='home'" property of the homepage
link, and i'm looking into more options to use uF's.

>> - use a "fake" name for a full hCard (like "<number> addressbook entry") for
>> a very minimal hCard
> 
> That seems like semantic noise, which should probably be avoided.

Yes, it does not really add to the value of the hCard - the number would
already be into the "tel" class itself. Might not be too useful when the
hCard is presented in an application, too..

>> - only mark up the phone number itself, and violate the hCard specs?
> 
> It sounds like you are proposing reusing the "tel" property outside of an
> hCard.
> 
> That wouldn't "violate the hCard spec" per se, in that you wouldn't have an
> invalid hCard, you wouldn't have an hCard at all.

Oh, yes - true. I saw that geo is being used outside hCards as well, so the
case is somehow similiar, although in my case the URLs on the page are
related to the phone number, so the hCard would serve good as a "grouping"
function for URLs and the phone number itself...

> It seems reasonable to experiment with using properties of hCard on their
> own like that to see how it works with actual examples, especially given
> that past such experiments have yielded additional microformats (geo [1],
> adr [2]).
> 
> Doing so would be good use of POSH[3].

Ok, sounds fine with me. I think I'll mark up the phone number itself right
now, and probably look into a more reasonable fn for a full hCard.

Thanks for the useful comments & pointers!

Alex


More information about the microformats-discuss mailing list