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_description()



class SimplePie_Item {
	get_description ()

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


  • Available since SimplePie 0.8.


Display the description

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

See Also

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