URLs Missing from all Journal Bibliographies in all styles
I've just spent a few hours troubleshooting my custom csl file. One of the issues I was attempting to fix was missing URLs in journals without DOIs. I recreated my custom csl from the standard chicago-author-date.csl successfully; however, URLs were still missing. I have now realized that I have no Journal URLs for ANY standard style, either. DOIs work fine. URLs work for non-journal items.
This is the code that used to work in my custom csl:
I've tried removing the 'choose' between DOI & URL, but still get no URLs. The only validation errors in my csl are objects that are the same in the standard Chicago style.
Here's an example of two identical articles & two other types. The first with a DOI, the second with the DOI cleared & ONLY a URL. I've also added duplicated items that are a Book & a Report with the same URL. The URL field works fine for non-journal items.
PND-Modified Chicago Manual of Style 17th edition (author-date)
(Person and Human 2022a; 2022b; 2022c; 2022d)
Person, S., and A. Human. 2022a. This is the article title. Publication 1 (1): 1–10.
———. 2022b. This is the article title. Publication 1 (1): 1–10. Accessed via https://doi.org/10.1007/12345-6789.
———. 2022c. This Is the Book Title. Vol. 1. Accessed via http://link.springer.com/12345-6789.
———. 2022d. This Is the Report Title. Accessed via http://link.springer.com/12345-6789.
Chicago Manual of Style 17th edition (author-date)
(Person and Human 2022a; 2022b; 2022c; 2022d)
Person, Some, and Another Human. 2022a. “This Is the Article Title.” Publication 1 (1): 1–10.
———. 2022b. “This Is the Article Title.” Publication 1 (1): 1–10. https://doi.org/10.1007/12345-6789.
———. 2022c. This Is the Book Title. Vol. 1. http://link.springer.com/12345-6789.
———. 2022d. “This Is the Report Title.” http://link.springer.com/12345-6789.
American Political Science Association
(Person and Human 2022a, 2022b, 2022c, 2022d)
Person, Some, and Another Human. 2022a. “This Is the Article Title.” Publication 1(1): 1–10.
———. 2022b. “This Is the Article Title.” Publication 1(1): 1–10.
———. 2022c. 1 This Is the Book Title. http://link.springer.com/12345-6789 (May 8, 2021).
———. 2022d. This Is the Report Title. http://link.springer.com/12345-6789 (May 8, 2021).
American Psychological Association 7th edition
(Person & Human, 2022a, 2022b, 2022c, 2022d)
Person, S., & Human, A. (2022a). This is the article title. Publication, 1(1), 1–10.
Person, S., & Human, A. (2022b). This is the article title. Publication, 1(1), 1–10. https://doi.org/10.1007/12345-6789
Person, S., & Human, A. (2022c). This is the book title (Vol. 1). http://link.springer.com/12345-6789
Person, S., & Human, A. (2022d). This is the report title (p. 10). http://link.springer.com/12345-6789
Cite Them Right 11th edition - Harvard
(Person and Human, 2022a, 2022b, 2022c, 2022d)
Person, S. and Human, A. (2022a) ‘This is the article title’, Publication, 1(1), pp. 1–10.
Person, S. and Human, A. (2022b) ‘This is the article title’, Publication, 1(1), pp. 1–10. doi:10.1007/12345-6789.
Person, S. and Human, A. (2022c) This is the book title. Available at: http://link.springer.com/12345-6789 (Accessed: 8 May 2021).
Person, S. and Human, A. (2022d) This is the report title, p. 10. Available at: http://link.springer.com/12345-6789 (Accessed: 8 May 2021).
Elsevier - Harvard (with titles)
(Person and Human, 2022a, 2022b, 2022c, 2022d)
Person, S., Human, A., 2022a. This is the article title. Publication 1, 1–10.
Person, S., Human, A., 2022b. This is the article title. Publication 1, 1–10. https://doi.org/10.1007/12345-6789
Person, S., Human, A., 2022c. This is the book title.
Person, S., Human, A., 2022d. This is the report title.
Would appreciate advice on my csl code or confirmation that anyone else is having this trouble with journal URLs? (P.S. I also reinstalled Zotero, though did not uninstall my settings.)
This is the code that used to work in my custom csl:
<macro name="access">
<group delimiter=". ">
<choose>
<if type="graphic report" match="any">
<text macro="archive"/>
</if>
<else-if type="article-journal bill book chapter legal_case legislation motion_picture paper-conference" match="none">
<text macro="archive"/>
</else-if>
</choose>
<choose>
<if type="webpage post-weblog" match="any">
<date variable="issued" form="text"/>
</if>
</choose>
<choose>
<if variable="issued" match="none">
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
<choose>
<if type="legal_case" match="none">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="Accessed via https://doi.org/"/>
</if>
<else>
<text variable="URL" prefix="Accessed via "/>
</else>
</choose>
</if>
</choose>
</group>
</macro>
I've tried removing the 'choose' between DOI & URL, but still get no URLs. The only validation errors in my csl are objects that are the same in the standard Chicago style.
Here's an example of two identical articles & two other types. The first with a DOI, the second with the DOI cleared & ONLY a URL. I've also added duplicated items that are a Book & a Report with the same URL. The URL field works fine for non-journal items.
PND-Modified Chicago Manual of Style 17th edition (author-date)
(Person and Human 2022a; 2022b; 2022c; 2022d)
Person, S., and A. Human. 2022a. This is the article title. Publication 1 (1): 1–10.
———. 2022b. This is the article title. Publication 1 (1): 1–10. Accessed via https://doi.org/10.1007/12345-6789.
———. 2022c. This Is the Book Title. Vol. 1. Accessed via http://link.springer.com/12345-6789.
———. 2022d. This Is the Report Title. Accessed via http://link.springer.com/12345-6789.
Chicago Manual of Style 17th edition (author-date)
(Person and Human 2022a; 2022b; 2022c; 2022d)
Person, Some, and Another Human. 2022a. “This Is the Article Title.” Publication 1 (1): 1–10.
———. 2022b. “This Is the Article Title.” Publication 1 (1): 1–10. https://doi.org/10.1007/12345-6789.
———. 2022c. This Is the Book Title. Vol. 1. http://link.springer.com/12345-6789.
———. 2022d. “This Is the Report Title.” http://link.springer.com/12345-6789.
American Political Science Association
(Person and Human 2022a, 2022b, 2022c, 2022d)
Person, Some, and Another Human. 2022a. “This Is the Article Title.” Publication 1(1): 1–10.
———. 2022b. “This Is the Article Title.” Publication 1(1): 1–10.
———. 2022c. 1 This Is the Book Title. http://link.springer.com/12345-6789 (May 8, 2021).
———. 2022d. This Is the Report Title. http://link.springer.com/12345-6789 (May 8, 2021).
American Psychological Association 7th edition
(Person & Human, 2022a, 2022b, 2022c, 2022d)
Person, S., & Human, A. (2022a). This is the article title. Publication, 1(1), 1–10.
Person, S., & Human, A. (2022b). This is the article title. Publication, 1(1), 1–10. https://doi.org/10.1007/12345-6789
Person, S., & Human, A. (2022c). This is the book title (Vol. 1). http://link.springer.com/12345-6789
Person, S., & Human, A. (2022d). This is the report title (p. 10). http://link.springer.com/12345-6789
Cite Them Right 11th edition - Harvard
(Person and Human, 2022a, 2022b, 2022c, 2022d)
Person, S. and Human, A. (2022a) ‘This is the article title’, Publication, 1(1), pp. 1–10.
Person, S. and Human, A. (2022b) ‘This is the article title’, Publication, 1(1), pp. 1–10. doi:10.1007/12345-6789.
Person, S. and Human, A. (2022c) This is the book title. Available at: http://link.springer.com/12345-6789 (Accessed: 8 May 2021).
Person, S. and Human, A. (2022d) This is the report title, p. 10. Available at: http://link.springer.com/12345-6789 (Accessed: 8 May 2021).
Elsevier - Harvard (with titles)
(Person and Human, 2022a, 2022b, 2022c, 2022d)
Person, S., Human, A., 2022a. This is the article title. Publication 1, 1–10.
Person, S., Human, A., 2022b. This is the article title. Publication 1, 1–10. https://doi.org/10.1007/12345-6789
Person, S., Human, A., 2022c. This is the book title.
Person, S., Human, A., 2022d. This is the report title.
Would appreciate advice on my csl code or confirmation that anyone else is having this trouble with journal URLs? (P.S. I also reinstalled Zotero, though did not uninstall my settings.)
-
enozkanIs the "Include URLs of paper articles in references" under Zotero Preferences -> Cite -> Styles checked or not?
-
PNDPermittingOh, frick. How many times did I look at that window without noticing that? Well, at least my csl is all freshened up! Thank you, @enozkan