$length) return (preg_match('/^(.*)\W.*$/', substr($string, 0, $length+1), $matches) ? $matches[1] : substr($string, 0, $length)) . $replacer; return $string; } $feed = new SimplePie(); $feed->set_cache_location("/tmp/simplepie/"); $feed->set_feed_url($rss_feed_s); $feed->init(); $feed->handle_content_type(); $counter = 1; foreach($feed->get_items(0, $max_items) as $item) { $feed = $item->get_feed(); $feed->strip_htmltags(); $content = $item->get_content(); $content = strip_tags($content); ?>

get_title()?>