Displaying 1 result from an estimated 1 matches for "ret_html".
Did you mean:
get_html
2006 May 18
3
Google Map
...?client=public&search_result=&db=pc&cidr_client=none&lang=&keepicon=true&pc=#{postcode2}&advanced=&client=public&addr2=&quicksearch=#{postcode}")
do |f|
#coords = f.read.match(/lat=\"(-?\d+\.\d+)\"
lng=\"(-?\d+\.\d+)\"/)
ret_html = f.read
coord_lat = ret_html.match(/<dd class=\"latitude\">\d+:\d+:\d+\w
\((-?\d+\.\d+)\)/)
coord_lon = ret_html.match(/<dd class=\"longitude\">\d+:\d+:\d+\w
\((-?\d+\.\d+)\)/)
unless coord_lat.nil? and coord_lon.nil?
return { :lat =>...