","")?>

',"")?> ','')?>

"._("Most CAcert functions are currently unavailable. Please come back later.")."";?>
%s

\n\n",_('Latest News')); $xml = "/www/pages/index/feed.rss"; // FIXME: use relative path to allow operation with different document root $dom = new DOMDocument(); $dom->preserveWhiteSpace = false; $dom->Load($xml); $xpath = new DOMXPath($dom); //Create an XPath query $query = "//channel/item"; $items = $xpath->query($query); $count = 0; foreach($items as $id => $item) { $query = "./title"; $nodeList = $xpath->query($query, $item); $title = recode_string("UTF8..html" , $nodeList->item(0)->nodeValue); $query = "./link"; $nodeList = $xpath->query($query, $item); $link = htmlspecialchars($nodeList->item(0)->nodeValue); $query = "./description"; $nodeList = $xpath->query($query, $item); $description = recode_string("UTF8..html" , $nodeList->item(0)->nodeValue); printf("

%s

\n", $title); printf("

%s

\n", $description); printf("

[ %s ]

\n\n", $link,_("Full Story")); $title = ''; $description = ''; $link = ''; $count++; if ($count >= 3) { break; } } ?> [ ]

','')?>

','')?>

','')?> ',"")?>






.