Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an exporter for Endnote XML #11137

Closed
HoussemNasri opened this issue Apr 3, 2024 · 8 comments · Fixed by #11157
Closed

Add an exporter for Endnote XML #11137

HoussemNasri opened this issue Apr 3, 2024 · 8 comments · Fixed by #11157
Assignees

Comments

@HoussemNasri
Copy link
Member

HoussemNasri commented Apr 3, 2024

JabRef has an exporter for the legacy format of Endnote (similar to refer). Although we have an importer for Endnote XML, an exporter is yet to be implemented.

Useful Links

@subhramit
Copy link
Collaborator

This will require UI additions as well, correct?
If so, where should the changes be?

@Siedlerchr
Copy link
Member

No UI addtions needed. It will be simply available in the list of exporters to choose from.

@subhramit
Copy link
Collaborator

I want to try this, but am only concerned about how to write a working test for it. If anyone wants to work together on this, let me know.

@Siedlerchr
Copy link
Member

You can take a look at the other Exporters and tests for example.

  1. Test the correct export of an endnote file. Here you maybe create a sample library in endnote, export/save it and then use that as base to check against.
  2. Rountrip Test Importing + Exporting should result in the same library

https://github.com/JabRef/jabref/blob/748b0eeaa8dedc07c872fe535bef3bf31298f1b1/src/test/java/org/jabref/logic/exporter/MSBibExportFormatFilesTest.java

@subhramit
Copy link
Collaborator

You can take a look at the other Exporters and tests for example.

  1. Test the correct export of an endnote file. Here you maybe create a sample library in endnote, export/save it and then use that as base to check against.
  2. Rountrip Test Importing + Exporting should result in the same library

https://github.com/JabRef/jabref/blob/748b0eeaa8dedc07c872fe535bef3bf31298f1b1/src/test/java/org/jabref/logic/exporter/MSBibExportFormatFilesTest.java

Cool, I have a fuzzy idea in my mind, will give it a try. Once I'm done I'll open a draft pull request and tag you guys, it'll most probably require quite a few reviews.

@HoussemNasri
Copy link
Member Author

@subhramit Nice! I assigned you the issue. Feel free to ask for more details here or in the draft PR.

@subhramit
Copy link
Collaborator

While exporting, these are the options that are available:
Screenshot (226)

How to add Endnote (*.xml) to it?

@Siedlerchr
Copy link
Member

Go the class of one Exporter, right-click on the class name -> find usages. Then you will find out where it is called and where the other exporters are added.

Tip: Most stuff in jabref is grouped logically. e.g. all exporter stuff and importer stuff etc are under their corresponding packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants