set_feed_url('http://bear.politicalbear.com/feed'); $feed->enable_cache(false); // Do not strip out , , and tags $strip_htmltags = $feed->strip_htmltags; unset($strip_htmltags[array_search('object', $strip_htmltags)]); unset($strip_htmltags[array_search('param', $strip_htmltags)]); unset($strip_htmltags[array_search('embed', $strip_htmltags)]); $strip_htmltags = array_values($strip_htmltags); $feed->strip_htmltags($strip_htmltags); // If processing the feed was successful, this will return true. $success = $feed->init(); // Have SimplePie set the HTTP headers. // Stop what you're doing and read http://ref.simplepie.org/handle_content_type to learn when you should/shouldn't use this. $feed->handle_content_type(); ?>
get_permalink() . '">' . $feed->get_title() . ''; ?>
get_description(); ?> get_items(0,1) as $item): ?>

get_permalink() . '">' . $item->get_title() . ''; ?>

get_content(); ?>

Blinklist Blogmarks del.icio.us Digg Ma.gnolia My Web 2.0 Newsvine Reddit Segnalo Simpy Spurl Wists Technorati