Modify RIS
Is it possible to end the RIS export feed? I'd like to add a new field and I'm not sure how to go about doing this? I installed the Better BibTex add-on, which is awesome BTW, and I'd like to have the Citation Key exported win the RIS. Would this be possible? If so, how would I go about doing this?
nextItem()
inside the translator has acitationKey
field when BBT is installed. This is available to all translators.LB:"citationKey",
in the field map here:https://github.com/zotero/translators/blob/master/RIS.js#L177 (it's placement isn't relevant. That will put it into LB which is RIS label. You can use any other two letter combo that isn't already taken up for RIS, too.
You can modify the RIS translator in Scaffold/Translator Editor -- I'd recommend creating a separate copy with a different ID and a slightly different name, so your version won't be overwritten with RIS updates.
Then make sure to click the "Save to Zotero" (not the regular save) button in Scaffold. Note that you can't test export in Scaffold, so you'd have to do that straight from Zotero.
I hope that's enough detail. Try it out and ask for help if you get stuck.
edit: the alignment looks weird because I use spaces rather than tabs, but it works.
item.citationKey
is always true-ish when BBT is installed, but with the IF statement the RIS exporter will keep working when BBT is uninstalled.What I mean by crash: When I drag an entry from Zotero to my Tinderbox file, i.e. export a citation from Zotero to Tinderbox, Zotero unexpectedly closes and I am presented with a crash report. I then need to restart Zotero and start the whole process all over again. If you have another way of "defining" the term crash, please advise.
I apologize if I am making the harder than it needs to be. I don't mean to. Clearly, I am displaying my ignorance of how the software works and how I'm supposed to add your modified RIS file properly into Zotero so it works properly.
I do appreciate your support. If there is a step-by-step guide you can provide, I'd appreciate it on how I'm supposed to get your modified RIS file in, I'd appreciate it. I tried the translator editor, but again I'm stumbling around in the dark give my lack of skills in this area.
What platform are you on? Windows, Linux, Mac?
thank you!