Export to Endnote EASY
Well those of you who need help, I found a solution; perhaps zotero folks can now emulate this method:
If you are in OSX, and want to move to endnote from zotero, download Mendeley, use it to import zotero, then export to a .ris, then have endnote import that.
If you are in OSX, and want to move to endnote from zotero, download Mendeley, use it to import zotero, then export to a .ris, then have endnote import that.
In the RIS it exports, Mendeley uses file URIs to point to PDFs:
L1 - file:///tmp/Mendeley/file.pdf
PRO: should be importable by most tools, including (apparently) EndNote.CON: Not portable. Cannot be used easily to provide another researcher with your exported files.
Zotero uses relative paths:
L1 - files/1497/file.pdf
PRO: Portable. You can copy the Exported folder elsewhere, zip it up, email it to a colleague, whatever.CON: Doesn't work with some tools. I thought this works on Endnote on Windows, but haven't tested in a while. It didn't import to Mendeley for me and apparently does not import to EndNote for Mac.
Options I see:
- We can add the absolute link in the export with files unchecked. We used to do this in bibtex -- are we still?
- We could implement an option in the RIS export to use absolute paths. Should be pretty quick&easy, but lots of options here.
- We could just add a kb article with search&replace instructions (i.e. L1 - files/ ---> L1 - file:///<path>/files/
Obviously pros and cons for each of these.
<pdf-urls>
Zotero copies the pdf to PDF/1497/file.pdf (note the absence of the [ExportFileName].Data subdirectory) and exports<url>internal-pdf://file.pdf</url>
</pdf-urls>
<pdf-urls>
I'm less familiar with Endnote XML, but is this directory structure an issue?<url>internal-pdf://1497/test.pdf</url>
</pdf-urls>
EDIT: add emphasis to note that it is the file directory that I think is wrong, not necessarily the links int he Endnote XML file.
I'd be curious if this works for EN import if someone can test.
The particular setting checkbox is not particularly intuitive, though....
As for what we do in bibtex -- I agree, this is not at all intuitive.
I suspect this is correct:
$ find Mendeley/
I suspect what we do is incorrect due to the lack of a Zotero.Data directory:Mendeley/
Mendeley/ExportFromMendeley.Data
Mendeley/ExportFromMendeley.Data/PDF
Mendeley/ExportFromMendeley.Data/PDF/file.pdf
Mendeley/ExportFromMendeley.xml
$ find Zotero/
Zotero/
Zotero/PDF
Zotero/PDF/1497
Zotero/PDF/1497/test.pdf
Zotero/Zotero.xml
The thing is that Endnote by default saves Endnote.xml into Endnote.Data, not into its parent folder. Changing the behavior to Mendeley's is trivially easy, but I'd want to see that tested before.
I.e. the way I understand how this works in Endnote, Endnote.Data is what you have as "Mendeley" and "Zotero" respectively.
EndNote/
EndNote/EndNote Library.Data
EndNote/EndNote Library.Data/PDF
EndNote/EndNote Library.Data/PDF/file.pdf
EndNote/EndNote Library.xml
EndNote/EndNote Library.Data/PDF/file.pdf
for the file or is that actually not in the PDF folder?
According to yourself, you care about portability? well what if your fellow researchers have endnote?
simple few lines of code for zotero software people, .... after all in this community of academics, are we not producing tools to address problems?
The RIS spec is still completely silent on how to format locators to attachments.
And we can't even use EndNote as a reference implementation, because it is a moving target their too. Older versions of EndNote did not support true file:// URIs (as it seems to now). Instead, they used relative file locators (somewhat similar to what we use now).
We do our best to support Postel's robustness principle on import/export, but that can be very difficult with legacy formats like this. Supporting the current version of EndNote by default means losing functionality for other clients by default (possibly including older versions of EndNote)!
As adamsmith notes, we have an interest in and ideas to improve RIS export. But we need to balance the needs of many use cases, not just import into EndNote. Hopefully, you can appreciate that.
For your sake here is a pseudocode:
1- If endote is install, get PDF dir
2- export pdf/notes to this dir
3- export a RIS (xml or whatever; just with correct syntax & link dir)
in endnote, one imports the RIS, the files are already there ... and you get the job done.
No need for mendeley either.
Zotero has export capabilities in multiple standard formats. It is EndNote that lacks the ability to import these formats.
edit
Others of the many personal bibliography management programs can import Zotero library data because the developers of those programs made them compatible with standards.
I'd strongly suggest to ignore the rest of the conversation. It's going nowhere.
https://github.com/zotero/zotero/issues/1193#issuecomment-284178851
My case is when export external files is unchecked. This means no file folder is created beside the ris-file.
In that case it would be nice to have correct L2 (or L1) value pointing to the correct file inside the zotero profile folder.