Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

New Google APIs Know Where You Are

google gearsGoogle is moving deeper into geo-aware waters with two new location-gathering API tools for developers. The company has expanded its Gears offline storage tool with a new Geolocation API and also beefed up its Ajax API to include an IP-to-geolocation discovery service. Both APIs are reminiscent of Yahoo’s FireEagle platform and signal a clear trend — tomorrow’s web will know where you are.

With more people using mobile devices to access online content, geo data offers tools for developers to build applications that can do things like show you nearby friends, pull up photos of your current location or direct you to a nearby store that stocks the item you’re after.

The Gears API methods will allow your favorite web apps to feed you location-specific info. Unfortunately, at the moment the new location API methods are limited to Windows mobile devices. But if you’d like to see the new Gears features in action, head over to the Google Mobile blog, which has some demos and links to live sites that use the new methods.

In the mean time, developers looking for a less device-specific solution will be happy to know that Google has added some geolocation methods to its Ajax API. The new methods allow you to look up a user’s location based on their IP address, which saves you from installing a IP-to-geo database.

You can see the new AJAX API in action by heading over to Google’s 2008 US Election gadget — the “News by State” will show local news for the state associated with the your IP.

Of course geolocation services raise some serious privacy concerns. Yahoo’s FireEagle does a pretty good job of making sure users are aware of what they’re getting into and Gears offers similar controls. Gears itself doesn’t store any location info, it simply allows other sites to do so. Naturally you should only allow web sites that you trust to access and store your location.

The Ajax API doesn’t require any input from the user, but like it or not, you’ve always been identifiable by IP address.

See Also:

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year