// Google World News Grabber
// Author: Jordie Bodlay
// Email: jordie@eenc.net
// About: This is a free script available for anyones to use
// and can be redistributed only for free and with proper credit
// to the author.
// ---------------------------------------------------------------
// VARIABLES
$resultCount = '5'; // change this to the number of stories you want displayed.
// Maximum of how ever many are shown on the good world news page.
$newsPage = 'http://news.google.com/news/gnworldleftnav.html'; // if the google world news page changes it's url, change this
// to the new URL.
?>
(.*) \n\n(.*) -|U",$read,$result);
echo "
";
for ($i = 0; $i <= $resultCount; $i++) { // loop through all the news results
?>