Customize links, RIS & download options
-
I’m customizing a publication list and getting quite some way with CSS (thanks for the ZP data fields!), but running into a few limitations:
1.
Would be wonderful to be able to set the text of thedownloadlink, e.g. to say just “PDF” or a unicode character like “🔽”. This is also an i18n/l10n issue: consider non-English settings where we might want to have a different word or sign.Proposal: Option
downloadlinktext="text"that allows user to set the link text.Variant of proposal: Keep
download="yes"(anddownload="no"for not displaying), and interpret any other text as the custom link text (e.g.,download="🔽 PDF"would render the link as 🔽 PDF)2.
If #1 is reasonable then the same should probably apply to the “(CITE)” link generated bycite="yes".3.
ZotPress seems to decide to turn DOIs into links, but only when a style prescribes using the full URL (with thehttps://doi.org/prefix). However, in an online context it makes little sense to print the https://doi.org/ part. We can get rid of this by choosing a style that just prints “doi:10.1016/j.cub.2016.05.047”, but then we lose the link.Proposal: Add option
linkdoi="yes"to link the DOI (if a style is chosen that displays the DOI). Leave display or not ofhttp://doi.org/prefix to the CSL style.Variant of proposal: I was hoping that
urlwrapwould pick up the DOI link but apparently that one is for the item URL field in Zotero. If it would work for DOIs, an added optionurlwrap="doi"could nicely cover the above use case. (Here, too, leave display or not of full HTTPS prefix to the CSL style.)
The topic ‘Customize links, RIS & download options’ is closed to new replies.