Is it possible to add Perma.cc to a Zotero field?
I wonder whether there is a way to add a Perma.cc link in Zotero so it would be reflected in the final citation format (i.e., Harvard) after the source link like this: (archived at https://perma.cc/...) or [https://perma.cc/...]
If not, you could just modify a citation style to include just that.
@bwiernik, I am using Harvard.
<text variable="archive" prefix="(archived at " suffix=")"/>
in any style to produce the above note -- you'll want to pay attention to whether a style already uses archive: that's make this trickier and you'll then want to think about how to detect archive web vs. physical archive content (e.g. by testing for a URL)Select either of those styles.
Scroll all the way to the bottom of the style. Just above the last </layout> tag, add this line:
<text variable="archive" prefix=" (archived at " suffix=")"/>
Scroll to the top of the file and change the <title> and <id> tags to anything else so that your changes aren't overwritten.
Click Save As, save the file somewhere on your computer, then find it and double click on it to install into Zotero.
Then, add the perma.cc address to the Archive field in Zotero
Errors
Line 306: Element “text” from namespace “http://purl.org/net/xbiblio/csl” not allowed as child of element “bibliography” from namespace “http://purl.org/net/xbiblio/csl” in this context. (Suppressing further errors from this subtree.)
I am unsure whether I need to substitute or copy next to it as I just did.
I checked and I am using Cite Them Right 10th edition - Harvard, instead.
Before:
After (1):
or
After (2): </<text variable="archive" prefix=" (archived at " suffix=")"/>>
or
After (3): </<text variable="archive" prefix=" (archived at " suffix=")"/>>
??
Before:
After (1): >
Before: The layout code as is
After (1): Substitute the word "layout" for the code you provided leaving the / as is
or
After (2): Adding the code you sent after the word "layout" in the layout code
or
After (3): Substitute the word "layout" for the code you provided including the /
</layout>
, leaving everything else, including</layout>
where it is.Update existing style "Cite Them Right 10th edition - Harvard" with "Cite Them Right 10th edition - Harvard" from /Users/sartorio/Documents/personal/Documents - Esq/UC3M/Admin/Zotero/harvard-cite-them-right-PERMcc.csl?
I clicked yes, which updated the existing cite them right... style instead of creating a new one...
Nos, which field in Zotero do I use to add the perma.cc to test the citation?
archive: perma.cc/123445
in Extra)Where can I move the code you gave me within the style editor so the "archived at..." appears right after the link where the source was originally at?
<text variable="URL"/>
(these are much further up in the style, about 1/3 from the top)<group prefix=" (" delimiter=": " suffix=")">