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 "".$DateEnd2."".utf8_decode($Title->item(0)->nodeValue)."".utf8_decode($Author->item(0)->nodeValue)."".utf8_decode($Scheme)." Compare"; } // echo 'see?url=http:%2F%2Fww2.biocase.org%2Fsvn%2Fannotation%2Fmodified%2F".$UUID1."%2F".$schema."%2F".$Specimen_InstitutionCode."%2".$Specimen_CollectionCode."%2F".$Specimen_UnitID."_1.xml&schema=".$format' } } } ?>