2022-02-21 17:54:44 +01:00
|
|
|
<?php
|
|
|
|
|
2022-02-23 13:27:48 +01:00
|
|
|
include './RSSArticle.php';
|
|
|
|
include './RSSArticleManager.php';
|
2022-02-21 17:54:44 +01:00
|
|
|
|
2022-02-23 13:27:48 +01:00
|
|
|
$am = new RSSArticleManager();
|
|
|
|
$tabArticle = $am -> createArticles();
|
|
|
|
$tabArticle = $am -> sortArticles($tabArticle);
|
2022-02-21 17:54:44 +01:00
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Veille Technologique Framework PHP</title>
|
|
|
|
<link rel="stylesheet" href="./css/bootstrap.css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="title">
|
|
|
|
<p>Veille Technologique | Framework PHP</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
2022-02-23 13:27:48 +01:00
|
|
|
echo sizeof($tabArticle) .' articles<br /><br />';
|
2022-02-21 17:54:44 +01:00
|
|
|
foreach ($tabArticle as $a) {
|
|
|
|
echo $a.'<br />';
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
<script src="./js/bootstrap.js"></script>
|
|
|
|
</html>
|