[uf-discuss] Best practice for the "value" subproperty

Costello, Roger L. costello at mitre.org
Thu Nov 2 03:46:00 PST 2006

Thanks Jeremy.  I am creating a tutorial on hCard.  The approach I am
taking is to show some HTML text (made up), and then describe how to
mark it up using hCard properties.  One point I want to make in my
tutorial is that marking up the existing HTML text with hCard
properties won't impact the existing HTML presentation.


-----Original Message-----
From: microformats-discuss-bounces at microformats.org
[mailto:microformats-discuss-bounces at microformats.org] On Behalf Of
Jeremy Boggs
Sent: Wednesday, November 01, 2006 7:04 PM
To: Microformats Discuss
Subject: Re: [uf-discuss] Best practice for the "value" subproperty

"Costello, Roger L." <costello at mitre.org> writes:
> <span class="fn">
>        <span class="value">John </span>
>        will be our speaker.  Mr.
>        <span class="value">Public</span>
> </span> will talk about ...

While this is more an editorial suggestion than a microformat  
suggestion, it seems the best solution would be:

<span class="vcard"><span class="fn">John Public</span></span> will  
be our speaker. Mr. Public will talk about...

In general, it isn't good writing practice to mention someone's first  
name in a sentence, and then their last name in a later sentence (and  
vice versa). Even if, with hCard, we could combine the first and last  
names into one contact card, it isn't clear just from the text itself  
that "John" and "Mr. Public" are the same person; It would be jarring  
to the reader. With the change above, the microformat parser can  
easily grab the hCard for "John Public" AND the reader will know that  
"Mr. Public" is in fact "John Public."

Now, I understand the microformat question raised (it is very  
interesting one, I might add), but it seems like the best solution in  
this instance would be to avoid the problem to begin with as much as  

Are the instances on the web, Roger, that the scenario you posed to  
the list is in being used? Or was this more a hypothetical question?

Jeremy Boggs

microformats-discuss mailing list
microformats-discuss at microformats.org

More information about the microformats-discuss mailing list