Created
December 21, 2022 16:54
-
-
Save eljojo/d8307839036e9f96a02cf80f675e0e0e to your computer and use it in GitHub Desktop.
zotero uri
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"translatorID":"90ed0f17-6ead-42fe-afb9-d34adb230099", | |
"translatorType":2, | |
"label":"Item URI para cucho", | |
"creator":"jojo", | |
"target":"html", | |
"minVersion":"2.0", | |
"maxVersion":"", | |
"priority":200, | |
"inRepository":false, | |
"lastUpdated":"2022-12-21 13:27:00" | |
} | |
function doExport() { | |
var item; | |
while(item = Zotero.nextItem()) { | |
var parts = item.uri.split('/'); | |
var id = parts[parts.length - 1]; | |
var result = '[Zotero link](zotero://select/library/items/' + id + ')'; | |
Zotero.write(result + "\n"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment