-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
XMP Writer incomplete #8491
Comments
Hi |
I'm actually a new at this, so yeah, regarding that, is this page sufficient : https://docs.jabref.org/advanced/xmp ? Or are there any additional resources that would be helpful? |
That looks good so far, codewise the classes in org.jabref.logic.xmp are relevant. We also have unit tests for the import/export. So that should give you a good starting point. Otherwise for more advanced questions about XMP @btut might be helpful |
Hi! Edit : Okay maybe the dublincore link is too old, as wikipedia's description suggests they are equivalent |
Hi, you have to differ between |
Hi! |
Cool! Regarding dates, this should not be a problem to store incomplete dates (at least according to the spec( This refers also a bit to #2753 |
I've created a PR for the issue. @Siedlerchr . Code changes are rough, and could be better. but as far as I understand the issue, I think this ought to be sufficient. |
Thanks, I will take a look when you're ready! Please check any relevant failing tests ( FetcherTests probably not relevant) |
JabRef version
5.5 (latest release)
Operating system
Windows
Details on version and operating system
Win 11
Checked with the latest development build
Steps to reproduce the behaviour
The problem is that not all field are written back to the pdf file.
There are setter/adder function in DublinCoreExtractor.java for the field: DESCRIPTION, IDENTIFIER, TITLE, FORMAT, CONTRIBUTOR, CREATOR, PUBLISHER, SUBJECT, RELATION
The DATE field is not fully converted (only year and month field)
Remaining fields are added as relation to the RELATION-Field (with /bibtex-prefix), however there are setter/adder function provided by pdfbox (in DublinCoreSchema.java):
COVERAGE, LANGUAGE, RIGHTS, SOURCE, TYPE
Please add these missing functions to DublinCoreExtractor.java, so the complete XMP functionality can be used in both ways. If possible fix the DATE transformation, so also the DAY field could be used. Thank you.
Appendix
...
Log File
The text was updated successfully, but these errors were encountered: