}
/* Extract the summary from the webpage contents */
- preg_match('/<meta content="(.+?)\. \w+ \d+, \d+.*" name="description">/i',
+ //print "contents: $contents <br>";
+ preg_match('/<meta name="description" content="(.+?)\. \w+ \d+, \d+.*">/i',
$contents, $matches);
$summary=$matches[1];