Well, probably. Here's the trickier parts:
// Google News uses Julian dates! We'll go back six months.
$julian2day=gregoriantojd(date('n'),date('j'),date('Y'));
$sixmonthsback=date('n',strtotime("-6 months"));
$sixmonthsagoday=date('j',strtotime("-6 months"));
$sixmonthsagoyear=date('Y',strtotime("-6 months"));
$julianback6=gregoriantojd($sixmonthsback,$sixmonthsagoday,$sixmonthsagoyear);
$url="http://news.google.com/news?q=$feed_term&daterange:$julianback6-$julian2day&output=rss";
$data=file_get_contents($url);
$x = simplexml_load_string($data);
foreach($x->channel->item as $item) {
if ($num_stories<$max_stories) {
story($item);
$num_stories++;
}
}
The story function just prints the chunks of the item object the way we want it to.
HTH,