You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
492 B

<html>
<body>
<?php
include("news.php");
include ('RssParser.php');
$parser = new RssParser();
$resultFlux = $parser->getResultFlux("https://www.lemonde.fr/sciences/rss_full.xml");
foreach($resultFlux as $n){
echo $n->getTitle();
echo "</br>";
echo $n->getPubdate();
echo "</br>";
echo $n->getLink();
echo "</br>";
echo $n->getDescription();
echo "</br>";
echo "</br>";
}
?>
</body>
</html>