The Artima Developer Community
Sponsored Link

PHP Buzz Forum
2a First public release of Services_Delicious 13

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Stephan Schmidt

Posts: 238
Nickname: schst
Registered: Sep, 2004

Stephan Schmidt is a founding member of PHP Application Tools and a PEAR developer.
2a First public release of Services_Delicious 13 Posted: Nov 24, 2004 1:27 AM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Stephan Schmidt.
Original Post: 2a First public release of Services_Delicious 13
Feed Title: a programmer's best friend
Feed URL: http://blog.php-tools.net/rss.php?version=1.0
Feed Description: The blog of PHP Application Tools
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Stephan Schmidt
Latest Posts From a programmer's best friend

Advertisement
aad I just released the first public version of Services_Delicious, a PHP API for the REST based webservice of the social bookmarking site del.icio.us. If you've read my last blog entry on this topic, you already know, what it can do for you.
If you are not familiar with social bookmarking, here's an introduction for you:
Social bookmarking allows you to compile a list of categorized links that are accessible through a website by other users. This has the advantage that you can also browse the bookmarks of others and easily find interesting site. del.icio.us is a quite pouplar bookmarking site, which also offers a webservice to add new bookmarks or read your existing ones using HTTP and XML.
When using Services_Delicous you can easily manage your bookmarks using PHP:<?php
$dlc = &new Services_Delicious($username, $password);

$posts = $dlc->getRecentPosts('php', 10);
print_r($posts);
?>

Adding a new bookmark is not any harder:
<?php
$dlc = &new Services_Delicious($username, $password);

$result = $dlc->addPost('http://pear.php.net', 'PHP Extension and Application Repository', 'The home of Services_Delicious', array('php', 'pear'));
if (PEAR::isError($result)) {
die($result->getMessage());
} else {
echo "Success";
}
?>

Services_Delicious provides a lot of more methods, API documentation should show up on the PEAR website quite soon and I already started writing the end-user documentation for the PEAR manual. 17

Read: 2a First public release of Services_Delicious 13

Topic: 2f Started writing documentation for Services_Ebay 13 Previous Topic   Next Topic Topic: php|architect to Publish Books

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use