Version: 1.0
Author: Adrian Kosmaczewski
Date: March 4th, 2007
Programming Language: Ruby
Tools: TextMate
Platforms: Linux, Windows, Mac
Download: bibtexrb.zip
Licence: Creative Commons Public Domain
This Ruby script creates a BibTeX representation of the books stored in a Delicious Library database. The script loads the XML file where the library contents are stored, parses it looking for book entries, and outputs the BibTeX-compliant entries to the screen.
To use it on the Mac you need Ruby (which a priori comes with the Mac) and you must use your command line (/Applications/Utilities/Terminal.app).
- Download the tool to your desktop
- Launch Terminal.app
- cd ~/Desktop
- ruby bibtex.rb > library.bib
Et voila! There’s a little bug however; if you have letters with accents, in the current version of my script, they get changed for apostrophes (?), and you should remove them using your favorite text editor (in my case, Textmate). But after that, you should be able to open the file using BibDesk or other BibTeX-compliant application.
Enjoy! As always, I’m not to held responsible for anything. Use it at your own risk!