UPDATE: This plugin is no longer necessary. You can just copy and paste code from the del.icio.us help section and not have to worry about this plugin. It’s in the Blog Integration > Link Rolls section. Customize, copy & paste!
This plugin/workaround will only be useful to people running WordPress with Michael Heilemann’s K2 theme.
If you want to use the Delicious Cached WordPress plugin (which shows your latest del.icio.us bookmarks in your K2 sidebar), and you aren’t running ‘curl’ on your web server (and don’t have shell access to install it), AND you’re using the K2 theme, then here’s your solution.
Just save this zip file to your computer (right click and save). Open the PHP file in a text editor and make sure you edit the function parameter to replace ‘YOUR DELICIOUS USERNAME’ with your delicious username… duh. Also look for a line that has yourserver.com and change yourserver.com to your site’s URL. Finally, upload the PHP file to your wp-content/plugins folder and activate the plugin through WordPress admin.
You can also edit the other function parameters to modify how the links appear on your site (with or without the RSS button, the kind of bullet style, whether tags are visible, etc. etc. etc.). Here’s the comprehensive list of all the different parameters you can change. Also, the plugin is set up to download your latest bookmarks from delicious every 60 minutes.
You’ll know you don’t have curl installed if you try to activate and use the original Delicious Cached plugin and receive this error:
Fatal error: Call to undefined function: curl_init() in /var/www/blog/wp-content/plugins/delicious.php on line 34
Yes, this is ridiculously specific but I’m thinking there might be one or two people who will find this useful and/or interesting.
I used someone else’s workaround and then I had to do another workaround (and some code cleanup) to make it work with the K2 theme. Basically, I merged two scripts into one and deleted the stuff we don’t need.
I hope both of the people still reading this post get some use out of it.
Get the plugin kids. Couldn’t hurt… might help!