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): ?>

get_title()); ?>

get_source()); $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('

      • '); $cleaned_links = str_replace( 'strong>', 'b>', $cleaned_links); //change to $cleaned_links = str_replace( 'em>', 'i>', $cleaned_links); //change to $cleaned_links = str_replace( "View Full Coverage on Google News", "", $cleaned_links); echo $cleaned_links . '
        ' . $source; ?>

        Posted on get_date('j F Y | g:i a'); ?>

        v1.0 Powered by Mozilla Readability (Andres Rey PHP Port) and SimplePie