[uf-discuss] Help w/hcard

Charles Iliya Krempeaux supercanadian at gmail.com
Tue Dec 26 12:56:29 PST 2006


Hello,

You need to wrap the address in a "adr" class.

(That's an error I make ALOT too.)

So, something like...

<span class="adr">
    <span class="street-address">106 E. College Ave.</span><br />
    <span class="extended-address">12th Floor</span><br />
    <span class="locality">Tallahassee</span>,&nbsp;
    <span class="region">Florida</span>&nbsp;
    <span class="postal-code">32301</span><br />
    <span class="country-name">United States</span><br />
</span>

To be honest, IMO, I think the "adr" class should NOT be required.
And parser should work even without it.  Cause I leave it out all the
time.  And I think other do too.  But I think that's probably the
problem you aer having.


See ya

On 12/26/06, Derek Spalla <spalla at bellsouth.net> wrote:
> I need some help with my hCard. It is displaying the way that I want it on my webpage, but I am not picking up all of the information in my parsing software. The address info is getting left out when I go to add the contact to my contact manager. I am using Operator as my parser.  I pieced my hCard together from some examples I found online, so maybe I missed something. Any help would be great. Here is my code snippet:
> <p class="last vcard">All text and images &copy;2006&nbsp;<img src="http://www.ajjimspalla.com/favicon.ico" alt="contact information available as an hcard" style="padding: 0 2px;" />&nbsp;<a class="email fn" href="mailto:jim.spalla at akerman.com">Jim Spalla</a><span style="display: none"><br />
>                 <span class="title"><span class="job title">Attorney</span></span><br />
>                 <span class="org"><span class="organization-name">Akerman Senterfitt</span></span><br />
>                                 <span class="street-address">106 E. College Ave.</span><br />
>                                 <span class="extended-address">12th Floor</span><br />
>                                 <span class="locality">Tallahassee</span>,&nbsp;
>                                 <span class="region">Florida</span>&nbsp;
>                                 <span class="postal-code">32301</span><br />
>                                 <span class="country-name">United States</span><br />
>                 <div class="tel"><span class="type" style="display: none">work</span>work:&nbsp;<span class="value">850-224-9634</span></div>
>                 <div class="tel"><span class="type" style="display: none">fax</span>fax:&nbsp;<span class="value">850-222-0103</span></div>
>                 <a class="url" rel="me" href="http://www.ajjimspalla.com">http://www.ajjimspalla.com</a><br /></span>
>
> Kind Regards,
>
> Derek Spalla



-- 
    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/


More information about the microformats-discuss mailing list