dionidium.com

Wayne Burkett's Weblog

DeliciousToDelicious
04:28AM CST June 22, 2005 | Comments [2]

DeliciousToDelicious is a user script for posting to anything that implements the del.icio.us API using the del.icio.us posting interface. I use it to sync the bookmarks I post to del.icio.us with a local copy of Scuttle. It could also be used to post to two del.icio.us accounts at once.

A lot of the code comes straight from DeliciousToBlog, but this script's a lot simpler because the del.icio.us API is much less complex than the metaWeblog API.

Incidentally, I'd only find DeliciousToBlog useful if it provided some way to append new links to an existing post (so that I could include all of the day's links in one post, a la Tom Coates), but I'm not sure I'll get around to adding that.

Greasemonkey M3U Generator
01:16PM CST June 07, 2005 | Comments [8]

I love this M3U generator bookmarklet that Andy Baio pointed to a couple days ago, but I'd like to know whether the page I'm viewing links to any MP3s before I click. Playlist is a Greasemonkey user script that does exactly what Hublog's bookmarklet does, but notifies the user that a playlist has been generated with an icon in the top right corner of any page linking to MP3s.

Here's what it looks like on Music for Robots.

Audioscrobbler
03:20AM CST June 03, 2005 | Comments [5]
$ bunzip2 xmms-scrobbler-0.3.6.tar.bz2 
$ tar xvf xmms-scrobbler-0.3.6.tar 
$ sudo apt-get install libmusicbrainz2-dev
$ sudo apt-get install libcurl2-dev
$ ./configure 
$ make
$ sudo make install
Which is to say that I'm using Audioscrobbler again. By the way, I wonder why Audioscrobbler doesn't make use of the ID3 comment field. It might be worth wading through ten omg-this-band-is-soooo-hot-type comments to uncover one of the hey-did-you-know-frank-black-covered-this variety. (And comments on/off could be a preference.)
DeliciousToBlog
09:45PM CST June 01, 2005 | Comments [3]

DeliciousToBlog is a Greasemonkey user script for posting to the metaWeblog API using the del.icio.us posting interface.

You'll be asked to enter some information about your blog the next time you add a link to del.icio.us. (You can modify this information later by typing about:config in Firefox's location bar and filtering on the term greasemonkey.scriptvals. Fair warning: your blog's password is stored here. In plain text. Don't use this script on a public computer.)

The script works by adding a "post to weblog" checkbox to the del.icio.us form, which, when selected, uses GM_xmlhttpRequest and the metaWeblog API to send the post to your blog. The body of the post looks like this:

<p class="dtb_title"><a href="URL">DESCRIPTION</a></p>
<p class="dtb_body">EXTENDED</p>
<ul class="dtb_tags">
  <li><a href="http://del.icio.us/USERNAME/TAG01">TAG01</a></li>
  <li><a href="http://del.icio.us/USERNAME/TAG02">TAG02</a></li>
</ul>