[uf-discuss] Microformats in Google Maps

Farndon, Tony tony.farndon at forestry.gsi.gov.uk
Thu Aug 2 06:46:22 PDT 2007

Has anyone built a page that would allow anyone to enter a freeform
address, it gets sent to googles geocoder, does it's magic on the json
output and then creates a fully marked up adr with children (plus a geo
span whilst it is at it) for them to copy and paste? 

If not, could one be produced to compliment the hcard creator?

-----Original Message-----
From: microformats-discuss-bounces at microformats.org
[mailto:microformats-discuss-bounces at microformats.org] On Behalf Of Rob
Sent: 02 August 2007 14:35
To: Microformats Discuss
Subject: Re: [uf-discuss] Microformats in Google Maps

Hi all,

converting a freeform address is definitely much easier nowadays with
all the geocode services out there, so nobody should have to develop
their own custom parser any more.

For example Google provides an excellent service so any publisher with
freeform address data should not only be able to generate a geocode from
that text but also retrieve a nicely sliced up structured address too.


UNSTRUCTURED INPUT DATA: (To use the previous address example)
922 Aldridge Rd, Birmingham B44


STRUCTURED OUTPUT AS JSON (or other format as requested):
{"name":"922 Aldridge Rd, Birmingham
address":"922 Aldridge Rd, Birmingham, Birmingham, B44 8,
e":"922 Aldridge Rd"},"PostalCode":{"PostalCodeNumber":"B44

So now you have nicely structured hCard data:
<div class="street-address">922 Aldridge Rd</div> <!-- ThoroughfareName
<span class="locality">Birmingham</span>, <!-- LocalityName --> <span
class="region">Birmingham</span>, <!-- SubAdministrativeArea --> <span
class="postal-code">B44</span> <!-- PostalCodeNumber --> <div
class="country-name">England</div> <!-- AdministrativeAreaName -->

But I'm sure I'm telling you all how to suck eggs 8)

Rob Manson

BTW Scott...I tried your auto_geo tool and got the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator,
webmaster at microformat.makedatamakesense.com and inform them of the time
the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error

Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.

microformats-discuss mailing list
microformats-discuss at microformats.org

This email was received from the INTERNET and scanned by the Government
Secure Intranet Anti-Virus service supplied by Cable&Wireless in
partnership with MessageLabs. (CCTM Certificate Number 2006/04/0007.) In
case of problems, please call your organisation's IT Helpdesk. 
Communications via the GSi may be automatically logged, monitored and/or
recorded for legal purposes.

+++++ The Forestry Commission's computer systems may be monitored and communications carried out on them recorded, to secure the effective operation of the system and for other lawful purposes. +++++

The original of this email was scanned for viruses by the Government Secure Intranet (GSi) virus scanning service supplied exclusively by Cable & Wireless in partnership with MessageLabs.

On leaving the GSi this email was certified virus-free

More information about the microformats-discuss mailing list