free stats
Utills.com mail me @ utills@utills.com! sindicaci;ón

HowTo: Automate link posting using del.icio.us

del.icio.us del.icio.us

A short tutorial on automating the process of keeping a kottke.org style remaindered linksblog using del.icio.us.

It is pretty easy to have a sidebar with a list of your del.icio.us bookmarks, but the purpose of this HowTo is to create blog entries with content. First of all you’ll need the following two files:

Extract the heisel script and rename the config file to “del2wp.config.php”. You’ll need to edit the file to give it directions on where to get your del.icio.us links from. I would recommend creating a special purpose tag in del.icio.us especially for blog links, otherwise all your previous bookmarks will be created as entries.

Once the config file has been edited to reflect your del.icio.us account, extract the magpieRSS archive. Copy the extlib directory and the four .inc files into a new directory called “magpierss”. Upload these to a folder on your server, preferrably where the wp-config.php file resides.

To fully automate the process create a cronjob for your server, for Cpanel this is in the cron jobs link from the start page, and enter the following information:

0 */2 * * * curl -s http://www.domain.com/path-to-script/del2wp.php

Obviously you’ll need to tailor the above URL to your site. This will run the script every other hour which means you never need to worry about logging in to Wordpress to create an entry.

Beware that the notes section in del.icio.us only accepts a limited amount of input. Therefore keep the entry limited to a few sentences.

· Posted by Utills

Post Comment