getTweets('gracesmith', 'tweet-list', '1'); //Dribbble $dribbble = new Dribbble(); $shots = $dribbble->getShots('gracesmith', 'dribbble-shots'); //Google+ $googledata = file_get_contents("https://plus.google.com/_/stream/getactivities/?&sp=[1,2,'117113113218324562969',null,null,10,null,'social.google.com',[]]"); //remove excess stuff $gplus = str_replace(")]}'", "", $googledata); //convert $gplus = str_replace('[,' , '["",' , $gplus); $gplus = str_replace(',,' , ',"",' , $gplus); $gplus = str_replace(',,' , ',"",' , $gplus); $gplus_data = json_decode($gplus); //Sc.ripted $scriptedfeed = file_get_contents('http://sc.ripted.com/rss'); //gracesmith.co.uk $blogfeed = file_get_contents('http://feeds2.feedburner.com/gracesmith'); //last.fm $lastfm = file_get_contents('http://ws.audioscrobbler.com/1.0/user/postscript5/recenttracks.rss'); //Flickr $flickr = json_decode( file_get_contents("http://api.flickr.com/services/rest/?method=flickr.people.getPublicPhotos&format=json&api_key=c9a59107d332ddfe08c417b77357c76c&user_id=27475012@N06&per_page=3&nojsoncallback=1") ); $photoset = array(); if(isset($flickr)) { foreach($flickr->photos->photo as $thepic) { $picid = $thepic->id; $photoset[] = json_decode(file_get_contents("http://api.flickr.com/services/rest/?method=flickr.photos.getInfo&api_key=c9a59107d332ddfe08c417b77357c76c&photo_id=$picid&format=json&nojsoncallback=1") ); } } ?>
text; ?>
- created_at)) . ' ago'; ?>
We're sorry, we seem to be experiencing some technical difficulties with Twitter. Hopefully we'll be back shortly
photo->title->_content; ?> photo->dates->posted); ?>
We're sorry, we seem to be experiencing some technical difficulties with Flickr. Hopefully we'll be back shortly
title; ?>
- Permalink
We're sorry, we seem to be experiencing some technical difficulties with the blog feed. Hopefully we'll be back shortly
We're sorry, we seem to be experiencing some technical difficulties with Google+. Hopefully we'll be back shortly
', '', $description[1]); $description[1] = str_replace('
', '', $description[1]); ?> -
- Permalink
We're sorry, we seem to be experiencing some technical difficulties with the Sc.ripted feed. Hopefully we'll be back shortly
We're sorry, we seem to be experiencing some technical difficulties with Dribbble. Hopefully we'll be back shortly
Listened to: title; ?>
- Permalink
We're sorry, we seem to be experiencing some technical difficulties with Last.fm. Hopefully we'll be back shortly