# biblatex: adding entries outside of main .bib file; possibly a 'multiple bibliographies' problem with filecontents package

Is there a way to include additional entries outside of the .bib file in the a bibliography for biblatex? For instance, I have a few web references (http) which I don't want to add in my general .bib file, but only within a particular document (.tex file). Is this possible? I am imagining something which might use the filecontents package like this, but not sure how this can be done with biblatex.

-
Please consider reducing the length of the tile of your question. – Marc van Dongen Dec 28 '12 at 18:08

## 1 Answer

Simply provide a second .bib file (this can be done with a filecontents environment specified in your .tex file) and use \addbibresource two times.

\documentclass{article}

\usepackage{biblatex}

\usepackage{filecontents}

\begin{filecontents}{general.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
\end{filecontents}

\begin{filecontents}{specific.bib}
@misc{C03,
author = {Cuthor, C.},
year = {2003},
title = {Charlie},
}
\end{filecontents}

\addbibresource{general.bib}
\addbibresource{specific.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

-