8 – How to fix CORS errors in the console for Feed RSS in Views?

I have 2 websites. On the first site (Drupal 8), I created an RSS Feed (in Views) and I want to post it on the second. But it does not work. I have errors in the console.

How can I correct these errors ?

The RSS Feed must be displayed on a hundred websites.

enter image description here


<!doctype html>
<html lang="fr" class="h-100">
      <div id="feed"></div>
    <script src="https://drupal.stackexchange.com/feed.js"></script>


const FEED_URL = `https://www.s1biose.com/fr/test/rss.xml`;

  .then(response => response.text())
  .then(str => new window.DOMParser().parseFromString(str, "text/xml"))
  .then(data => {
    const items = data.querySelectorAll("item");
    let html = ``;
    items.forEach(el => {
      html += `
          <img src="https://drupal.stackexchange.com/${el.querySelector("link").innerHTML}/image/large.png" alt="">
            <a href="http://drupal.stackexchange.com/${el.querySelector("link").innerHTML}" target="_blank" rel="noopener noreferrer">
    document.querySelector('#feed').insertAdjacentHTML("beforeend", html);

I followed the following tutorial :

How to Fetch and Parse RSS Feeds in JavaScript

I also found this tutorial but I did not understand anything :