[uf-discuss] Adr with no children (redux)

Scott Reynen scott at randomchaos.com
Thu Sep 27 08:12:13 PDT 2007


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



More information about the microformats-discuss mailing list