Adding links to title or year in Latex Bibliography

I tried to achieve that latex adds links (dois or urls) to the references without showing the ugly url/doi in the reference. I believe nobody has ever benifited by reading those url/dois in a print version by typing the text into the browser. The revtex format of APS does something like that by a sophisticated style file for bibtex (.bst). However, I did not succeed in replicating this behavior with my own bst file. My workaround is to alter the .bib file direclty to interchange every title/year entry

year = { 2006 }

by a

year = { \href{ \href{http://dx.doi.org/... }{ 2006 } }

I did this with a python script and it works perfectly fine with the caveat of having one extra script and step in generating a document from tex source.

Simply run the python script by

python makeDoiLink.py

and you will be promted for the file name and if you want to add the link to title or year. The output will be a new .bib file called oldfileDOI.bib.

Please download and feel free to use and alter the script
makeDoiLink.py