del.icio.us Script Update
Published by chiieddy October 22nd, 2005 in Tech, WordPress, del.icio.us links.Good morning. The del.icio.us script I’ve been working on has been updated again. It now does the following:
- If there are no links in your del.icio.us account, it won’t make a post.
- There is now an $offset variable where you can set it to a different number and it will look back that number of days for links. If you set it to 1 it’ll look for yesterday, 0 today.
- The $del_showlink variable now works. If you have it set to false it’ll still link to del.icio.us but not to your personal account. This wasn’t working at all before, as far as I can tell.
Be careful when editing the variables in this file. In order to get the date to show in the title of the post, I had to move some actual code within the configuration variables. This has been clearly marked, so do not edit it!
That’s it for now and I really can’t think of anything else I’d want the script to do at this point. Marc, the original coder of the script also has a weekly version of the script. I’m sure what I’ve done and what he’s done can be integrated, but I’m happy with dailies for now.

Elana, when I run this script, I get this error:
XML error: XML_ERR_NAME_REQUIRED at line 1
Any idea what’s causing that?
Someone on your host is requiring strict header language which I don’t support. You’ll have to look into what these values should be and add them to the beginning of your copy of the script.
I confirmed the script I’m distributing is the same as the one I’m using as a nightly cronjob, so the problem is not reproducing here on the Dreamhost servers.
Sorry!