RoadToDream / ZotMeta

ZotMeta is a Zotero plugin to update existing articles/books metadata.
MIT License
71 stars 2 forks source link

publication year #4

Open yongkang-yang opened 3 months ago

yongkang-yang commented 3 months ago

updated year is the year when the paper was first online, not the publication year. While publication year is often cited.

RoadToDream commented 3 months ago

Hi, it would be great if you can provide a sample doi. This extension uses metadata retrieved from doi.org. If it doesn't have correct metadata, there is nothing we can do.

You can try parsing the json file returned from doi.org

curl -LH "Accept: application/vnd.citationstyles.csl+json" http://dx.doi.org/10.1016/j.jsv.2008.08.027
yongkang-yang commented 3 months ago

hi, thanks for your prompt reply. if you check this doi (10.1177/10596011211009683), the right year is 2022 not 2021. Could you try returning the metadata from crossref? I am currently using your extension and another quicker action: 文献更新(doi). it seems the quicker action based on crossref is more accurate. Just for your consideration.

RoadToDream commented 3 months ago

crossref is for sure possible, but it generally has worse abstract just from my experience. I can add an option to configure metadata source. Thank you for letting me know!

yongkang-yang commented 3 months ago

great, thank you so much!!

Honestly, I don't use abstract that much. so at least it wont bother me. Great to see there are two options for that.

RoadToDream commented 3 months ago

Let's keep this open until it's merged. You can download the test release from pull request's auto build #5.

yongkang-yang commented 3 months ago

Screenshot 2024-06-17 103740

it shows "undefined"