set_feed_url($feed_url); // Run SimplePie. $feed->init(); // This makes sure that the content is sent to the browser as text/html and the UTF-8 character set (since we didn't change it). $feed->handle_content_type(); //replace chars that old machines probably can't handle function clean_str($str) { $str = str_replace( "‘", "'", $str ); $str = str_replace( "’", "'", $str ); $str = str_replace( "“", '"', $str ); $str = str_replace( "”", '"', $str ); $str = str_replace( "–", '-', $str ); $str = str_replace( ' ', ' - ', $str ); return $str; } ?> NewsFeed.FYI

NewsFeed.FYI


Basic HTML Google News Feed. Based on source for 68k.news , originally built by Action Retro .

get_title())); echo '

' . $section_title[0] . " NEWS

"; } ?>

TOP WORLD NATION BUSINESS TECHNOLOGY ENTERTAINMENT SCIENCE HEALTH
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Edition (Change)

get_items() as $item): $item_title = clean_str($item->get_title()); $item_link = "article.php?loc=" . $loc . '&a=' . $item->get_permalink(); $subheadlines = clean_str($item->get_description()); $up_title = $item_title; // strtoupper($item_title); $up_description = $subheadlines; // strtoupper($subheadlines); for ($i = 0; $i < count($title_filters); $i++) { if (str_contains($up_title, $title_filters[$i]) == true || str_contains($up_description, $title_filters[$i]) == true) { // 🧒 👦 👨‍👦‍👦 echo '

⚽ 🏀 🏈 ⚾️ 🎾 🏐 🏉 🎱 🏆 🏟 ⛹️ happened

'; // Break out of 2nd-level loop. continue 2; } } $subheadlines = clean_str($item->get_description()); $remove_google_link = explode("
  • ", $subheadlines); $no_blank = str_replace('target="_blank"', "", $remove_google_link[0]) . "
  • "; $cleaned_links = str_replace('