Rough KML locations for geo URIs

I've combined my interests in the brand new RFC 5870 and representing rough locations in KML at Comments are very welcome, except about the name of the app.

Update (2010-06-18): Fixed a content disposition issue with Firefox. Apologies.


Re: Rough KML locations for geo URIs

Author: Tim Schaub

This could make a nice bookmarklet for browsers that aren't configured to follow geo URI:

<a href="javascript:(function() {var a, aa=document.getElementsByTagName('a'); for (var i=0,ii=aa.length;i<ii;++i) {a=aa[i]; if (a.href && a.href.indexOf('geo:')===0) {a.onclick = function() {window.location = '' + encodeURIComponent(this.href); return false;}}}})();">geo bookmarklet</a>