You are here: Documentation » API Reference » SimplePie_Item » add_to_digg()
Table of Contents
add_to_digg()
Description
class SimplePie_Item { add_to_digg () }
Returns the URL for posting this particular posting to the Digg.com service.
Availability
- Available since SimplePie Beta 1.
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_digg() . '">Digg It!</a>'; }
See Also
reference/simplepie_item/add_to_digg.txt · Last modified: 2011/03/06 03:56 (external edit)