channel->item[$i]->title; $link = $xml->channel->item[$i]->link; $description = $xml->channel->item[$i]->description; $pubDate = $xml->channel->item[$i]->pubDate; $html .= "

$title

"; $html .= "$description"; $html .= "
$pubDate
"; } echo $html; ?>