<channel> <title>REMBRANDT News</title> <link>http://xldb.di.fc.ul.pt/Rembrandt</link> <description>News about the REMBRANDT named entity recognition tool</description> <language>en_UK</language> <pubDate>Thu, 01 Dec 2008 00:00:00 GMT</pubDate> <lastBuildDate><?php echo date("r", filectime($basedir . "/" . $newsfile['en'])); ?> </lastBuildDate> <?php //<docs>http://blogs.law.harvard.edu/tech/rss</docs> ?> <generator>REMBRANDT RSS generator</generator> <managingEditor>ncardoso@xldb.di.fc.ul.pt</managingEditor> <webMaster>ncardoso@xldb.di.fc.ul.pt</webMaster> <?php $arr = readNews('en'); for ($i = 1; $i <= $arr["total"]; $i++) { echo "<item>\n"; echo "<title>" . $arr[$i]['title'] . "</title>\n"; echo "<link>http://xldb.di.fc.ul.pt" . $rembrandtwsdir . "/index.php?lg=en&do=news#" . $arr[$i]['time'] . "</link>\n"; echo "<description>" . $arr[$i]['description'] . "</description>\n"; echo $arr[$i]['description'] . "\n"; echo "<pubDate>" . date("r", $arr[$i]['time']) . "</pubDate>\n"; echo "<guid>http://xldb.di.fc.ul.pt" . $rembrandtwsdir . "/" . md5($arr[$i]['description']) . "</guid>\n"; echo "</item>\n"; } ?> </channel> </rss>
<channel> <title>Notícias REMBRANDT</title> <link>http://xldb.di.fc.ul.pt/Rembrandt</link> <description>Notícias sobre o sistema de reconhecimento de entidades mencionadas REMBRANDT</description> <language>pt_PT</language> <pubDate>Thu, 01 Dec 2008 00:00:00 GMT</pubDate> <lastBuildDate><?php echo date("r", filectime($basedir . "/" . $newsfile['pt'])); ?> </lastBuildDate> <?php //<docs>http://blogs.law.harvard.edu/tech/rss</docs> ?> <generator>REMBRANDT RSS generator</generator> <managingEditor>ncardoso@xldb.di.fc.ul.pt</managingEditor> <webMaster>ncardoso@xldb.di.fc.ul.pt</webMaster> <?php $arr = readNews('pt'); for ($i = 1; $i <= $arr["total"]; $i++) { echo "<item>\n"; echo "<title>" . $arr[$i]['title'] . "</title>\n"; echo "<link>http://xldb.di.fc.ul.pt" . $rembrandtwsdir . "/index.php?lg=pt&do=news#" . $arr[$i]['time'] . "</link>\n"; echo "<description>" . $arr[$i]['description'] . "</description>\n"; echo $arr[$i]['description'] . "\n"; echo "<pubDate>" . date("r", $arr[$i]['time']) . "</pubDate>\n"; echo "<guid>http://xldb.di.fc.ul.pt" . $rembrandtwsdir . "/" . md5($arr[$i]['description']) . "</guid>\n"; echo "</item>\n"; } ?> </channel> </rss>
<?php require_once "views/header.php"; require_once "views/header_link.php"; require_once "defaultnavStyles.php"; $aboutStyle = 'class="active"'; require_once "views/navbar.php"; require_once __DIR__ . '../dbmodel/dbmodel.php'; $connection = dbconnect(); $html = readNews(); ?> <div class="jumbotron jumbotron-news"></div> <div class="container"> <div class="col-md-12 col-xs-12"> <h2><span class="header-style">News</span></h1> <?php print $html; ?> </div> </div> <div class="container"> <span class="header-style"><h2><a href="archive.php"> Go to Archives</a></h2></span> </div> <div class="divider"> <img src="images/g4012.png" alt="divider line"> </div> <!-- Footer --> <?php require_once "views/footer.php"; ?>