load($file3); $Entries = $feed_source->getElementsByTagName('entry'); if($Entries) { foreach ($Entries as $Entry) { $testcurrent = true; $Date = $Entry->getElementsByTagName('updated'); $Title = $Entry->getElementsByTagName('title'); $Author = $Entry->getElementsByTagName('name'); $Schema = $Entry->getElementsByTagName('category'); $Link = $Entry->getElementsByTagName('link'); foreach($Link as $hallo) { $Test = $hallo->getAttribute('href'); } foreach($Schema as $hallo2) { $Scheme = $hallo2->getAttribute('scheme'); if($Scheme == "http://www.tdwg.org/schemas/abcd/1.2") { $Scheme = "ABCD 1.2"; } if($Scheme == "http://www.tdwg.org/schemas/abcd/2.06") { $Scheme = "ABCD 2.06"; } if($Scheme == "http://www.tdwg.org/schemas/abcd/2.05") { $Scheme = "ABCD 2.05"; } if($Scheme == "http://digir.net/schema/conceptual/darwin/2003/1.0") { $Scheme = "DarwinCore"; } } if($_GET['anno'] == "true") { $DateEnd = DatumsWandler(substr(($Date->item(0)->nodeValue), 0, 19)); $DateEnd2 = substr_replace($DateEnd, ' ', 10, -8); $link = $Link->item(0)->nodeValue; echo "