load( $file );
$books = $doc->getElementsByTagName( "item" );
$i=0;
$final="";
foreach( $books as $book )
{
if($i<4)
$authors = $book->getElementsByTagName( "title" );
$author = $authors->item(0)->nodeValue;
$publishers = $book->getElementsByTagName( "description" );
$publisher = $publishers->item(0)->nodeValue;
$titles = $book->getElementsByTagName( "pubDate" );
$title = $titles->item(0)->nodeValue;
$links = $book->getElementsByTagName( "link" );
$link = $links->item(0)->nodeValue;
$final .="
";}
echo "";*/?>