2.5% speedy, 2.5% sporty
The oppressor is making pie tonight
Recent Entries 
Saturday-4th-Jun-2005 11:45 pm - Del.icio.us links
fyre-square
Thought it would be cool to have link digests posted in my journal once in a while automatically. It would leave a record of places I've been and things I've been interested in, but haven't had the time/itch to write extensively about.

Source: Perl file

It's probably useless for most people, since it relies on: 1) being called from cron once in a while, 2) mail setup, 3) paid account for email posting, 4) a bunch of Perl modules that your host may not have (mine didn't have XML::Simple). I'm lazy, though, and just wanted to use the tools at my disposal.

Note: If you're going to use this, you may need to append "&count=n" to the API url (where n is an int between 1 and 100) to get the appropriate number of recent posts. I don't use del.icio.us extensively, so the default 15 is good for me.

I hope I got the LWP stuff right. The script will back-off if yelled at, but it's quite persistent otherwise (which may not be a good thing). Maybe I'll tune down the number of repeated requests before giving up.

So, now, if I post any new links with a ljpost tag, it should automatically update every Friday and lj-cut the entry if there are too many links.
This page was loaded Nov 13th 2009, 2:30 am GMT.