Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebMonkey:
A Truly del.icio.us API
Feb 15, 2008 @ 19:04:10

On the WebMonkey site today, there's a new tutorial that looks at one of the most "pervasive" sites to come along in a long time, del.icio.us and how to interact with it's API via PHP.

Who's that with the catchy URL that's getting all the clicks?

Why, it's del.icio.us! No matter where you are on the "Web 2.0" lash or backlash, the pervasive influence of this little bookmark aggregator can't be denied.

The site offers a myriad ways of accessing its database, from HTML and RSS feeds, to JSON data, to browser integration of various types. Let's take a look at the public API, which offers flexible and easy access to del.icio.us.

In his example, he creates a script that, given the contents of an email message, filters out the URL, breaks it into its parts and sends it off to the del.icio.us API to be bookmarked under his account.

tagged: del.icio.us API interface email bookmark del.icio.us API interface email bookmark

Link:

WebMonkey:
A Truly del.icio.us API
Feb 15, 2008 @ 19:04:10

On the WebMonkey site today, there's a new tutorial that looks at one of the most "pervasive" sites to come along in a long time, del.icio.us and how to interact with it's API via PHP.

Who's that with the catchy URL that's getting all the clicks?

Why, it's del.icio.us! No matter where you are on the "Web 2.0" lash or backlash, the pervasive influence of this little bookmark aggregator can't be denied.

The site offers a myriad ways of accessing its database, from HTML and RSS feeds, to JSON data, to browser integration of various types. Let's take a look at the public API, which offers flexible and easy access to del.icio.us.

In his example, he creates a script that, given the contents of an email message, filters out the URL, breaks it into its parts and sends it off to the del.icio.us API to be bookmarked under his account.

tagged: del.icio.us API interface email bookmark del.icio.us API interface email bookmark

Link:

Ben Ramsey's Blog:
Generating OPML From del.icio.us (And Getting All Your Links)
May 08, 2006 @ 11:28:05

Ben Ramsey, looking for a way to more efficiently manage his list of sites he reads (the OPML list), has discovered a way to get around the 30 item limit that the del.icio.us restricts a user to (thus only 30 items on the OPML list) through the use of the site's own API.

I investigated a way to get around the 30-feed limitation in del.icio.us, and I found that their API allows you to do just this, albeit with a few restrictions of its own, which I'll explain in a few moments. Using the del.icio.us API, instead of their RSS feeds, I was able to use the following code to first check whether my del.icio.us account has been updated since I last cached their data, and, if so, to grab all of the links for a particular tag and cache the data to a file for later use:

The code is simple and uses the SimpleXML PHP functionality to grab all of the items tagged with "blogroll" and parse through them, echoing them back out as simple links (to a "blogroll" section on a site). He has the script firing nightly, regenerating the OPML file each time, making it simple to automatically keep his list up-to-date while only having to update in one place.

tagged: del.icio.us opml blogroll generation simplexml del.icio.us opml blogroll generation simplexml

Link:

Ben Ramsey's Blog:
Generating OPML From del.icio.us (And Getting All Your Links)
May 08, 2006 @ 11:28:05

Ben Ramsey, looking for a way to more efficiently manage his list of sites he reads (the OPML list), has discovered a way to get around the 30 item limit that the del.icio.us restricts a user to (thus only 30 items on the OPML list) through the use of the site's own API.

I investigated a way to get around the 30-feed limitation in del.icio.us, and I found that their API allows you to do just this, albeit with a few restrictions of its own, which I'll explain in a few moments. Using the del.icio.us API, instead of their RSS feeds, I was able to use the following code to first check whether my del.icio.us account has been updated since I last cached their data, and, if so, to grab all of the links for a particular tag and cache the data to a file for later use:

The code is simple and uses the SimpleXML PHP functionality to grab all of the items tagged with "blogroll" and parse through them, echoing them back out as simple links (to a "blogroll" section on a site). He has the script firing nightly, regenerating the OPML file each time, making it simple to automatically keep his list up-to-date while only having to update in one place.

tagged: del.icio.us opml blogroll generation simplexml del.icio.us opml blogroll generation simplexml

Link:

Linux Gazette:
Building a simple del.icio.us clone
Dec 09, 2005 @ 21:19:08

With all of the talk about del.icio.us and Yahoo today, it only seems appropriate that this tutorial came across my path today - a HowTo on building a simple del.icio.us clone.

Recently made the move from Mandrake to Ubuntu, and while I was unpacking in my new $HOME (sorry, I couldn't resist), I came across a little del.icio.us clone I wrote in PHP to test out the RDF generating script I wrote (well, adapted) to go with my article about outliners.

I decided to use PHP, basically because it's the only language I've used for web programming. I decided to use SQLite for the database because I didn't feel like installing MySQL: PHP's SQLite functions are pretty similar to the MySQL equivalent anyway, so it's no big deal.

Please note that what I am presenting in this article does very little: I needed to test a script, and only cloned the parts I needed to do that. I did go a little further, but forgot about it until now. Doing something useful is for a future article!

He gives you everything - the SQL, the code, and even how to get an API to the script working.He wraps it all up with a form that can be used to create the needed code for adding an article to the database...

tagged: build del.icio.us clone build del.icio.us clone

Link:

Linux Gazette:
Building a simple del.icio.us clone
Dec 09, 2005 @ 21:19:08

With all of the talk about del.icio.us and Yahoo today, it only seems appropriate that this tutorial came across my path today - a HowTo on building a simple del.icio.us clone.

Recently made the move from Mandrake to Ubuntu, and while I was unpacking in my new $HOME (sorry, I couldn't resist), I came across a little del.icio.us clone I wrote in PHP to test out the RDF generating script I wrote (well, adapted) to go with my article about outliners.

I decided to use PHP, basically because it's the only language I've used for web programming. I decided to use SQLite for the database because I didn't feel like installing MySQL: PHP's SQLite functions are pretty similar to the MySQL equivalent anyway, so it's no big deal.

Please note that what I am presenting in this article does very little: I needed to test a script, and only cloned the parts I needed to do that. I did go a little further, but forgot about it until now. Doing something useful is for a future article!

He gives you everything - the SQL, the code, and even how to get an API to the script working.He wraps it all up with a form that can be used to create the needed code for adding an article to the database...

tagged: build del.icio.us clone build del.icio.us clone

Link:


Trending Topics: