{"id":335,"date":"2010-08-04T15:48:12","date_gmt":"2010-08-04T19:48:12","guid":{"rendered":"http:\/\/www.blogseye.com\/?p=335"},"modified":"2010-08-04T15:48:12","modified_gmt":"2010-08-04T19:48:12","slug":"recent-google-searches","status":"publish","type":"post","link":"http:\/\/blogseye\/2010\/08\/recent-google-searches.html","title":{"rendered":"Recent Google Searches"},"content":{"rendered":"
Someone was trying to hack my Recent Google Searches Widget to work outside of WordPress. This could be used as an include in any web page and when users arrive via google, bing, or yahoo they would see a search that would let them search the site using the same keywords.\u00a0 Since the search engines only give you one link to the best match, this code will give you the rest of the matches.<\/p>\n
I figured out what the person was doing wrong and I generalized the code to work pretty much anywhere that has php.<\/p>\n