Wednesday, February 23, 2011

A bookmarklet for shortDOI.org

shortDOI is a URL shortening service that takes DOIs and converts them to short URLs such as http://doi.org/bb6, which is nice for emails and Twitter. You can add the bookmarklet by dragging this link to your bookmarks: shortDOI. It will try to find the DOI in the current page and direct you to shortDOI.


A shortDOI URL is probably more persistent than, say, bit.ly, as it's backed by the organization that maintains the DOI infrastructure. However, if doi.org would go down, you could always use a search engine if you have the original DOI, but the shortDOI URL will be worthless.

Update 24.02.2011: Use some majority voting to find the right DOI.
Update 01.03.2011: Expand the list of allowed characters. Does anybody know which characters can be part of the DOI?

2 comments:

Duncan Hull said...

Hi Michael, nice idea and it works well.

It seems to struggle on some nature pages though, claiming there is more than one DOI on the page...

e.g.
http://www.nature.com/nature/journal/v470/n7335/full/nature09704.html

Michael Kuhn said...

Hi Duncan,

the reason was the Nature page is full of the references' DOIs. I've changed the bookmarklet to use majority voting, i.e. it'll take the most common DOI (which is hopefully the correct one).