[uf-discuss] hCard Check

Tim White tjameswhite at yahoo.com
Tue May 23 12:08:00 PDT 2006


Thanks for the updates Tantek. I hadn't thought of combining the properties -- "organization-unit extended-address". If I get a minute I'll test that as well (via X2V).
 
~ Tim 
www.tjameswhite.com
 
Get Firefox!

----- Original Message ----
From: Tantek Çelik <tantek at cs.stanford.edu>
To: microformats-discuss <microformats-discuss at microformats.org>
Sent: Tuesday, May 23, 2006 2:55:01 PM
Subject: Re: [uf-discuss] hCard Check

Hi Tim,

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
I think.

In addition, as this is an extended organization and department example, I
figured it deserved its own section with a bit more explanation.

 http://microformats.org/wiki/hcard-examples#Organizations_and_Departments

Thanks again,

Tantek

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>
> </div>
> </div>
> </div>
> 
> 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[2]
> 
> [2] - 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:
> http://www.sprinklerfitters483.org/extended-address.htm
> http://www.sprinklerfitters483.org/organization-unit.htm
> 
> Please take a look and let us know the results.
> 
> 
> ~ Tim White
> tjameswhite.com
> 
> PS: I've also added the organization example to the wiki:
> http://microformats.org/wiki/hcard-examples#References_to_People_and_Organizat
> ions
> 
> * http://www.sprinklerfitters483.org/apprenticeship/index.htm
> 
> 
> 
> 
> 
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss

_______________________________________________
microformats-discuss mailing list
microformats-discuss at microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss






More information about the microformats-discuss mailing list