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 » subscribe_google()

subscribe_google()

Description

class SimplePie {
	subscribe_google ()
}

Returns the URL for adding this particular feed to the Google Reader service.

Availability

  • Available since SimplePie Preview Release.

Examples

$feed = new SimplePie();
$feed->set_feed_url('http://simplepie.org/blog/feed/');
$feed->init();
$feed->handle_content_type();
 
echo '<a href="' . $feed->subscribe_google() . '">Subscribe in Google Reader</a>';

See Also


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