Member Sign In
Not a member?
A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.
It's fast and free.
processing...Retrieve Sign In
Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.
processing...Welcome to Webmonkey
A private profile page has been created for you.
As a member of Webmonkey, you can now:
- edit articles
- add to the code library
- design and write a tutorial
- comment on any Webmonkey article
Sign In Information Sent
An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Delicious API
/skill level/
/viewed/
0 Times
This PHP code will retrieve your thirty most recent posts from the bookmark sharing service del.icio.us. Replace your username and password where applicable to get your own result.
<?
$dusername = "XXXXXXXXXXXXX";
$dpassword = "XXXXXXXXXXXXX";
$api = "api.del.icio.us/v1";
$apicall = "https://$dusername:$dpassword@$api/posts/recent?&count=30";
function del_connect($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_USERAGENT, 'mycoolname');
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$xml = curl_exec ($ch);
curl_close ($ch);
return $xml;
}
$result = del_connect($apicall);
echo $result;
?>
- This page was last modified 05:56, 15 May 2008.
/related_articles/
Special Offer For Webmonkey Users
WIRED magazine:
The first word on how technology is changing our world.
