I'm using the Google AJAX Search API. In particular, the RESTful
version of the API. I'm using URLs like:
http://ajax.googleapis.com/ajax/services/search/local?v=1.0&Issaquah&rsz=large&q=coffee&sll=32,-96
I'm having lots of trouble getting zooming to work. No matter what
combination of radius, sspn or z parameters I use, I get the same
results. I am unable to affect the zoom level or the span of search.
I find that the documentation is really thin for the RESTful version
of the API. There's just a little blurb at the bottom of this page:
http://code.google.com/apis/ajaxsearch/documentation/
This leads me to believe that I'm barking up the wrong tree. I am
considering a couple alternatives here:
1. experimenting with providing an API Key in my requests in hopes
that maybe the sspn will magically start working
2. using Rhino on my server and moving to the well-documented (full-
fledged) AJAX search API
Assuming (1) is probably a dead end, there are many unknowns with (2).
First off, I think I'd have to have some DOM solution for Rhino. I see
this from John Resig:
http://ejohn.org/blog/bringing-the-browser-to-the-server/
Then there is the need to set up communication between my Ruby code
(on the server) and the JavaScript code (also on the server, running
in Rhino). For that I have not yet found a solution.
I'd really benefit from some group wisdom here.