he intentado con el siguiente codigo y la primera vez me funciono. Alguien sabe porque?
Código PHP:
<?php
$xml = simplexml_load_file("http://maps.google.com/maps/geo?q=madrid&output=xml&key="key de google"") or die("feed not loading");
print_r($xml); //solo para ver que hay
?>
<html>
<head>
<title>Mi portfolio</title>
</head>
<body>
<h1>Mi portfolio</h1>
<ul>
<?php
//mostrar la lista de proyectos
foreach($xml->project as $project){
print "<li>".$project->coordinates."</li>";
}
?>
</ul>
</body>
</html>