The Future is Here and it's Right Behind You!(tm)
I've released version 0.0.1 of De.linque.nt, a Del.icio.us posting Ruby app with a twist.
http://rubyforge.org/projects/delinquent/
Here's the premise: Del.icio.us, the social bookmarking site, lets you create posts that assign a set of tags to a URL. The post also provides a description field as well as an area for extended information.
Usually, Del.icio.us posts refer to some other Web resource, but the act of creating a Del.icio.us post also creates a new Web resource: the Del.icio.us URL for the new post.
Since this Del.icio.us post is a Web resource it can itself be the target of a Del.icio.us post. In fact, one can create posts for Del.icio.us resources that do not exist until the post is created, i.e., the post URL you bookmark is the one that will refer to the bookmark you are creating. And that is what De.linque.nt does.
When you install the De.linque.nt gem, it creates a helper app to generate a posting script named 'delinquentry'. You need to provide a Del.icio.us user name and password, and optionally define the base tag for your De.linque.nt posts. You can then call delinquentry, passing in the text for the post description and extended info fields.
The De.linque.nt class will create an as-yet nonexistent URL based off the main Del.icious URL, your base tag, and a time stamp. This URL is then becomes a Del.icio.us post, which is tagged with both this unique tag and the plain base tag.
You can read any specific De.linque.nt post by referring to its unique tag, or see all the posts by indexing on the base tag.
Requirements:
* Rubilicious, a Ruby library for the Del.icio.us API
* A Del.icio.us account
* Too much free time
Read more (including example usage, details on the included spiffatronic Greasmonkey scripts, and currently cheesy encryption options) at:
AKA
Have fun!
James
ยทยทยท
--
http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys