Yahoo

GeoCoding using Ruby

A quick hack to get a location's geo coding

 
 require 'xml-simple'
 require 'net/http'
 
 # Enter the location to get the lat and long
 #
 def yahoo_geo(location)
   host = "api.local.yahoo.com"
   q =  "http://api.local.yahoo.com/MapsService/V1/geocode"
   q << "?appid=wnorrix&location=#{URI.encode(location)}"
   xml = XmlSimple.xml_in(Net::HTTP.get(host, q), {"ForceArray" => false})
   return xml["Result"]
 end
 

(Google vs Yahoo) Video Search

I decided to check out Google's Video search to find some videos I wanted. After getting a good number of unsuccessful results. I gave up and moved to the Yahoo Video Search. I later went back to Google's site and decided to seach for "hot girls making out":http://video.google.com/videosearch?q=hot+girls+making+out

And here is a screenshot of what I got.

Syndicate content