[uf-discuss] hcard validation

Benjamin Carlyle benjamincarlyle at optusnet.com.au
Tue Apr 18 02:49:36 PDT 2006


Aaron,

On Tue, 2006-04-18 at 02:23 -0500, Aaron R. Fulkerson wrote:
>             <div class="tel">
>             <span class="value">+1.651.793.0010</span> <span
> class="type">work</span><br/>
>             <span class="value">+1.651.793.0011</span> <span
> class="type">fax</span><br/>
>             <span class="value">+1.651.230.5082</span> <span
> class="type">mobile</span></div>

>              I’ve not seen an instance yet that my phone numbers are
> recognized nor one in which my full address is properly parsed. Is
> this a failing on my part or is it the parsers?
<snip/>

I think you need to separate your different telephone numbers out, eg:

>            <div class="tel">
>             <span class="value">+1.651.793.0010</span> <span
> class="type">work</span><div/>
>             <div class="tel">
>             <span class="value">+1.651.793.0011</span> <span
> class="type">fax</span><div/>
>             <div class="tel">
>             <span class="value">+1.651.230.5082</span> <span
> class="type">mobile</span></div>

You should be using "cell" instead of "mobile" for your mobile phone
number (as per rfc2426).

Your address looks ok when pushed through Suda's X2V transforms. You
also don't provide an "n" name, nor do you provide its constituent
parts. See hcard-examples for more information on that one, and also see
the implied n optimisation section of the spec.

Benjamin.



More information about the microformats-discuss mailing list