Created
January 19, 2009 21:43
-
-
Save gleuch/49191 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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