<!DOCTYPE html>
<html>
<head>
<title>my rss feed</title>
<meta charset="utf-8">
</head>
<body>
<p id="news"></p>
<script type="text/javascript">
function afficherNews(arrayNews){
var news = document.getElementById('news');
news.innerHTML = "";
arrayNews.forEach((val)=>{
news.innerHTML += val + "<br>";
})
}
setInterval(()=>{afficherNews(["Un malade mental tue un oiseau", "Java ça pue", "lol"])}, 5000)
</script>
</body>
</html>
C'est un peu sale, mais c'est ce que tu veux ?