Hatte vergessen, dass die Datei 1x pro Stunde auf unseren Server geladen wird.
Mein Script zur Darstellung des Listings ist (nur ein Beispiel zum testen):
<?PHP
if($filter="crm"){
$xml_full = new SimpleXMLElement(file_get_contents("http://www.nomina.de/pressebox/crm.xml",FALSE,$xcontext));
}
?>
<table style="width: 95%; border: 0px; border-color: #FFFFFF;">
<?PHP
foreach ($xml_full->items->press_release as $pm_full) {
$headline = $pm_full->headline;
$sub_headline = $pm_full->sub_headline;
$expose = $pm_full->expose;
echo "<TR>\n";
echo "<TD>\n";
echo "<a style="text-decoration: underline; color: #414141;" href="".$pm_full->link.""><font style="color: #414141; font-weight:bold;">".utf8_decode($headline). "</font></a><font style="color: #663300; font-weight:medium;"><BR>".utf8_decode($sub_headline) ."</font><BR>\n";
echo "<font style="color: #414141; font-weight:medium;">" .utf8_decode($expose) ."</font><BR><a style="text-decoration: underline; color: #663300;" href="".$pm_full->link.""><img src="http://www.nomina.de/link.gif" border="0"> Zur vollständigen Pressemitteilung auf www.pressebox.de</a><BR><BR>\n";
$attachments = $pm_full->attachments;
if ($attachments){
echo "<B>Download (Bilder/PDF):</B><BR>";
foreach($pm_full->attachments->attachment as $at){
$link = $at->link;
$size = $at->size;
$thumblink = $at->thumblink;
$description = $at->description;
echo "<a style="text-decoration: underline; color: #663300;" href="".$link."" target="_blank">".utf8_decode($description)."</a> (".$size.")<BR>";
}
}
echo "</TD>\n";
echo "</TR>\n";
}
?>
</table>
Link zur xml Datei wäre folgender:
http://www.nomina.de/pressebox/crm.xml
Gruß Peggy