Proxy-free CiteULike Button

Warwick university uses a proxy to access electronic journals and this proxy appears in the URL. As a result, the default CiteULike button to add a paper to your bibliography does not work; the parsing fails. I’ve slightly modified the code to edit out the proxy from the URL when it’s passed on to CiteULike for parsing.
Replace the location of your button (left-click/properties) by the following code and you’ll be able to use CiteULike at Warwick University. You should be able to modify it easily to use it at a different university as well.

CiteULike logoCiteULike is a great free website for organizing your bibliography. You can add an entry to your bibliography with a single click, while looking at the paper abstract, you can also keep the pdfs online to access them from anywhere and many other goodies.

From:

Select All Code:
1
2
javascript:location.href='http://www.citeulike.org/posturl?username=YOURUSERNAME
&bml=nopopup&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)

To:

Select All Code:
1
2
3
javascript:location.href='http://www.citeulike.org/posturl?username=YOUR_USERNAME
&url='+encodeURIComponent(location.href.replace(/http://0-(.*).pugwash.lib.warwick.ac.uk/(.*)/g,'http://$1/$2'))
+'&title='+encodeURI

Comments are closed.