Skip to content

Instantly share code, notes, and snippets.

@gleuch
Created January 19, 2009 21:43
Show Gist options
  • Save gleuch/49191 to your computer and use it in GitHub Desktop.
Save gleuch/49191 to your computer and use it in GitHub Desktop.
<?php */
Authorized Feeds to Google Reader
by Greg Leuch <http://www.halvfet.com>
More information at http://halvfet.com/io/adding-authorized-feeds-to-google-reader
*/
$feeds = array(
'twitter'=> 'http://username:[email protected]/statuses/friends_timeline.rss',
);
$feed = $feeds[$_GET['feed']];
if (!empty($_GET['feed']) && !empty($feed)) {
header("Content-type: text/xml");
echo file_get_contents($feed);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment