Auto fill the URL field from the DOI field in JabRef

1.3k views Asked by At

In JabRef (v5.1) if I use the "new entry" tab to build a reference using the DOI I would like it to populate the URL field with the DOI append behind https://doi.org/, for example for if I use the doi "10.1016/j.ymssp.2019.106551" I would like it to fill in the URL filed with https://doi.org/10.1016/j.ymssp.2019.106551.

Is there any way to do this, either during the reference creation stage or after?

Note that doi2bib.org does this, for 10.1016/j.ymssp.2019.106551 it returns url = https://doi.org/10.1016/j.ymssp.2019.106551

Here is the full bibtex entry from doi2bib.org that does this as desired.

@article{Downey2020,
  doi = {10.1016/j.ymssp.2019.106551},
  url = {https://doi.org/10.1016/j.ymssp.2019.106551},
  year = {2020},
  month = apr,
  publisher = {Elsevier {BV}},
  volume = {138},
  pages = {106551},
  author = {Austin Downey and Jonathan Hong and Jacob Dodson and Michael Carroll and James Scheppegrell},
  title = {Millisecond model updating for structures experiencing unmodeled high-rate dynamic events},
  journal = {Mechanical Systems and Signal Processing}
}
1

There are 1 answers

6
samcarter_is_at_topanswers.xyz On

You don't need the URL field at all, that's only unnecessary and redundant information. If you use a suitable bibliography style, e.g. the default style of biblatex, the doi field will automatically print as clickable link to the correct website:

\documentclass{article}

\usepackage{biblatex}
\addbibresource{test.bib}

\usepackage{hyperref}

\begin{document}

\cite{Downey2020}

\printbibliography

\end{document}

enter image description here