List Info

Thread: Re: problem with firebug and "fn org" in vcard




Re: problem with firebug and "fn org" in vcard
country flaguser name
Australia
2007-11-13 12:38:47
From: Dennis Petersen <dennis.petersencomputerbild.de>
> We are currently starting to implement various micro
formats into our
> site. One example for a site full of vcards is
> http://www.computerbild.de/cb-Service-Herst
elleradressen_465611.html.
> Everything seems to work fine with operator but when
you open the page
> with an enabled firebug you get plenty of errors. I
just want to check
> if we did anything wrong code wise. The microformats
wiki says said
 that
> you should use "fn org" for Organization
Contact Info. I don't really
> see why firebug has so many errors.

It's not the fn org causing the trouble, as the errors from
Firebug occurs on line 369.
It appears to be hundreds of the same duplicate error that
firebug is showing. I'd guess that Firebug is generating
that same error over and over again, once for every
microformat on the page.

Here's a simplified view of the problem area.

<table><tr class="vcard">
<td>
    <div class="fn org">3D Realms
Entertainment</div><br />
    <div class="adr">

    </div>
</td>
<td>
    <div class="tel">

    </div>
</td>
<td>
    www.3drealms.com

</td>
</tr></table>

Firebug says the error occurs on the closing div for adr.
Testing show that the error occurs when the adr area is
empty.

-- 
Paul Wilkins




_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: problem with firebug and "fn org" in vcard
country flaguser name
Australia
2007-11-13 20:25:09
>> site. One example for a site full of vcards is
>> http://www.computerbild.de/cb-Service-Herst
elleradressen_465611.html.
>
> It's not the fn org causing the trouble, as the errors
from Firebug occurs 
> on line 369.
> It appears to be hundreds of the same duplicate error
that firebug is 
> showing. I'd guess that Firebug is generating that same
error over and 
> over again,
> once for every microformat on the page.
>
> Here's a simplified view of the problem area.
>
> <table><tr class="vcard">
> <td>
>    <div class="fn org">3D Realms
Entertainment</div><br />
>    <div class="adr">
>
>    </div>
> </td>
> <td>
>    <div class="tel">
>
>    </div>
> </td>
> <td>
>    www.3drealms.com
>
> </td>
> </tr></table>
>
> Firebug says the error occurs on the closing div for
adr.
> Testing show that the error occurs when the adr area is
empty.
>


yes ... probably the empty adr

...maybe user-entered data where some users might have left
some of the 
fields blank? ... in the real world this would be very
common






_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )