[uf-discuss] hCard Check
Tantek Ç elik
tantek at cs.stanford.edu
Tue May 23 11:55:01 PDT 2006
Thanks for adding the hCard example.
I took a quick look, and fixed a couple of things (note that in your markup
the fn appears to contain the entire address which is not what you intended
In addition, as this is an extended organization and department example, I
figured it deserved its own section with a bit more explanation.
On 5/23/06 11:30 AM, "Tim White" <tjameswhite at yahoo.com> wrote:
> A couple of weeks ago you all helped me out with marking up an hCard for an
> organization. I've gone with [*]:
> <div class="vcard">
> <div class="org fn">
> <div class="organization-name">Sprinkler Fitters U.A. Local 483</div>
> <div class="adr">
> <div class="extended-address">Apprenticeship Training Center</div>
> <div class="street-address">2531 Barrington Court</div>
> <span class="locality">Hayward</span>,
> <abbr title="California" class="region">CA</abbr>
> <span class="postal-code">94545</span>
> Another possibility was to mark up Apprenticeship Training Center as an
> organization unit:
> <div class="organization-unit">Apprenticeship Training Center</div>.
> However, Brian expressed a caveat:
> "Neither the apple address book nor the windows address book have
> street-address, extended-address, or POBox broken out to their own
> fields, so you might just want to experiment what happens to
> 'extended-address' on an import and please document it on the wiki
>  - http://microformats.org/wiki/vcard-implementations"
> I just checked into it, but before I update anything on the implementations
> page, I'd like some other verification.
> I've got Outlook 2000 and It imports the "extended-address" version just fine.
> However, if I changed the markup to "organization-unit" Outlook does not grab
> that part of the address.
> I've placed the two test cases online:
> Please take a look and let us know the results.
> ~ Tim White
> PS: I've also added the organization example to the wiki:
> * http://www.sprinklerfitters483.org/apprenticeship/index.htm
> microformats-discuss mailing list
> microformats-discuss at microformats.org
More information about the microformats-discuss