Add Accessed/urldate

edited 4 days ago
Based on APA, I tried to add "accessed" to my references. It nearly works, I can change the formatting, but I don't know, where the "set" in "Accessed: set 5mar.2025" comes from. Or is there a much easier way? Here the instructions from Copilot that I followed: Locate the Bibliography Section:

Find the bibliography section in the CSL file. This is where the format for the bibliography entries is defined.
Add the Access Date Macro:

You need to define a macro for the access date. Add the following code snippet within the style element but outside any existing macros:
https://s3.amazonaws.com/zotero.org/images/forums/u16823519/i522oosbktw1st1wpvz1.png
Modify the Bibliography Layout:

Within the bibliography section, locate the layout element. You need to call the access-date macro within the layout. Add the following line where you want the access date to appear:
https://s3.amazonaws.com/zotero.org/images/forums/u16823519/6qjl1v1fnodgx7r3fst0.png
  • Note that APA style does not recommend access dates be included. The manual states that access dates should only be included if websites are updated frequently, which we implement in the APA CSL style by including access dates only if the item doesn’t have a publication date.

    If you really want to include access dates, then edit the apa.csl and find these lines (starting at line 1688):


    <else-if variable="URL">
    <group delimiter=" ">
    <choose>
    <if variable="issued status" match="none">
    <group delimiter=" ">
    <text term="retrieved" text-case="capitalize-first"/>
    <date variable="accessed" form="text" suffix=","/>
    <text term="from"/>
    </group>
    </if>
    </choose>
    <text variable="URL"/>
    </group>
    </else-if>


    And change to:

    <else-if variable="URL">
    <group delimiter=" ">
    <group delimiter=" ">
    <text term="retrieved" text-case="capitalize-first"/>
    <date variable="accessed" form="text" suffix=","/>
    <text term="from"/>
    </group>
    <text variable="URL"/>
    </group>
    </else-if>
Sign In or Register to comment.