write javascript function that parse the html fragment below containing a list of news and and outputs json

Latest news about Enel S.p.A.</h2></div><div class="card-content"><table class="table table--small table--hover table--bordered table--fixed"><tr class=""><td class="w-100"><a href="/quote/index/MILAAN-FTSE-MIB-7667/news/Mib-in-the-red-Eurozone-reduces-trade-deficit-44338076/" class="txt-s1 txt-overflow-2 link link--no-underline my-5 my-m-0 txt-m-inline">
                        Mib in the red; Eurozone reduces trade deficit


                    </a></td><td class="table-child--right  table-child--nowrap table-child--w80 txt-s1"><time class="js-date-relative txt-muted h-100     bg-highlight p-5
"
      datetime="2023-07-14T09:54:08+00:00"
      data-utc-date="2023-07-14T09:54:08+00:00"
      title="05:54:08 2023-07-14 am EDT"><span class="bg-highlight">05:54am</span></time></td><td class="table-child--right table-child--w40 c-none cm-table"><span class="c-block p-5 badge badge--small txt-s1" title="@Alliance News"><span class="c-inline txt-align-center" style="width: 18px;">
                    AN
            </span></span></td></tr><tr class=""><td class="w-100"><a href="/quote/stock/CASTA-DIVA-GROUP-S-P-A-16933520/news/Europeans-flat-Casta-Diva-bullish-after-dividend-44337194/" class="txt-s1 txt-overflow-2 link link--no-underline my-5 my-m-0 txt-m-inline">
                        Europeans flat; Casta Diva bullish after dividend


                    </a></td><td class="table-child--right  table-child--nowrap table-child--w80 txt-s1"><time class="js-date-relative txt-muted h-100     bg-highlight p-5
"
      datetime="2023-07-14T07:50:07+00:00"
      data-utc-date="2023-07-14T07:50:07+00:00"
      title="03:50:07 2023-07-14 am EDT"><span class="bg-highlight">03:50am</span></time></td><td class="table-child--right table-child--w40 c-none cm-table"><span class="c-block p-5 badge badge--small txt-s1" title="@Alliance News"><span class="c-inline txt-align-center" style="width: 18px;">
                    AN
            </span></span></td></tr><tr class=""><td class="w-100"><a href="/news/latest/Global-markets-live-BP-Walt-Disney-Amazon-PepsiCo-Delta-Airlines---44332436/" class="txt-s1 txt-overflow-2 link link--no-underline my-5 my-m-0 txt-m-inline">
                        Global markets live: BP, NAME_1, Amazon, PepsiCo, Delta Airlines....


                    </a></td><td class="table-child--right  table-child--nowrap