SimplePie 1.3.1 is now available. Upgrade now!

SimplePie Documentation.  Learn how to use this thing.  It's way better than going to school.

You are here: Documentation » API Reference » SimplePie_Item » get_content()



class SimplePie_Item {
	get_content ()

Returns the content for the item. Prefers full content over summaries, but will return a summary if full content does not exist. To prefer summaries instead, use get_description().


  • Available since SimplePie 1.0.


Display the description

$feed = new SimplePie();
foreach ($feed->get_items() as $item)
	echo $item->get_content();

See Also

reference/simplepie_item/get_content.txt · Last modified: 2011/03/05 19:56 (external edit)