Auto Social is a very neat plug-in for WordPress which lets your blog publish automatically its new or updated content on various services; at the moment it works only with del.icio.us, but the plugin structure is open enough to send in the future to any service with a descent API or url construct.
We decided to start using Auto Social with R-Echos. It worked great – out of the box, straight to the WordPress plugin folder on the server but we wanted to have a brief description of the content in the field Notes. With the del.icio.us API it has been a snap to introduce this in the code; note that the field Notes (extended.api) is limited to 255 characters.
Mainly, it’s this line which does the job:
$params .= "&extended=".urlencode($cleaned_content);
You can find more details about the del.icio.us api post:
https://api.del.icio.us/v1/posts/add? Add a post to del.icio.us
&extended (optional) – notes for the item.
Here is the patch for the file delicious.php: delicious_patch.txt.
To apply a patch, you can use:
patch -p 0 < patch_name
To create a patch, you can use the unix command: diff
diff -Naur oldfile newfile &rt; patch_name