Is it possible to automatically shorten long URLs in the footcite (e.g. to 20 chars) and add a "..." after that? Is it also possible to trim a URL after the TLD?
Here are two examples:
Footcite now:
Footcite should be (more or less):
Here is my MWE:
\documentclass{scrartcl}
\usepackage[backend=biber, sorting=nyt, maxcitenames=2, maxbibnames=2, firstinits=true, isbn=false, doi=false, url=false, style=authoryear, dashed=false]{biblatex}
\renewcommand*{\multinamedelim}{\slash\space} % Delimiter should be a "/"
\appto{\biburlsetup}{\renewcommand*{\UrlFont}{\normalfont}} % show URL w/o color
\begin{filecontents}{bib_data.bib}
@online{gs1_aisbl_epc_2016,
title = {{{EPC Information Services}} ({{EPCIS}}) {{Standard Release}} 1.2},
url = {https://www.gs1.org/sites/default/files/docs/epc/EPCIS-Standard-1.2-r-2016-09-29.pdf},
urldate = {2018-03-09},
date = {2016-09},
author = {{GS1 AISBL}},
}
\end{filecontents}
\addbibresource{bib_data.bib}
\DeclareCiteCommand{\footciteonline}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}
\printnames{author}
(\printfield{year})
\newunit\newblock
\printfield{title}
\newunit\newblock
\usebibmacro{url+urldate}
\newunit\newblock
\setunit{\labelnamepunct}
}
{\addsemicolon\space}
{\usebibmacro{postnote}}
\begin{document}
Lorem Ipsum.\footciteonline{gs1_aisbl_epc_2016}
\printbibliography
\end{document}
Thanks for your help.
Let me know if you need more information.