SimplePie 1.5 is now available!

SimplePie Developer Weblog.  Not that we really have anything to say, but if you'll listen, why not?

SimplePie 1.0 Beta now available! 29 Jan 2006 

Star

SimplePie 1.0 Beta is now available for public consumption. Lots of cool new things in this release, as you can check out in the Version History. There’s also another entry in the Tips and Tricks section entitled “Bypass ‘hotlink blocking’ when displaying a feed.”, and the ever-popular Del.icio.us/Last.fm AJAX demos are also taking advantage of the new features in this release.

All existing SimplePie users are encouraged to upgrade ASAP. No existing functions were changed or depreciated, so you should be able to just drop the new file right in. We do recommend, however, that you take a look at our Tips and Tricks section to find ways to optimize your use of SimplePie.

Posted by Ryan Parman at 11:34 pm. Comments (0)

Last.fm AJAX  

Update (2 October 2007): This demo is WAAAAAAAAYYY outdated, and didn’t work anymore with newer versions of SimplePie. Since then, we’ve released the awesome SimplePie Live! service which is much better geared for AJAX-style uses. Check out the updated Last.fm AJAX tutorial.

Posted by Ryan Parman at 3:21 pm. Comments (0)

Del.icio.us AJAX  

In this demo, I will show you how to use the Ajax capabilities of Moo.ajax with Prototype Lite in conjunction with SimplePie and del.icio.us.

What you’ll need for this demo

What you need to do

  1. Unzip the delicious-ajax.zip file.
  2. In the resulting package is a PHP folder. Drop the latest version of simplepie.inc into that folder.
  3. Edit the parameters in the JavaScript function near the bottom of the demo.php source to list your own del.icio.us feed URL and number of entries to show.
  4. Upload the whole delicious folder to your webserver (or your localhost)
  5. Set the cache folder to server-writable.
  6. Load the demo.php into your web browser, and voila!

Live Demo

Del.icio.us AJAX Demo

Use it in your own site

I suppose I should also mention that this exact same code can be used for any feed — not just delicious feeds. Of course, you might want to fine-tune it for services like Last.fm and Flickr, but that shouldn’t be too hard.

I made it a point to keep all of the various code languages as separate as possible. This should make it simple to bring this demo into your own webpages.

The only things that are required for this to work are: (1) simplepie.inc, (2) process.php, (3) prototype.lite.js, (4) moo.ajax.js, and (5) delicious-ajax.js. These five files bring the backend and frontend pieces together so that all you have to worry about is coding a <div> with an id and calling the process(id, url, qty) function either at the end of the page’s source code, or have it fire on body onload.

As simple as pie!

Posted by Ryan Parman at 3:20 pm. Comments (2)

« Newer Posts

Older Posts »