Blog

Additional content, like the Further Reading of the magazine…

Blog

Additional content, like the Further Reading of the magazine…

set_feed_url('http://globalteahut.blogspot.com/feeds/posts/default?alt=rss'); // Remove these tags from the list $strip_htmltags = $feed->strip_htmltags; array_splice($strip_htmltags, array_search('object', $strip_htmltags), 1); array_splice($strip_htmltags, array_search('param', $strip_htmltags), 1); array_splice($strip_htmltags, array_search('embed', $strip_htmltags), 1); $feed->strip_htmltags($strip_htmltags); $feed->set_cache_duration(3600); $feed->set_cache_location('./blog_files/simplepie_cache'); $feed->init(); $feed->handle_content_type(); $i = 1; $total_articles = 5; foreach ($feed->get_items() as $item) { $author = $item->get_author(); echo '
'; echo '

' . $item->get_title() . '

'; echo '

' . $item->get_date('j M Y') . ' by ' . $author->get_name() . '

'; echo '
' . $item->get_content() . '
'; echo '
'; if ($i == $total_articles) { break; } $i++; } } process_feed_stacks_in_279772_page11(); ?>