Yahoo! Developer Network evening

Last Wednesday, approximately 50% of us attended the Yahoo! Developer Network evening in Barcelona, where Chris Heilmann presented some interesting stuff about what YDN is able to offer. What he talked about is quite well explained in his blog, so we’re just pointing at it from here. 🙂

We’re also taking this opportunity to show some lamb pictures (or rather, lamb-tagged photos from flickr😉 right here, using some minor modifications from his Barcelona YQL example.

query->results->photo as $s){
$src = “http://farm{$s->farm}.static.flickr.com/{$s->server}/”.
“{$s->id}_{$s->secret}_s.jpg”;
$phHTML.=’title.'” src=”‘.$src.'”>‘;
}

echo “

“;
echo $phHTML;
echo “

“;

function getstuff($url){
$curl_handle = curl_init();
curl_setopt($curl_handle, CURLOPT_URL, $url);
curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
$buffer = curl_exec($curl_handle);
curl_close($curl_handle);
if (empty($buffer)){
return ‘Error retrieving data, please try later.’;
} else {
return $buffer;
}
}

?>

Looking forward to use this in (even more!;-) useful scenarios…

Trackbacks & Pingbacks 1

  1. From Lamblogatory - 2009 recap (4/4): Other stuff on 11 Mar 2010 at 12:45 pm

    […] have not forgotten other code events; for example we were able to attend a Yahoo! Developer Network evening in Barcelona and then another one in Madrid. Regarding older projects, with so many things […]

Post a Comment

Your email is never published nor shared. Required fields are marked *

Lamboratory.com
Web: based in blog.txt theme by Scott Allan Wallick modified by montera34