$xml = simplexml_load_file('http://rss.news.yahoo.com/');print "\n";foreach ($xml->channel->item as $item) { print "$item->title\n";}print "";?>