So i have my bibliography, and it looks exactly as i want, there's no problem with that. I don't want the entries in the bibliography show the url (unless it's specifically an online resource), and i have achieved this using the custom bib thing. That's all good.

What i would like though, is for the actual entries to be links to their online resources. I have DOIs and links to all my references, so that's not an issue, I'd just like to know how to get them to all be used in the bibliography to make the entries links. I've looked at lots of other questions on here, and can't find any that do what i'd like.
all my bibtex entries are of this form:
@ARTICLE{Ziolkowski2012,
author = {{Zi\'{o}\l{l}kowski}, M and {Vikár}, A and Mayes, ML and Bencsura,
A and Lendvay, G et al.},
title = {Modeling the electron-impact dissociation of methane},
journal = {Journal of Chemical Physics},
year = {2012},
volume = {137},
pages = {22A510},
abstract = {Blah Blah Blah},
doi = {10.1063/1.4733706},
file = {Modeling the electron-impact dissociation of methane.pdf:Modeling the electron-impact dissociation of methane.pdf:PDF},
owner = {will},
timestamp = {2013.02.11},
url = {dx.doi.org/10.1063/1.4733706}
}
I am using hyperref and natbib, which i would except to be able to do this, but i can't see how.
FUNCTION { format.journal...in my bst file, and i don't know how to write my own without breaking it all! – will Aug 06 '14 at 18:29FUNCTION {article}and add thedoilinkfunction like thisjournal emphasize doilink "journal" output.check– Hackbard_C Aug 07 '14 at 10:24