[microformats-discuss] Re: Formating Organizations

Ryan King ryan at technorati.com
Tue Sep 6 10:25:29 PDT 2005

On Sep 6, 2005, at 9:49 AM, Jacob Ham wrote:

> Sorry, about that last email.

No problem.

> Anyway, I am trying to create a simple Rails app to handle my  
> contacts.  It is basically for me to learn Rails, and introduce  
> myself with microformats in the process.  My contact app has the  
> ability to add just organizations.  When they view the  
> organization, I have it in hCard format.  This is what I have come  
> up with because the hCard wiki is unclear on organization specs.
> <div class="vcard">
>  <a class="url fn" href="http://www.microsoft.com"></a>

fn is actually required, so you shouldn't leave it blank

>  <div class="org">Microsoft Corp</div>

I think this (how to mark up organizations in hcard) is unfortunately  
still an open issue.

Personally, I would combine the above two lines into:

  <a class="url fn org" href="http://www.microsoft.com">Microsoft  

What do others think about that?

>  <div class="adr">
>   <div class="street-address">One Microsoft Way</div>
>   <span class="locality">Redmond</span>,
>   <span class="region">WA</span>
>   <span class="postal-code">98052</span>
>  </div>
>  <div class="tel">1-800-642-7676</div>
>  <div class="fax">1-425-936-7329</div>
> </div>
> My other question is by adding a link to internal operations for  
> the organization (i.e. org details) would break the hcard?
> Like:
> <div class="org"><a href="interal/show/123">Microsoft Corp</a></div>

Nope, that's fine.


More information about the microformats-discuss mailing list