It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: http://www.ansa.it/main/notizie/awnplus/english/synd/ansait_awnplus_english_medsynd_Today_Idx.xml

  1. <!DOCTYPE html>
  2. <html lang="it">
  3. <head>
  4. <title>Errore 404 - Pagina non trovata - ANSA.it</title>
  5. <link rel="canonical" href="https://www.ansa.it/sito/staticnew/404.html">
  6. <script>
  7. var noADV = true;
  8. </script>
  9.  
  10. <!-- Set defaults -->
  11.  
  12.  
  13.  
  14. <!-- /Set defaults -->
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. <meta charset="UTF-8">
  26. <title>(none)</title>
  27. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  28. <meta content="date=no" name="format-detection">
  29. <meta content="telephone=no" name="format-detection">
  30. <meta content="address=no" name="format-detection">
  31. <!--OPEN_CSS_PRELOAD_ALL
  32. <link rel="preload" href="/sito/cssnew/fancybox.css" as="style">
  33. <link rel="preload" href="/sito/cssnew/style.css" as="style">
  34. <link rel="preload" href="/sito/cssnew/main.css" as="style">
  35. <link rel="preload" href="/sito/cssnew/iubenda_wall.css" as="style">
  36. CLOSE_CSS_PRELOAD_ALL-->
  37. <!--OPEN_CSS_PRELOAD_PACK-->
  38. <link rel="preload" href="/sito/cssnew/0408093135_css-head.css" as="style">
  39. <!--CLOSE_CSS_PRELOAD_PACK-->
  40.  
  41. <!--OPEN_JS_PRELOAD_ALL
  42. <link rel="preload" href="/sito/jsnew/swiper-bundle.min.js" as="script">
  43. <link rel="preload" href="/sito/jsnew/jquery-3.6.3.min.js" as="script">
  44. <link rel="preload" href="/sito/jsnew/jquery-lazy.min.js" as="script">
  45. <link rel="preload" href="/sito/jsnew/fancybox.umd.js" as="script">
  46. <link rel="preload" href="/sito/jsnew/waypoints.min.js" as="script">
  47. <link rel="preload" href="/sito/jsnew/infinite-scroll.pkgd.min.js" as="script">
  48. <link rel="preload" href="/sito/jsnew/app.js" as="script">
  49. <link rel="preload" href="/sito/jsnew/magazine.js" as="script">
  50. <link rel="preload" href="/sito/jsnew/pathDecode.js" as="script">
  51. <link rel="preload" href="/sito/jsnew/main.js" as="script">
  52. CLOSE_JS_PRELOAD_ALL-->
  53. <!--OPEN_JS_PRELOAD_PACK-->
  54. <link rel="preload" href="/sito/jsnew/0408093135_js-head-pack.js" as="script">
  55. <!--CLOSE_JS_PRELOAD_PACK-->
  56. <!--OPEN_CSS_ALL
  57. <link rel="stylesheet" href="/sito/cssnew/fancybox.css">
  58. <link rel="stylesheet" href="/sito/cssnew/style.css?v=202312141530">
  59. <link rel="stylesheet" href="/sito/cssnew/main.css">
  60. <link rel="stylesheet" href="/sito/cssnew/iubenda_wall.css">
  61. CLOSE_CSS_ALL-->
  62. <!--OPEN_CSS_PACK-->
  63. <link href="/sito/cssnew/0408093135_css-head.css" rel="stylesheet">
  64. <!--CLOSE_CSS_PACK-->
  65.  
  66.  
  67. <!--OPEN_JS_ALL
  68. <script src="/sito/jsnew/swiper-bundle.min.js"></script>
  69. <script src="/sito/jsnew/jquery-3.6.3.min.js"></script>
  70. <script src="/sito/jsnew/jquery-lazy.min.js"></script>
  71. <script src="/sito/jsnew/fancybox.umd.js"></script>
  72. <script src="/sito/jsnew/waypoints.min.js"></script>
  73. <script src="/sito/jsnew/infinite-scroll.pkgd.min.js"></script>
  74. <script src="/sito/jsnew/app.js"></script>
  75. <script src="/sito/jsnew/magazine.js"></script>
  76. <script src="/sito/jsnew/pathDecode.js"></script>
  77. <script src="/sito/jsnew/main.js?v=202310101213"></script>
  78. CLOSE_JS_ALL-->
  79. <!--OPEN_JS_PACK-->
  80. <script type="text/javascript" src="/sito/jsnew/0408093135_js-head-pack.js"></script>
  81. <!--CLOSE_JS_PACK-->
  82.  
  83. <link rel="icon" type="image/svg+xml" href="/sito/imgnew/favicon.svg">
  84. <link rel="icon" type="image/png" href="/sito/imgnew/favicon.png">
  85.  
  86.  
  87.  <meta name="title" content="Agenzia ANSA: ultime notizie di cronaca, politica e sport - ANSA" />
  88. <meta name="description" content="Scopri sul sito dell'Agenzia ANSA le ultime notizie su cronaca, politica, economia, sport, calcio e cultura dall'Italia e da tutto il mondo." />
  89. <meta name="keywords" content="ansa, notizie, foto, video, approfondimenti, cronaca, politica, economia, regioni, mondo, sport, calcio, cultura, tecnologia" />
  90. <meta name="author" content="Agenzia ANSA" />
  91. <link rel="canonical" href="https://www.ansa.it/" />
  92.  
  93. <meta property="fb:app_id" content="514987508589175" />
  94. <meta property="fb:pages" content="158259371219" />
  95. <meta property="og:site_name" content="ANSA.it" />
  96. <meta property="og:title" content="Agenzia ANSA: ultime notizie di cronaca, politica e sport - ANSA" />
  97. <meta property="og:description" content="Scopri sul sito dell'Agenzia ANSA le ultime notizie su cronaca, politica, economia, sport, calcio e cultura dall'Italia e da tutto il mondo." />
  98. <meta property="og:image" content="https://www.ansa.it/sito/img/ico/ansa-57-precomposed.png" />
  99. <meta property="og:url" content="https://www.ansa.it/" />
  100.  
  101.  
  102. <script type="application/ld+json">
  103. {"@context":"https://schema.org","@graph":[{
  104. "@type" : "Organization",
  105. "@id" : "https://www.ansa.it/#organization",
  106. "name" : "ANSA.it",
  107. "url" : "https://www.ansa.it/",
  108. "sameAs" : ["https://www.facebook.com/AgenziaANSA/", "https://www.instagram.com/agenzia_ansa/", "https://www.linkedin.com/company/ansa", "https://www.youtube.com/user/Ansa", "https://twitter.com/agenzia_ansa"],
  109. "logo" : {
  110. "@type" : "ImageObject",
  111. "@id" : "https://www.ansa.it/#logo",
  112. "inLanguage" : "it-IT",
  113. "url" : "https://www.ansa.it/sito/img/logo_ansa_210x54.png",
  114. "width" : 210,
  115. "height" : 54,
  116. "caption" : "ANSA.it"
  117. },
  118. "image" : {
  119. "@id" : "https://www.ansa.it/#logo"
  120. }
  121. }, {
  122. "@type" : "WebSite",
  123. "@id" : "https://www.ansa.it/#website",
  124. "url" : "https://www.ansa.it/",
  125. "name" : "ANSA.it",
  126. "description" : "Il sito Internet dell'Agenzia ANSA. Ultime notizie, foto, video e approfondimenti su: cronaca, politica, economia, regioni, mondo, sport, calcio, cultura e tecnologia",
  127. "publisher" : {
  128. "@id" : "https://www.ansa.it/#organization"
  129. },
  130. "potentialAction" : [{
  131. "@type" : "SearchAction",
  132. "target": "https://www.ansa.it/ricerca/ansait/search.shtml?any={search_term_string}",
  133. "query-input" : "required name=search_term_string"
  134. }],
  135. "inLanguage" : "it-IT"
  136. }, {
  137. "@type" : "CollectionPage",
  138. "@id" : "https://www.ansa.it/#webpage",
  139. "url" : "https://www.ansa.it/",
  140. "name" : "ANSA.it",
  141. "isPartOf" : {
  142. "@id" : "https://www.ansa.it/#website"
  143. },
  144. "about" : {
  145. "@id" : "https://www.ansa.it/#organization"
  146. },
  147. "description" : "Gli articoli, le rassegne, i blog, le foto, tutto quello che arriva dal mondo e dalla rete.",
  148. "inLanguage" : "it-IT",
  149. "potentialAction" : [{
  150. "@type" : "ReadAction",
  151. "target" : ["https://www.ansa.it/"]
  152. }]
  153. }]
  154. }
  155. </script>
  156.  
  157.  
  158.  
  159. <script type="application/ld+json">
  160.    {
  161.    "@context": "https://schema.org",
  162.    "@type": "BreadcrumbList",
  163.    "itemListElement":
  164.    [
  165.      {
  166.      "@type": "ListItem",
  167.      "position": 1,
  168.      "item":
  169.      {
  170.        "@id": "https://www.ansa.it/",
  171.        "name": "Ansa"
  172.        }
  173.      }
  174.    ]
  175.    }
  176.  </script>
  177.  
  178.  
  179.  
  180. <link rel="preconnect" href="https://ads.talkscreativity.com">
  181. <!--<link rel="preconnect" href="https://devads.talkscreativity.com">-->
  182. <link rel="preconnect" href="https://securepubads.g.doubleclick.net">
  183. <link rel="preload" as="script" href="https://ads.talkscreativity.com/assets/publisher/ansait/init.js">
  184. <!--<link rel="preload" as="script" href="https://devads.talkscreativity.com/assets/publisher/ansait/init_dev.js">-->
  185. <link rel="preload" as="script" href="https://securepubads.g.doubleclick.net/tag/js/gpt.js">
  186.  
  187. <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
  188. <script type="text/javascript">
  189.    window.googletag = window.googletag || { cmd: [] };
  190. </script>
  191.  
  192.  
  193. <script>
  194.    var currentSection = getCurrentSection();
  195.    var sectionLabel = (currentSection && currentSection.sectionLabel) ? currentSection.sectionLabel : 'section';
  196.    var arrSections = [sectionLabel];
  197.    //console.log("arrSections Else:" , arrSections);
  198.    
  199.    window.WebsiteDetailContainer = {
  200.        pageType: 'section',
  201.        categories: arrSections,
  202.        region: []
  203.    }
  204. </script>
  205.  
  206.  
  207. <!--<script data-cfasync="false" async src="https://ads.talkscreativity.com/assets/publisher/ansait/init.js"></script>
  208. <script async type="text/javascript" src="https://devads.talkscreativity.com/assets/publisher/ansait/init_dev.js"></script>-->
  209.  
  210. <script>
  211.    if (typeof noADV === 'undefined' || !noADV) {
  212.        var scriptTalks = document.createElement('script');
  213.        scriptTalks.type = 'text/javascript';
  214.        scriptTalks.src = 'https://ads.talkscreativity.com/assets/publisher/ansait/init.js';
  215.        //scriptTalks.data-cfasync = false;
  216.        document.head.appendChild(scriptTalks);
  217.    }
  218. </script>
  219.  
  220. <!-- Google Tag Manager -->
  221. <script type="text/javascript">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  222. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  223. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  224. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  225. })(window,document,'script','dataLayer','GTM-TZC66F6');</script>
  226. <!-- End Google Tag Manager -->
  227.  
  228.  
  229.  
  230.  
  231. </head>
  232. <body>
  233. <div id="page">
  234.    <header id="header" class="small">
  235.    <div class="container">
  236.      <div class="wrap">
  237.        <!-- se homepage <h1 class="logo"> ... </h1> anziché <div class="logo"> ... </div> -->
  238.        <div class="logo"> <a href="/">
  239.          <svg width="153" height="35" viewBox="0 0 153 35" fill="none" xmlns="http://www.w3.org/2000/svg">
  240.            <title>Ansa.it</title>
  241.            <path d="M23.9087 1.10547L32.1308 25.746C33.115 28.7439 33.8121 29.442 35.5344 29.442H37.2158V33.7746H19.2543V29.442H20.7306C22.2069 29.442 23.4371 29.2367 23.4371 28.7028C23.4371 28.21 23.3961 27.6761 23.1911 26.9164L22.1659 23.364H12.1189L11.5243 25.3353C10.9912 27.0601 10.7862 27.7993 10.7862 28.4975C10.7862 29.2778 12.5085 29.442 13.8413 29.442H15.2766V33.7746H0.800781V29.442H2.4821C4.20443 29.442 4.90157 28.7439 5.88576 25.746L14.1078 1.10547H23.9497H23.9087ZM13.5337 19.052H20.6691L17.1219 8.45655H17.0194L13.5337 19.052Z" fill="currentColor"></path>
  242.            <path d="M67.1313 23.631H67.2338V7.40932C67.2338 6.1773 66.5367 5.43809 65.3065 5.43809H62.3129V1.10547H77.4653V5.43809H74.5127C73.2825 5.43809 72.5853 6.1773 72.5853 7.40932V33.7746H62.6409L48.9648 9.48323H48.8623V27.4708C48.8623 28.7028 49.5594 29.442 50.7897 29.442H53.7832V33.7746H38.5693V29.442H41.5629C42.7931 29.442 43.4903 28.7028 43.4903 27.4708V7.40932C43.4903 6.1773 42.7931 5.43809 41.5629 5.43809H38.5078V1.10547H54.3574L67.1108 23.631H67.1313Z" fill="currentColor"></path>
  243.            <path d="M105.904 12.7885H101.372C100.634 7.614 96.0619 4.69821 91.7356 4.69821C88.8855 4.69821 86.22 5.64277 86.22 8.92816C86.22 15.1294 107.524 10.1602 107.524 24.2053C107.524 32.0902 100.737 34.7391 93.95 34.7391C90.1568 34.7391 86.3225 33.9588 83.2265 31.6795L81.9552 34.2873H77.8134V21.3716H82.3858C83.0214 26.5461 87.3067 30.1395 93.1093 30.1395C95.6723 30.1395 98.7684 28.7021 98.7684 25.9096C98.7684 18.8665 77.4648 24.5749 77.4648 10.4271C77.4648 2.29577 84.8053 0.078125 91.5921 0.078125C94.9342 0.078125 98.1328 1.16641 100.942 2.93231L101.824 0.612002H105.904V12.7269V12.7885Z" fill="currentColor"></path>
  244.            <path d="M142.935 29.6464C136.865 29.6464 131.944 24.7183 131.944 18.6403C131.944 16.361 132.642 14.2461 133.831 12.4802L130.038 1.125H120.196L111.974 25.7655C110.989 28.7634 110.292 29.4616 108.57 29.4616H106.889V33.7942H121.364V29.4616H119.929C118.596 29.4616 116.874 29.3178 116.874 28.517C116.874 27.8189 117.079 27.0796 117.612 25.3548L118.207 23.3836H128.254L129.279 26.9359C129.484 27.6751 129.525 28.209 129.525 28.7223C129.525 29.2562 128.295 29.4616 126.818 29.4616H125.342V33.7942H143.304V29.6053C143.181 29.6053 143.058 29.6464 142.914 29.6464H142.935ZM119.663 19.051L123.148 8.45554H123.251L126.798 19.051H119.663Z" fill="currentColor"></path>
  245.            <path d="M142.302 23.1176C142.302 23.7952 142.466 24.1443 143.163 24.1443H144.147V26.0539H136.437V24.1443H137.463C138.16 24.1443 138.324 23.7746 138.324 23.1176V17.7993C138.324 17.1217 138.16 16.7726 137.463 16.7726H136.355V14.863H142.302V23.1381V23.1176ZM142.302 11.7624C142.302 12.9328 141.399 13.8569 140.21 13.8569C139.021 13.8569 138.119 12.9534 138.119 11.7624C138.119 10.5715 139.021 9.66797 140.21 9.66797C141.399 9.66797 142.302 10.5715 142.302 11.7624Z" fill="currentColor"></path>
  246.            <path d="M149.091 10.3652V14.8416H152.043V16.7512H149.091V23.3426C149.091 23.8559 149.357 24.246 149.911 24.246C150.813 24.246 151.059 23.6095 151.059 22.5007V20.6321H152.966V22.7676C152.966 25.129 151.818 26.4226 148.947 26.4226C146.487 26.4226 145.113 25.2317 145.113 22.7676V16.7512H143.514V14.8416C145.913 14.8416 146.528 12.357 146.733 10.3652H149.111H149.091Z" fill="currentColor"></path>
  247.          </svg>
  248.          </a> </div>
  249.        <div class="content">
  250.          <div class="service-bar">
  251.            <div class="actions">
  252.              <div class="service">
  253.                <ul>
  254.                    
  255.                    
  256.                  <li>&nbsp;</li>
  257.                                        
  258.                  <!--<li><a href="#" class="edition">Edizione inglese</a></li>-->
  259.                </ul>
  260.                <ul>
  261.                  <li><a href="#" id="loginBtn" class="login"><strong class="notify" id="account_label"></strong></a></li>
  262.                  <li><a href="/corporate/it/info/contattaci.html" class="contact">Contattaci</a></li>
  263.                </ul>
  264.              </div>
  265.            </div>
  266.          </div>
  267.          <div class="main">
  268.            <div class="top">
  269.              <!--<p class="date desktop"> Lunedì<br>
  270.                29 maggio 2023, 10:30 </p>
  271.              <p class="date mobile"> Lunedì<br>
  272.                29 mag 2023, 10:30 </p>-->
  273.              <a href="#" class="ansa-check desktop"><img src="/sito/imgnew/ansa-check.svg" alt="ANSACheck"></a> <a href="#" class="ansa-check mobile"><img src="/sito/imgnew/ansa-check-small.svg" alt="ANSACheck"></a> </div>
  274.          </div>
  275.        </div>
  276.      </div>
  277.    </div>
  278.  </header>
  279.  
  280.  
  281.  <div class="section-base-page section">
  282.    <div class="container">
  283. <div class="section-wrap">
  284.          <div class="section-main left">
  285.            <div id="error-404">
  286.              <span class="caption">404</span>
  287.              <h1 class="title">Pagina non trovata</h1>
  288.              <div class="rich-text">
  289.                <p>Le cause principali per cui viene visualizzata una pagina di errore 404 sono le seguenti:</p>
  290.                <ul>
  291.                  <li>un URL digitato erroneamente</li>
  292.                  <li>un segnalibro obsoleto</li>
  293.                  <li>un collegamento datato proveniente da un motore di ricerca</li>
  294.                  <li>un link interno interrotto non rilevato dal webmaster.</li>
  295.                </ul>
  296.                <p>Se riscontri il problema, ti invitiamo a contattarci per segnalarlo.</p>
  297.                <p>Grazie.</p>
  298.              </div>
  299.              <div class="section-buttons">
  300.                <a href="/" class="button">
  301.                  Torna alla homepage
  302.                  <svg class="icon">
  303.                    <use href="/sito/imgnew/icons.svg#chevron-right"></use>
  304.                  </svg>
  305.                </a>
  306.                <a href="/sito/notizie/topnews/index.shtml" class="button ghost">
  307.                  Ultima Ora
  308.                  <svg class="icon">
  309.                    <use href="/sito/imgnew/icons.svg#chevron-right"></use>
  310.                  </svg>
  311.                </a>
  312.              </div>
  313.            </div>
  314.          </div>
  315.        <!--include virtual="/sito/ssinew/section_dx_news.html" -->
  316.        </div>
  317.    </div>
  318.  </div>
  319.  
  320.    <footer id="footer" class="basic">
  321.    <div class="container">
  322.      <div class="heading">
  323.        <button class="to-top"> Torna su
  324.        <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
  325.          <path d="M26 5H6C5.44772 5 5 5.44772 5 6V26C5 26.5523 5.44772 27 6 27H26C26.5523 27 27 26.5523 27 26V6C27 5.44772 26.5523 5 26 5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  326.          <path d="M11.7627 15.2375L16.0002 11L20.2377 15.2375" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  327.          <path d="M16 21V11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  328.        </svg>
  329.        </button>
  330.      </div>
  331.      <ul class="legal">
  332.          
  333.        <li><a href="/corporate/it/info/codice_etico.html">Codice Etico</a> </li>
  334.        <li><a href="/sito/static/copyright.html">Copyright</a> </li>
  335.        <li><a href="/sito/static/disclaimer.html">Disclaimer</a> </li>
  336.        <li><a href="/sito/static/faq.html">FAQ</a> </li>
  337.        <li><a href="/sito/static/condizioni_generali_di_servizio.html">Condizioni Generali di Servizio</a> </li>
  338.        <li><a href="/sito/static/privacy.html">Informativa Privacy</a> </li>
  339.        <!-- li><a href="#">Cookie Policy</a> </li>
  340.        <li><a href="#">Gestione Cookie</a> </li -->
  341.      </ul>
  342.      <p class="copyright"><strong>Agenzia ANSA</strong> - Periodicità quotidiana - Iscrizione al Registro della Stampa presso il Tribunale di Roma n. 212/1948 - P. IVA IT00876481003 - © Copyright ANSA - Tutti i diritti riservati</p>
  343.    </div>
  344.  </footer>
  345.  
  346. <div id="pianohigh" class="piano-container"></div>
  347.  
  348. <!--script per inizializzazione lazy loading-->
  349. <script>initANSAPages()</script>
  350.  
  351. <!-- Login script -->
  352. <script>
  353. tp = window.tp || [];
  354.    
  355.    //console.log("COOKIE: " + getCookie("sub"));
  356. tp.push(["init", function () {
  357.  
  358.   // Controllo se l'utente è loggato
  359.   if(tp.user.isUserValid()) {
  360.  
  361.   setUserAccountMenu(true);
  362.   }
  363.   else {
  364.   //console.log("setCustomVariable");
  365.   //tp.push(["setCustomVariable", "consent-mode", "1"]);
  366.  
  367.   setUserAccountMenu(false);
  368.  
  369.   }
  370.    }]);
  371. </script>
  372.  
  373. <!-- Piano script -->
  374. <script>
  375.    if (!withinCMS()) {
  376.        (function(src) {
  377.            var a = document.createElement("script");
  378.            a.type = "text/javascript";
  379.            a.async = true;
  380.            a.src = src;
  381.            var b = document.getElementsByTagName("script")[0];
  382.            b.parentNode.insertBefore(a, b)
  383.            })("//experience-eu.piano.io/xbuilder/experience/load?aid=spcXpNpZpe");
  384.    }
  385. </script>
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  <script>
  393. var loggedInVar = 'no';
  394. var userId = 'ND';
  395. if (isLogged()) {
  396. loggedInVar = 'yes';
  397. var cookieData = JSON.parse(atob(getCookie('__utp').split('.')[1]));
  398. userId = cookieData['sub'];
  399. }
  400. var subscribedVar = 'yes';
  401. var isAbbonatoCookie = getCookie("sub");
  402. if (isAbbonatoCookie === undefined || isAbbonatoCookie === '0') {
  403. subscribedVar = 'no';
  404. }
  405. var customerTypeVar = 'recurring';
  406. if (getCookie("euconsent-v2") === undefined) {
  407. customerTypeVar = 'new';
  408. }
  409. window.dataLayer = window.dataLayer || [];
  410. //console.log("DATA LAYER BEFORE ", window.dataLayer);
  411. // Gestione ultima ora da HP
  412. /*if (getUrlParameter("uohp")) {
  413. window.dataLayer.push({
  414. event: "ultimaOra",
  415. articleURL: window.location.pathname,
  416. articleTitle: $('.post-single-title').html().trim()
  417. });
  418. }
  419. else {
  420. window.dataLayer.push({
  421. event: "globalVariables",
  422. environment: "staging",
  423. customerType: customerTypeVar,
  424. loggedIn: loggedInVar,
  425. userId: userId,
  426. subscribed: subscribedVar,
  427. pageType: "homepage"
  428. });
  429. }*/
  430. //console.log("LOCATION: ", $(location));
  431. var env = "staging";
  432. if (($(location).attr("origin").indexOf("ansacmsnew") != -1) || ($(location).attr("origin").indexOf("www.ansa.it") != -1)) {
  433. env = "prod";
  434. }
  435. // SEZIONI
  436. var pType = "canale";
  437.  
  438. var currentSection = getCurrentSection();
  439. var sectionLabel = currentSection.sectionLabel.toLowerCase();
  440. window.dataLayer.push({
  441. event: "globalVariables",
  442. environment: env,
  443. customerType: customerTypeVar,
  444. loggedIn: loggedInVar,
  445. userId: userId,
  446. subscribed: subscribedVar,
  447. pageType: pType,
  448. pageSubcategoryLevel2: sectionLabel
  449. });
  450. console.log("DATA LAYER GLOBAL VARIABLES ", window.dataLayer);
  451. </script>
  452.  
  453. <!-- START Nielsen Static Browser SDK -->
  454. <script>
  455.  // Static Queue Snippet
  456. !function(t,n){t[n]=t[n]||{nlsQ:function(e,o,c,r,s,i){return s=t.document,r=s.createElement("script"),r.async=1,r.src=("http:"===t.location.protocol?"http:":"https:")+"//cdn-gl.imrworldwide.com/conf/"+e+".js#name="+o+"&ns="+n,i=s.getElementsByTagName("script")[0],i.parentNode.insertBefore(r,i),t[n][o]=t[n][o]||{g:c||{},ggPM:function(e,c,r,s,i){(t[n][o].q=t[n][o].q||[]).push([e,c,r,s,i])}},t[n][o]}}}(window,"NOLBUNDLE");
  457.  
  458.  
  459.  // SDK Initialization
  460.  //NA
  461.  var nSdkInstance = NOLBUNDLE.nlsQ("PC197C1E8-F6FB-4D76-880B-F29E7378F242","nlsnInstance");
  462.  
  463.  
  464.  // Content Metadata
  465.  var MD5 = function(d){var r = M(V(Y(X(d),8*d.length)));return r.toLowerCase()};function M(d){for(var _,m="0123456789ABCDEF",f="",r=0;r<d.length;r++)_=d.charCodeAt(r),f+=m.charAt(_>>>4&15)+m.charAt(15&_);return f}function X(d){for(var _=Array(d.length>>2),m=0;m<_.length;m++)_[m]=0;for(m=0;m<8*d.length;m+=8)_[m>>5]|=(255&d.charCodeAt(m/8))<<m%32;return _}function V(d){for(var _="",m=0;m<32*d.length;m+=8)_+=String.fromCharCode(d[m>>5]>>>m%32&255);return _}function Y(d,_){d[_>>5]|=128<<_%32,d[14+(_+64>>>9<<4)]=_;for(var m=1732584193,f=-271733879,r=-1732584194,i=271733878,n=0;n<d.length;n+=16){var h=m,t=f,g=r,e=i;f=md5_ii(f=md5_ii(f=md5_ii(f=md5_ii(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_ff(f=md5_ff(f=md5_ff(f=md5_ff(f,r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+0],7,-680876936),f,r,d[n+1],12,-389564586),m,f,d[n+2],17,606105819),i,m,d[n+3],22,-1044525330),r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+4],7,-176418897),f,r,d[n+5],12,1200080426),m,f,d[n+6],17,-1473231341),i,m,d[n+7],22,-45705983),r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+8],7,1770035416),f,r,d[n+9],12,-1958414417),m,f,d[n+10],17,-42063),i,m,d[n+11],22,-1990404162),r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+12],7,1804603682),f,r,d[n+13],12,-40341101),m,f,d[n+14],17,-1502002290),i,m,d[n+15],22,1236535329),r=md5_gg(r,i=md5_gg(i,m=md5_gg(m,f,r,i,d[n+1],5,-165796510),f,r,d[n+6],9,-1069501632),m,f,d[n+11],14,643717713),i,m,d[n+0],20,-373897302),r=md5_gg(r,i=md5_gg(i,m=md5_gg(m,f,r,i,d[n+5],5,-701558691),f,r,d[n+10],9,38016083),m,f,d[n+15],14,-660478335),i,m,d[n+4],20,-405537848),r=md5_gg(r,i=md5_gg(i,m=md5_gg(m,f,r,i,d[n+9],5,568446438),f,r,d[n+14],9,-1019803690),m,f,d[n+3],14,-187363961),i,m,d[n+8],20,1163531501),r=md5_gg(r,i=md5_gg(i,m=md5_gg(m,f,r,i,d[n+13],5,-1444681467),f,r,d[n+2],9,-51403784),m,f,d[n+7],14,1735328473),i,m,d[n+12],20,-1926607734),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+5],4,-378558),f,r,d[n+8],11,-2022574463),m,f,d[n+11],16,1839030562),i,m,d[n+14],23,-35309556),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+1],4,-1530992060),f,r,d[n+4],11,1272893353),m,f,d[n+7],16,-155497632),i,m,d[n+10],23,-1094730640),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+13],4,681279174),f,r,d[n+0],11,-358537222),m,f,d[n+3],16,-722521979),i,m,d[n+6],23,76029189),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+9],4,-640364487),f,r,d[n+12],11,-421815835),m,f,d[n+15],16,530742520),i,m,d[n+2],23,-995338651),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+0],6,-198630844),f,r,d[n+7],10,1126891415),m,f,d[n+14],15,-1416354905),i,m,d[n+5],21,-57434055),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+12],6,1700485571),f,r,d[n+3],10,-1894986606),m,f,d[n+10],15,-1051523),i,m,d[n+1],21,-2054922799),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+8],6,1873313359),f,r,d[n+15],10,-30611744),m,f,d[n+6],15,-1560198380),i,m,d[n+13],21,1309151649),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+4],6,-145523070),f,r,d[n+11],10,-1120210379),m,f,d[n+2],15,718787259),i,m,d[n+9],21,-343485551),m=safe_add(m,h),f=safe_add(f,t),r=safe_add(r,g),i=safe_add(i,e)}return Array(m,f,r,i)}function md5_cmn(d,_,m,f,r,i){return safe_add(bit_rol(safe_add(safe_add(_,d),safe_add(f,i)),r),m)}function md5_ff(d,_,m,f,r,i,n){return md5_cmn(_&m|~_&f,d,_,r,i,n)}function md5_gg(d,_,m,f,r,i,n){return md5_cmn(_&f|m&~f,d,_,r,i,n)}function md5_hh(d,_,m,f,r,i,n){return md5_cmn(_^m^f,d,_,r,i,n)}function md5_ii(d,_,m,f,r,i,n){return md5_cmn(m^(_|~f),d,_,r,i,n)}function safe_add(d,_){var m=(65535&d)+(65535&_);return(d>>16)+(_>>16)+(m>>16)<<16|65535&m}function bit_rol(d,_){return d<<_|d>>>32-_}
  466.  
  467.  var assetid = MD5(encodeURIComponent(document.location.href));
  468.  var nielsenMetadata = {
  469.    type: 'static',
  470.    assetid: assetid, // *DYNAMIC METADATA*: unique ID for each article **REQUIRED**
  471.  
  472.  
  473.    section: 'NA_BRW' // *DYNAMIC METADATA*: section of site **REQUIRED**
  474.  
  475.    };
  476.    
  477.  // Event 'staticstart' Call
  478.  nSdkInstance.ggPM("staticstart", nielsenMetadata);
  479. </script>
  480. <!-- END Nielsen Static Browser SDK -->
  481.  
  482. <!-- Begin Comscore Tag -->
  483. <script>
  484. var _comscore = _comscore || [];
  485. _comscore.push({
  486. c1: "2", c2: "37027800",
  487. options: {
  488. enableFirstPartyCookie: true
  489. }
  490. });
  491.  
  492. (function() {
  493. var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
  494. s.src = "https://sb.scorecardresearch.com/cs/37027800/beacon.js";
  495. el.parentNode.insertBefore(s, el);
  496. })();
  497. </script>
  498. <noscript>
  499. <img src="https://sb.scorecardresearch.com/p?c1=2&c2=37027800&cv=4.4.0&cj=1" alt="" />
  500. </noscript>
  501. <!-- End Comscore Tag -->
  502.  
  503. <script type="text/javascript">
  504. $(function() {
  505. const searchRegExp = /ansa-c/g;
  506.        if (!isMobile()) {
  507.            var acClassName = generateString(30);
  508.            //console.log("CLASS NAME: |" + acClassName + "|");
  509.  
  510.  
  511.            $.get( "/sito/cssnew/ansa_c.css?311020231536", function( data ) {
  512.  
  513.                    data = data.replace(searchRegExp, acClassName);
  514.  
  515.                    //console.log("STYLESHEET: " + data);
  516.  
  517.                    $('head').append('<style type="text/css">' + data + '</style>');
  518.  
  519.                    $('.ansa-c').each(function() {
  520.                        $(this).removeClass("ansa-c").addClass(acClassName);
  521.                    });
  522.                });
  523.        }
  524.        
  525.        
  526. /*document.addEventListener("readystatechange", (event) => {
  527.  console.log("STATE: ", document.readyState);
  528. });*/
  529. /*document.addEventListener("visibilitychange", () => {
  530.  console.log("VISIBILITY: ", !document.hidden);
  531.  
  532.  if (!document.hidden) {
  533.   setTimeout(function(){
  534.    console.log("Hello World");
  535. }, 2000);
  536.  }
  537. });*/
  538.    
  539.    // CORE WEB VITALS
  540.    /*var script = document.createElement('script');
  541.    script.src ='https://unpkg.com/web-vitals@3/dist/web-vitals.attribution.iife.js';
  542.    script.onload = function () {
  543.      // When loading `web-vitals` using a classic script, all the public
  544.      // methods can be found on the `webVitals` global namespace.
  545.      console.log("TEST222");
  546.      webVitals.onCLS(console.log);
  547.      webVitals.onFID(console.log);
  548.      webVitals.onLCP(console.log);
  549.    };
  550.    document.head.appendChild(script);*/
  551.  
  552. // ALTA VISIBILITA GA4
  553. $('.m-av').click(function(event){
  554. event.preventDefault();
  555. var href = $(this).attr('href').replace('https://www.ansa.it', '');
  556. var title = $(this).text().trim();
  557. if (title === '') {
  558. title = $(this).attr('title');
  559. }
  560.    window.dataLayer = window.dataLayer || [];
  561.    window.dataLayer.push({
  562. event: "mAltaVisibilita",
  563. articleURL: href,
  564. articleTitle: title
  565. });
  566. console.log("DATA LAYER ALTA VISIBILITA ", window.dataLayer);
  567.    setTimeout(function(){location.href = href}, 1000);
  568. });
  569. // ULTIMA ORA GA4
  570. $('.uora').click(function(event){
  571. event.preventDefault();
  572. var href = $(this).attr('href');
  573.    window.dataLayer = window.dataLayer || [];
  574.    window.dataLayer.push({
  575. event: "ultimaOra",
  576. articleURL: href,
  577. articleTitle: $(this).text().trim()
  578. });
  579. console.log("DATA LAYER ULTIMA ORA ", window.dataLayer);
  580.    setTimeout(function(){location.href = href}, 1000);
  581. });
  582. // IMAGE GALLERY GA4
  583. $('figure.image').click(function(event) {
  584. var isGallery = ($(this).find('.enlarge').length > 0 ? true : false);
  585. if (isGallery) {
  586. var href = $(location).attr('pathname');
  587. var title = $('.post-single-title').text().trim();
  588. //console.log("TITLE: " + title + " - LOCATION: " + href);
  589. window.dataLayer = window.dataLayer || [];
  590. window.dataLayer.push({
  591. event: "photo",
  592. articleURL: href,
  593. articleTitle: title
  594. });
  595. console.log("DATA LAYER IMAGE GALLERY ", window.dataLayer);
  596. }
  597. });
  598. // VIDEO PLAYER GA4
  599. /*if (typeof player !== 'undefined') {
  600. var href = $(location).attr('pathname');
  601. var section = 'embed';
  602. if (href.indexOf('/sito/videogallery/') !== -1) {
  603. var startSection = href.indexOf('/sito/videogallery/') + '/sito/videogallery/'.length;
  604. var endSection = href.indexOf('/', startSection);
  605. section = href.substring(startSection, endSection);
  606. }
  607. var title = $('.post-single-title').text().trim();
  608.     //console.log('PLAY START ' + href + " - TITLE " + title + " - SECTION " + section);
  609.    
  610. player.on('play', () => {
  611.     window.dataLayer = window.dataLayer || [];
  612. window.dataLayer.push({
  613. event: "videoStart",
  614. videoField: section,
  615. videoTitle: title
  616. });
  617. console.log("DATA LAYER VIDEO PLAY ", window.dataLayer);
  618. });
  619. player.on('pause', () => {
  620.    //console.log('PLAY PAUSE');
  621.    window.dataLayer = window.dataLayer || [];
  622. window.dataLayer.push({
  623. event: "videoPause",
  624. videoField: section,
  625. videoTitle: title
  626. });
  627. console.log("DATA LAYER VIDEO PAUSE ", window.dataLayer);
  628. });
  629. }*/
  630. // ABBONATI GA4
  631. $('.register').click(function(event){
  632. event.preventDefault();
  633. var href = $(this).attr('href');
  634.    window.dataLayer = window.dataLayer || [];
  635.    window.dataLayer.push({
  636. event: "abbonati",
  637. category: "CTA",
  638. action: "abbonati"
  639. });
  640. console.log("DATA LAYER ABBONATI ", window.dataLayer);
  641.    setTimeout(function(){location.href = href}, 1000);
  642. });
  643. // Rimuovo i DIV pubblicitari
  644. if (typeof noADV !== 'undefined' && noADV) {
  645. $('#OMB_1').hide();
  646. $('.adv-slot').hide();
  647. }
  648. });
  649. </script>
  650.  
  651.  
  652.  
  653. </div>
  654. </body>
  655. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda