From simon@rumble.net Wed Jul 22 14:21:46 2009 From: Simon Rumble To: openguides-dev@lists.openguides.org Subject: Re: [OGDev] Geolocation search patch Date: Wed, 22 Jul 2009 23:21:39 +1000 Message-ID: <1234ca4a0907220621u4f76d5b6y9af7a067a91b5275@mail.gmail.com> In-Reply-To: <1234ca4a0907220618g5a3ee215ka207877d38b6d7fa@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3114428342820760154==" --===============3114428342820760154== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit No I think we'll have to look a bit closer than that. I'll try and get a chance to look at it. Looks pretty simple and will be easy with a browser to test against. I'll get back to you with some code. Apologies for top posting but watching Le Tour on the couch. -- Simon Rumble On Jul 22, 2009 10:43 PM, "David Cantrell" wrote: On Wed, Jul 22, 2009 at 10:08:31AM +1000, Simon Rumble wrote: > Got myself a little more informed n... Yay, lets make up our own standard! Thanks google! > And it looks like someone has already done the legwork to make it work both > ways: > http://ajax... I added a to my version, see if that works for you now. -- David Cantrell | Minister for Arbitrary Justice "There's a hole in my bucket, dear Liza, dear Liza." "WHAT MAKES YOU SAY THERE IS A HOLE IN YOUR BUCKET?" -- OpenGuides-Dev mailing list - OpenGuides-Dev(a)lists.openguides.org http://lists.openguides.org/ma... --===============3114428342820760154== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PHA+Tm8gSSB0aGluayB3ZSYjMzk7bGwgaGF2ZSB0byBsb29rIGEgYml0IGNsb3NlciB0aGFuIHRo YXQuIEkmIzM5O2xsIHRyeSBhbmQgZ2V0IGEgY2hhbmNlIHRvIGxvb2sgYXQgaXQuIExvb2tzIHBy ZXR0eSBzaW1wbGUgYW5kIHdpbGwgYmUgZWFzeSB3aXRoIGEgYnJvd3NlciB0byB0ZXN0IGFnYWlu c3QuIEkmIzM5O2xsIGdldCBiYWNrIHRvIHlvdSB3aXRoIHNvbWUgY29kZS48L3A+CjxwPkFwb2x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G5v dy48YnI+Cjxmb250IGNvbG9yPSIjODg4ODg4Ij48YnI+Ci0tPGJyPgpEYXZpZCBDYW50cmVsbCB8 IE1pbmlzdGVyIGZvciBBcmJpdHJhcnkgSnVzdGljZTxicj4KPGJyPgogwqAgwqAmcXVvdDtUaGVy ZSYjMzk7cyBhIGhvbGUgaW4gbXkgYnVja2V0LCBkZWFyIExpemEsIGRlYXIgTGl6YS4mcXVvdDs8 YnI+CiDCoCDCoCZxdW90O1dIQVQgTUFLRVMgWU9VIFNBWSBUSEVSRSBJUyBBIEhPTEUgSU4gWU9V UiBCVUNLRVQ/JnF1b3Q7PGJyPgo8L2ZvbnQ+PHA+PGZvbnQgY29sb3I9IiM1MDAwNTAiPgotLQpP cGVuR3VpZGVzLURldiBtYWlsaW5nIGxpc3QgLSA8YSBocmVmPSJtYWlsdG86T3Blbkd1aWRlcy1E ZXZAbGlzdHMub3Blbmd1aWRlcy5vcmciPk9wZW5HdWlkZXMtRGV2QGxpc3RzLm9wZW5ndWlkZXMu b3JnPC9hPgo8YSBocmVmPSJodHRwOi8vbGlzdHMub3Blbmd1aWRlcy5vcmcvbWEuIj5odHRwOi8v bGlzdHMub3Blbmd1aWRlcy5vcmcvbWEuPC9hPi4uPC9mb250PjwvcD48L2Jsb2NrcXVvdGU+PC9w Pgo= --===============3114428342820760154==-- From david@cantrell.org.uk Wed Jul 22 15:59:42 2009 From: David Cantrell To: openguides-dev@lists.openguides.org Subject: Re: [OGDev] Geolocation search patch Date: Wed, 22 Jul 2009 15:59:37 +0100 Message-ID: <20090722145937.GC11944@bytemark.barnyard.co.uk> In-Reply-To: <1234ca4a0907220621u4f76d5b6y9af7a067a91b5275@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4618253048924150757==" --===============4618253048924150757== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, Jul 22, 2009 at 11:21:39PM +1000, Simon Rumble wrote: > No I think we'll have to look a bit closer than that. I'll try and get a > chance to look at it. Looks pretty simple and will be easy with a browser to > test against. I'll get back to you with some code. All I did was: wget -O index.html http://london.randomness.org.uk/search.cgi and then hack on the resulting page - the important bit to remember being to make the form submit to the right server. I suppose one day I should set OG up on my machine and run it properly ... -- David Cantrell | Nth greatest programmer in the world --===============4618253048924150757==-- From kake@earth.li Wed Jul 22 16:11:11 2009 From: Kake L Pugh To: openguides-dev@lists.openguides.org Subject: Re: [OGDev] Geolocation search patch Date: Wed, 22 Jul 2009 16:11:06 +0100 Message-ID: <20090722151106.GA19822@the.earth.li> In-Reply-To: <20090722145937.GC11944@bytemark.barnyard.co.uk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5810155676092048288==" --===============5810155676092048288== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed 22 Jul 2009, David Cantrell wrote: > All I did was: > wget -O index.html http://london.randomness.org.uk/search.cgi > and then hack on the resulting page [...] Small warning - RGL has a custom template for the search page, plus we're one version behind (Bob will upgrade us one day, I'm sure). Probably best to work on the svn versions rather than this. Kake --===============5810155676092048288==-- From simon@rumble.net Mon Jul 27 07:56:40 2009 From: Simon Rumble To: openguides-dev@lists.openguides.org Subject: Re: [OGDev] Geolocation search patch Date: Mon, 27 Jul 2009 16:56:35 +1000 Message-ID: <1234ca4a0907262356h76b0e191g4e95524dbb28953f@mail.gmail.com> In-Reply-To: <20090722151106.GA19822@the.earth.li> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8300445638940922416==" --===============8300445638940922416== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Okay I've got a version that works with iPhone, Firefox 3.5, Chrome and the Android browser. A bit primitive, but it works. I've used jQuery because it's what I'm used to using (and it's awesome) and that geolocation shim that's supposed to make the Gears geolocation work in the standard way ( http://ajaxian.com/archives/navigatorgeolocation-using-the-w3c-geolocation-ap= i-today ) http://www.rumble.net/stuff/search.html That shimdoesn't work properly though. For Android/Gears it returns .latitude or .longitude, while the standard is for .coords.latitude etc. Will tidy up shortly but just want to demonstrate, and hopefully Android will support the standard in the next release, instead of this Gears weirdness. --=20 Simon Rumble --===============8300445638940922416== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdj5Pa2F5IEkmIzM5O3ZlIGdvdCBhIHZlcnNpb24gdGhhdCB3b3JrcyB3aXRoIGlQaG9uZSwg RmlyZWZveCAzLjUsIENocm9tZSBhbmQgdGhlIEFuZHJvaWQgYnJvd3Nlci4gwqBBIGJpdCBwcmlt aXRpdmUsIGJ1dCBpdCB3b3Jrcy4gwqBJJiMzOTt2ZSB1c2VkIGpRdWVyeSBiZWNhdXNlIGl0JiMz OTtzIHdoYXQgSSYjMzk7bSB1c2VkIHRvIHVzaW5nIChhbmQgaXQmIzM5O3MgYXdlc29tZSkgYW5k IHRoYXQgZ2VvbG9jYXRpb24gc2hpbSB0aGF0JiMzOTtzIHN1cHBvc2VkIHRvIG1ha2UgdGhlIEdl YXJzIGdlb2xvY2F0aW9uIHdvcmsgaW4gdGhlIHN0YW5kYXJkIHdheSAoPGEgaHJlZj0iaHR0cDov L2FqYXhpYW4uY29tL2FyY2hpdmVzL25hdmlnYXRvcmdlb2xvY2F0aW9uLXVzaW5nLXRoZS13M2Mt Z2VvbG9jYXRpb24tYXBpLXRvZGF5Ij5odHRwOi8vYWpheGlhbi5jb20vYXJjaGl2ZXMvbmF2aWdh dG9yZ2VvbG9jYXRpb24tdXNpbmctdGhlLXczYy1nZW9sb2NhdGlvbi1hcGktdG9kYXk8L2E+KTwv ZGl2Pgo8ZGl2Pjxicj48L2Rpdj48ZGl2PjxhIGhyZWY9Imh0dHA6Ly93d3cucnVtYmxlLm5ldC9z dHVmZi9zZWFyY2guaHRtbCI+aHR0cDovL3d3dy5ydW1ibGUubmV0L3N0dWZmL3NlYXJjaC5odG1s PC9hPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+VGhhdCBzaGltZG9lc24mIzM5O3Qgd29yayBw cm9wZXJseSB0aG91Z2guIMKgRm9yIEFuZHJvaWQvR2VhcnMgaXQgcmV0dXJucyAubGF0aXR1ZGUg b3IgLmxvbmdpdHVkZSwgd2hpbGUgdGhlIHN0YW5kYXJkIGlzIGZvciAuY29vcmRzLmxhdGl0dWRl IGV0Yy48L2Rpdj4KPGRpdj48YnI+PC9kaXY+PGRpdj5XaWxsIHRpZHkgdXAgc2hvcnRseSBidXQg anVzdCB3YW50IHRvIGRlbW9uc3RyYXRlLCBhbmQgaG9wZWZ1bGx5IEFuZHJvaWQgd2lsbCBzdXBw b3J0IHRoZSBzdGFuZGFyZCBpbiB0aGUgbmV4dCByZWxlYXNlLCBpbnN0ZWFkIG9mIHRoaXMgR2Vh cnMgd2VpcmRuZXNzLjwvZGl2PjxkaXY+PGJyPjwvZGl2Pi0tIDxicj5TaW1vbiBSdW1ibGUgJmx0 OzxhIGhyZWY9Im1haWx0bzpzaW1vbkBydW1ibGUubmV0Ij5zaW1vbkBydW1ibGUubmV0PC9hPiZn dDs8YnI+Cgo= --===============8300445638940922416==-- From dom@earth.li Mon Aug 10 18:26:19 2009 From: Dominic Hargreaves To: openguides-dev@lists.openguides.org Subject: Re: [OGDev] Geolocation search patch Date: Mon, 10 Aug 2009 18:26:19 +0100 Message-ID: <20090810172619.GJ24618@urchin.earth.li> In-Reply-To: <1234ca4a0907262356h76b0e191g4e95524dbb28953f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1818116205609319037==" --===============1818116205609319037== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 27, 2009 at 04:56:35PM +1000, Simon Rumble wrote: > Okay I've got a version that works with iPhone, Firefox 3.5, Chrome and the > Android browser. A bit primitive, but it works. I've used jQuery because > it's what I'm used to using (and it's awesome) and that geolocation shim > that's supposed to make the Gears geolocation work in the standard way ( > http://ajaxian.com/archives/navigatorgeolocation-using-the-w3c-geolocation-= api-today > ) >=20 > http://www.rumble.net/stuff/search.html >=20 > That shimdoesn't work properly though. For Android/Gears it returns > .latitude or .longitude, while the standard is for .coords.latitude etc. >=20 > Will tidy up shortly but just want to demonstrate, and hopefully Android > will support the standard in the next release, instead of this Gears > weirdness. Got a bit lost in this thread but if David or Simon would like anything merging the best way to get this done is file a ticket, with patch, in http://dev.openguides.org/ Thanks, Dominic. --=20 Dominic Hargreaves | http://www.larted.org.uk/~dom/ PGP key 5178E2A5 from the.earth.li (keyserver,web,email) --===============1818116205609319037==--