## PHP ##

      $trends = file_get_contents('http://www.google.com/trends/hottrends/widget?pn=p1&tn=30');
      preg_match_all("/widget-title-in-list'>(.+?)</", $trends, $m);

      $q = urlencode($m[1][array_rand($m[1])]);
      $page = file_get_contents("http://www.google.com/search?q=$q&btnI=1");
      preg_match_all('/[A-Z]([\w,]+ ){2,}[\w, ]+?[.!]/', strip_tags($page), $m);
      echo $m[0][array_rand($m[0])];

This fetches the 30 most trending google searches, performs an "I Feel Lucky" search, and then displays a random sentence from that page with at least 3 words.


_"She was considered a medal favourite in the event."_

_"Kate graduated from high school a year early."_

_"April 15, 2014, to promote compliance with the policy on biographies of living people."_

_"On behalf of Bryan, we, his family, would like to thank everyone for the  outpouring of love, prayers and support."_

_"This article is about the American basketball player."_

_"Sorry, your browser either has JavaScript disabled or does not have any supported player."_