Leeds Harvard referencing

In settings I see the 'University of Leeds - Harvard' citation style was updated 4 months ago (May 2025). The UoL library website says "library staff produce and maintain the Leeds Harvard ... output styles for use in Endnote" only, not for other software like Zotero. So my first question is who manages this style in Zotero? It has served me well for 4 years but I now find it does not include
[ONLINE].
[Accessed ..date..].
Available from: DOI / URL links
in the reference list where it should. I can see these sections in the style editor but likely with some conditions that should be removed.
  • Going by the history of the style, the majority of the work for this style was done by the Citation Style Language team. (and not by UoL (either staff or student)).

    If you see an issue, you can report it here with a concrete example and a link to the current guidelines of the style.
  • Thanks. The style is harvard-university-of-leeds.csl

    The guidelines are here, specifically I'm looking at the most quoted which is journal article: https://library.leeds.ac.uk/referencing-examples/9/leeds-harvard/11/journal-article and the following comment:
    "If you are referencing a journal article which you have read online (on a website or as a PDF), you should include [online], the DOI if available (or the URL if no DOI is available), and the access date in your reference. DOIs can be identified as a long code starting with “10.” and should be presented in your reference as a link (...) This advice was updated in September 2024."

    A concrete example:
    Efthymiou, D., Antoniou, C. and Waddell, P. 2013. Factors affecting the adoption of vehicle sharing systems by young drivers. Transport Policy. 29, pp.64–73.

    Should be:
    Efthymiou, D., Antoniou, C. and Waddell, P. 2013. Factors affecting the adoption of vehicle sharing systems by young drivers. Transport Policy. [Online]. 29, pp.64–73. [Accessed 3 April 2024]. Available from: doi.org/10.1016/j.tranpol.2013.04.009
  • Hi Elivne,
    I will be submitting an updated version of the Leeds Harvard CSL soon.

    This version of the CSL file has the necessary updates for DOIs/URLs:
    https://github.com/uol-library/CSL-styles/blob/master/harvard-university-of-leeds.csl

    You can use it by downloading the file (via this URL: https://raw.githubusercontent.com/uol-library/CSL-styles/refs/heads/master/harvard-university-of-leeds.csl) and then following the guidance here: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step#install_your_edited_style_with_zotero

  • Hi. Thanks for the effort. I have downloaded it and updated my Zotero, but neither DOIs (or URLs if not present) and access dater are coming through despite having the DOI (starting with 10) in the corresponding field. I have restarted both Word and Zotero (the [online] is not there either but this is easier to add) Any ideas?
  • Just a nudge that this issue appears to still be in need of resolution.
  • @jesusbagpuss
    I'm really not a fan of creating duplicates of styles and spreading them around. The beauty of our open-source project is that it's open source. Everybody can submit a style update so only one single place of truth exists and end users always receive updates.

    @emrinke
    I've submitted a fix. You can grab the new style from there and try it out.
    https://github.com/citation-style-language/styles/pull/8404
  • Lovely. Thank you for the fix, Patrick. Final thing that is missing is the -[Date accessed]- following the page numbers as shown here.
    https://library.leeds.ac.uk/referencing-examples/9/leeds-harvard/11/journal-article

    Would it be possible to fix this too?

    (NB: My testing a few different reference types just now suggests that the whole style may need a check; for example I found -Date- missing for newspaper articles as well as minor punctuation and italicisation errors for book chapters.)
  • edited 21 days ago
    The date will already be shown for journal articles. The way it's programmed in the style is absolutely independent from the type.
    E.g.:
    Campbell, J.L. and Pedersen, O.K. 2007. The varieties of capitalism and hybrid success. Comparative Political Studies. [Online]. 40(3), pp.307–332. [Accessed 26 July 2010]. Available from: https://doi.org/10.1177/0010414006286542.
    Make sure you have the "Include URLs for paper articles.." settings in Zotero und "Cite" on. Otherwise that won't be shown.

    A new version is available in the PR. If you spot any issue, you'd need to concretely tell me. I'm not going to check 100 citation examples just for the fun of it.
  • I've just submitted a fork/pull request to update the style, as it previously had indentation on the bibliography, which isn't called for by the library's style guide.

    I was also attempting to change the code so that it follows the guidance re: article numbers or no pages:
    Family name, INITIAL(S). Year. Title of article. Journal Title. [Online]. Volume, article no: article number [no pagination]. [Date accessed]. Available from: DOI (or URL if no DOI available)

    Example:
    Chou, C.L., Teherani, A., Masters, D.E., Vener, M., Wamsley, M. and Poncelet, A. 2014. Workplace learning through peer groups in medical school clerkships. Medical Education Online. [Online]. 19, article no: 25809 [no pagination]. [Accessed 4 September 2024]. Available from: https://doi.org/10.3402/meo.v19.25809
    But it was a bit beyond my knowledge of how to put that together. Does anyone know how to achieve this?

Sign In or Register to comment.