Custom RIS Export File

Using the standalone Zotero client in Mac OS, I am attempting to modify the RIS translator.

My question concerns these 2 files:

258.js, found in Applications/Zotero/Contents/Resources/translators (after unzipping translators.zip)

RIS.js, found in /Users/username/Application Support/Zotero/Profiles/default/zotero/translators

Both have a doExport function, and both are different. Which one is ran when exporting the library? Which one should I modify to create a custom RIS export translator?
  • use this one:
    /Users/username/Application Support/Zotero/Profiles/default/zotero/translators

    (the other one is the old version of the translator that shipped with your copy of Zotero - it would be re-installed when you use "Reset Translators" in the advanced tab of the Zotero preferences and then update itself within 24hs).

    Although it's less important for export translators, I'd still recommend using scaffold for convenience.
    http://www.zotero.org/support/dev/translators/scaffold
  • It's the RIS.js in your Zotero Profiles folder
  • Thanks you two.

    I was trying to use Scaffold, but couldn't quite figure out how to run doExport, which is the only one I'm truly interested in.
  • you can't run doExport on Scaffold - hence less useful than for other translators - it still may be more convenient to use as and IDE - e.g. it gets your the right RIS right away - but the advantages are much smaller.
  • I am modifying the RIS.js file, but it doesn't appear to be using that file, as these mods are not reflected in my exported RIS files.

    How do you get Zotero to use the modified file?
  • if you're modifying the correct file all you need to do is save it and the changes take effect immediately.
  • I was positive I was modifying the correct file, and then I just happened to look in the database folder and saw a folder called translators...
  • Thanks for all the help. I can finally get down to making this happen...

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.