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

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:

Ben Ramsey's Blog:
OPML Reading List
May 05, 2006 @ 11:46:31

Ben Ramsey has a new note today mentioning Scott Johnson's OPML reading list as well as a note about his own list.

The other day, I came across Scott Johnson's PHP OPML Reading List. Offering an OPML reading list for others to download is a great idea, and, since I've not yet blogged about it, I wanted to point out that I've been doing this for a long while now. On my home page, under the "syndicate" heading, is a link to my OPML blogroll. Feel free to import my OPML into your feed reader; that's what it's there for. (Please also note that I use SimpleXML to generate the blogroll on my home page from this list.)

You can check out Ben's blogroll OPML listing here for some more quality PHP-related reading material.

tagged: opml reading list blogroll simplexml opml reading list blogroll simplexml

Link:

Ben Ramsey's Blog:
OPML Reading List
May 05, 2006 @ 11:46:31

Ben Ramsey has a new note today mentioning Scott Johnson's OPML reading list as well as a note about his own list.

The other day, I came across Scott Johnson's PHP OPML Reading List. Offering an OPML reading list for others to download is a great idea, and, since I've not yet blogged about it, I wanted to point out that I've been doing this for a long while now. On my home page, under the "syndicate" heading, is a link to my OPML blogroll. Feel free to import my OPML into your feed reader; that's what it's there for. (Please also note that I use SimpleXML to generate the blogroll on my home page from this list.)

You can check out Ben's blogroll OPML listing here for some more quality PHP-related reading material.

tagged: opml reading list blogroll simplexml opml reading list blogroll simplexml

Link:

Scott Johnson's Blog:
A PHP News Roundup
Apr 28, 2006 @ 18:04:49

For those looking for things that've been happening lately in the PHP community, but haven't been able to keep up with things around here, this post from Scott Johnson talks about events from this previous week (as gathered from his OPML reading list of "serious PHP folk".

Included in his list are things like:

tagged: new roundup past week opml list new roundup past week opml list

Link:

Scott Johnson's Blog:
A PHP News Roundup
Apr 28, 2006 @ 18:04:49

For those looking for things that've been happening lately in the PHP community, but haven't been able to keep up with things around here, this post from Scott Johnson talks about events from this previous week (as gathered from his OPML reading list of "serious PHP folk".

Included in his list are things like:

tagged: new roundup past week opml list new roundup past week opml list

Link:


Trending Topics: