SimplePie 1.5 is now available!

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

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

add_to_simpy()

Description

class SimplePie_Item {
	add_to_simpy ()
}

Returns the URL for posting this particular posting to the Simpy service.

Availability

  • Available since SimplePie Beta 3.

Examples

$feed = new SimplePie();
$feed->set_feed_url('http://simplepie.org/blog/feed/');
$feed->init();
$feed->handle_content_type();
 
foreach ($feed->get_items() as $item)
{
	echo '<a href="' . $item->add_to_simpy() . '">Add to Simpy</a>';
}

See Also


reference/simplepie_item/add_to_simpy.txt · Last modified: 2011/03/06 03:56 (external edit)