[wp-hackers] Geodata storage

Thomas Scholz info at toscho.de
Sun Jun 6 00:04:22 UTC 2010


Mike Schinkel:

> Hey, can anyone discuss the use-cases they envision for WordPress and  
> Geo data?  I understand the abstract need but am curious how people are  
> using it.

I used such data to display Google maps in author profiles recently.
Example: <http://ig-bkh.de/mitglied/toscho/>

On the first request I took the address of the member and pulled the Geo  
data from Google:
<http://github.com/toscho/Static-Google-Map/blob/master/class.Google_Static_Map.php#L232>

Then I stored this as a meta value in the profile (with slightly different  
names than suggested by Michael).

If WP integrates a Geo data API it should cover author profiles too to  
make this interoperable.

Regards
Thomas

-- 
http://toscho.de


More information about the wp-hackers mailing list