","")?>

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

"._("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); foreach($items as $id => $item) { $query = "./title"; $nodeList = $xpath->query($query, $item); $title = str_replace("&#", "&#", recode_string("UTF8..html" , $nodeList->item(0)->nodeValue)); $query = "./link"; $nodeList = $xpath->query($query, $item); $link = $nodeList->item(0)->nodeValue; $query = "./description"; $nodeList = $xpath->query($query, $item); $description = str_replace("&#", "&#", 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 = ''; } ?> [ ]

','')?>

','')?>

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






.