List Info

Thread: Adr with no children (redux)




Adr with no children (redux)
country flaguser name
United Kingdom
2007-09-27 02:15:00
In IRC Tantek said
<http://microformats.org/wiki/hcard-examples-in-
wild-with-problems - it
>is only *suboptimal*.

That is counter to recent discussion here (where the
consensus was that
"label" should be used for unformatted
addresses):

        <http://microformats.org/disc
uss/mail/microformats-discuss/2007-April/009251.html>


to the adr & hCard cheat-sheets:

        <http://microformats.org/wiki/hcard-cheatsheet#Adr>

and to the warning given by Operator.

How is a parser to deal with a child-less "adr"?


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

Re: Adr with no children (redux)
country flaguser name
United States
2007-09-27 10:12:13
On Sep 27, 2007, at 1:15 AM, Andy Mabbett wrote:

> How is a parser to deal with a child-less
"adr"?

I've handled child-less adr by reading the textual content
of the  
element as a full unstructured address.  This isn't useful
for  
conversion to vCard, but it's still useful semantics in
other  
contexts.  In my case, for example, some geocoding services
can take  
a full unstructured address as input, so I use it to
estimate  
coordinates for addresses.  A structured adr is still
better, of  
course, but not necessary for all use cases.

Peace,
Scott

_______________________________________________
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 )