|
|
@ -23,8 +23,6 @@
|
|
|
|
<li><?=_("Inclusion into mainstream browsers!")?></li>
|
|
|
|
<li><?=_("Inclusion into mainstream browsers!")?></li>
|
|
|
|
<li><?=_("To provide a trust mechanism to go with the security aspects of encryption.")?></li>
|
|
|
|
<li><?=_("To provide a trust mechanism to go with the security aspects of encryption.")?></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<p><a href="http://blog.CAcert.org"><?=_("Latest News")?></a> - [ <a href='http://blog.CAcert.org'><?=_("More News Items")?></a> ]</p>
|
|
|
|
|
|
|
|
<?
|
|
|
|
<?
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
$query = "select *, UNIX_TIMESTAMP(`when`) as `TS` from news order by `when` desc limit 5";
|
|
|
|
$query = "select *, UNIX_TIMESTAMP(`when`) as `TS` from news order by `when` desc limit 5";
|
|
|
@ -40,7 +38,12 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
$rss = "";
|
|
|
|
$rss = "";
|
|
|
|
$open = $items = 0;
|
|
|
|
$open = $items = 0;
|
|
|
|
$fp = fopen("http://blog.CAcert.org/feed/rss/", "r");
|
|
|
|
$fp = @fopen("http://blog.CAcert.org/feed/rss/", "r");
|
|
|
|
|
|
|
|
if($fp)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
echo '<br><p><a href="http://blog.CAcert.org">'._('Latest News').'</a> - [ <a href="http://blog.CAcert.org">'._('More News Items').'</a> ]</p>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while(!feof($fp))
|
|
|
|
while(!feof($fp))
|
|
|
|
$rss .= trim(fgets($fp, 4096));
|
|
|
|
$rss .= trim(fgets($fp, 4096));
|
|
|
|
fclose($fp);
|
|
|
|
fclose($fp);
|
|
|
@ -74,4 +77,5 @@
|
|
|
|
if(substr($line, 0, 6) == "<link>")
|
|
|
|
if(substr($line, 0, 6) == "<link>")
|
|
|
|
echo "<p>[ <a href='".trim(substr($line, 6, -7))."'>"._("Full Story")."</a> ]</p>\n";
|
|
|
|
echo "<p>[ <a href='".trim(substr($line, 6, -7))."'>"._("Full Story")."</a> ]</p>\n";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|