Is it possible to sometimes replace "Available at" with "Available through"?

I'm making a CSL style and the university style guide I'm using says that when something is available online you should typically link directly to the item using "available at" at the end of your reference, like this:

Available at: https://www.zotero.org/support/installation [Accessed 4 December 2021]

Available at: https://www.bbc.co.uk/news/uk-59528615 [Accessed 4 December 2021]

However if the thing you are referencing is part of a subscription website, or behind a password, or otherwise cannot be directly linked to (e.g. you are linking to page from which you can download a document, rather than linking to the document itself), you are meant to use "Available through" instead. Some of the examples they give are:

Available through: http://www.gutenberg.org/ebooks/7849 [Accessed 4 December 2021]

Available through: https://reports.mintel.com/display/1072829/ [Accessed 4 December 2021]

Available through: https://www.portal.euromonitor.com/ [Accessed 4 December 2021]

Available through: https://www.spotify.com/ [Accessed 4 December 2021]

I can't see any proper way of doing that with CSL and Zotero (I've also not been able to find anyone facing the same issue online). The only way I can think to do it would be to pick some otherwise unused CSL field and use an "if variable is present" condition to switch the wording, then the user could control the wording by either putting something in the field or leaving it blank. However that is certainly a bodge, and seems like a very poor way of going about it.

I have accepted that this will most likely have to be a case of manually editing the reference list at the end (if anyone cares that much about the exact wording), but I just thought I would check in case I'm missing anything obvious?
  • You need to add a “locale” section to the top of the style and supply your alternative translation for the “available-at” term. See apa.csl for examples
  • However, CSL cannot differentiate if something is freely available or hidden behind a login. You'd need to choose one of them.
  • What I'd do is distinguish by item type: article-journal is going to be mostly restricted, everything else available. Where that heuristic fails, fix manually
  • edited December 4, 2021
    Thanks, so as I suspected there's no perfect solution. The idea of picking one or the other based on document type sounds like it could be a good idea to reduce the amount of manual corrections needed.
Sign In or Register to comment.