Skip to content

Instantly share code, notes, and snippets.

@eljojo
Created December 21, 2022 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eljojo/d8307839036e9f96a02cf80f675e0e0e to your computer and use it in GitHub Desktop.
Save eljojo/d8307839036e9f96a02cf80f675e0e0e to your computer and use it in GitHub Desktop.
zotero uri
{
"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