Displaying 1 result from an estimated 1 matches for "googlresult".
2006 Jul 14
2
RESTful thinking - Need some guidance.
...mphitheatre Parkway Mountin View,CA''
address1 = URI.escape(address)
googleoutput = ''&output=xml''
googlekey = ''&key=mykey''
result=URI(url+address1+googleoutput+googlekey ).read
doc = Document.new result
r=doc.elements["/Response/Point"]
@googlresult = r.attributes["coordinates"]
It works up till this line doc = Document.new result (I''m using IRB to
test this BTW)
It says undefined when that line is executed. Having never done this
before, I don''t know what the issue is. I also know there is a
google-geocode ge...