Exporting PDFs in RIS file
I'm having an issue where I want to export a Zotero collection with attached PDFs and import into Endnote. I select RIS as file type, and specify that attachments should be included. When imported into Endnote, I get a bunch of broken links. In the far right for any one citation, there is a note that says "the following file could not be opened...." and then it gives a path that is, for example, files/1988/Ulrich_1984. However, when I look at that PDF's location in Zotero, I get the path ...Zotero/storage/9H8VRP6N.
So there seems to be a disconnect between where Endnote thinks the PDFs are located and where Zotero does. Any ideas where this process might be going wrong, and how I might rectify? Thanks.
So there seems to be a disconnect between where Endnote thinks the PDFs are located and where Zotero does. Any ideas where this process might be going wrong, and how I might rectify? Thanks.
L1 - file/ --> L1 - [the full path of the RIS file]/file/
Zotero to Endnote is generally the above, i.e. requires tweaking to import. I thought this used to work, but it doesn't currently. Not sure about Zotero to Mendeley -- same there, I'm pretty sure this used to work, but not sure about the ability of Mendeley to understand relative paths.
Edit:
System: 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Reference managers: Zotero 5.0.60, Mendeley Desktop 1.19.3
Can you share the RIS for a single item? Zotero generally exports as cleanly as possible, so it might be a question of whether Mendeley can be slightly more permissive on import or whether you need to tweak the RIS to work around their limitations.
Generally: there is no universally supported method of file links in RIS that will work with every program out there. There are slightly different methods of using relative links that are popular and even absolute links have challenges (changing if you move to another machine; not working at all in some programs).
Mendeley and Zotero can exchange references using formats other than RIS & they may have better support for one of those other options.
L1 - files/4899/Kahneman_Tversky_1979_Prospect Theory.pdf
Zotero is exporting reasonable relative links that are similar to those exported by EndNote. It may be that Mendeley does not support importing files at relative links. You'd need to check with their support regarding the format they expect. This will likely be one or more of four options, but I don't use or support their tool:
Edit (2019-03-09): Use the full URI only, Mendeley seems to 'forget' direct links, once the desktop app is closed (in the case I tested, it managed to remember only 2 out of about 30).
For those on Linux, the path should look like this:
L1 - /home/user/.../exportedfoldername/files/numericfoldername/filename.*
[direct link]Edit (2019-03-09): Unreliable, see above.
L1 - file:/home/user/.../exportedfoldername/files/numericfoldername/filename.*
[full URI]Is there any way how to alter all the exported files en bloc?
L1 - files/ --> L1 - file:/home/user/.../exportedfoldername/files/
I understand it is not a priority, but if this could be addressed some time in the future updates, I would appreciate it very much. Zotero will remain my primary reference manager, but when working with others it is not always possible to 'convert' them.
Ln - ~/exportedfoldername/files/numericfoldername/filename.* [direct link]
Edit (2019-03-09): Unreliable, see above.
Ln - file:~/exportedfoldername/files/numericfoldername/filename.* [full URI]