[Tex/LaTex] Two questions on biblatex: remove parentheses on urldate, and change “url” label

biblatexurls

I have a couple of questions on biblatex.

First:
When I use the urldate field in a biblatex entry, I get as a result the following string (e.g.):

. . . (visited on 01/02/2012).

With \DefineBibliographyStrings{english} I can change the label visited on, but cannot change the fact that the resulting string is included within parentheses. Is there a way to remove them?

Second:
When typesetting biblatex entries that contain URLs, the result (in authoryear-comp, at least) always prints in small caps the label "url:". Is there a way to change it to something like "Available at"? I tried unsuccessfully the following:

\DefineBibliographyStrings{english}{
  url = {Available at}
  }

Cheers!

Best Answer

\documentclass{article}

\usepackage{biblatex}

\NewBibliographyString{available}

\DefineBibliographyStrings{english}{%
  available = {available at},
}

\DeclareFieldFormat{url}{\bibstring{available}\addcolon\space\url{#1}}

\DeclareFieldFormat{urldate}{\addcomma\space\bibstring{urlseen}\space#1}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
  url = {tex.stackexchange.com},
  urldate = {2012-04-08},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

enter image description here

Related Question