zotero / translators

Zotero Translators
http://www.zotero.org/support/dev/translators
1.26k stars 750 forks source link

The translator for SpringerLink works abnormal #3302

Closed cslalexX closed 4 months ago

cslalexX commented 5 months ago

SpringerLink updated their website recently, and the translator doesn't seem to work well anymore, as the details, previously, it just found a DOI of an item and used it to look up the information of this item, and now it seems just extract the information from the website, as the results, some fields of Zotero are left empty, such as authors.

aborel commented 5 months ago

I can't reproduce the problem, I have tried a couple of articles and chapters, everything looks OK for me. Can you provide an example URL where you experience this behavior?

cslalexX commented 5 months ago

Have you tested the book? Screenshot_20240419_230443.png

Screenshot_20240419_230214.png

Screenshot_20240419_230330.png

cslalexX commented 5 months ago

And that's when you do it with DOI.

Screenshot_20240419_230944.png

aborel commented 5 months ago

Thanks for the details. I had not tested a book, indeed for https://link.springer.com/book/10.1007/978-3-030-43881-4 the captured metadata is rather poor. The document type, title and abstract are retrieved from embedded metadata, but apparently nothing else. With this information, I think we can start to investigate.

cslalexX commented 5 months ago

Thanks for the details. I had not tested a book, indeed for https://link.springer.com/book/10.1007/978-3-030-43881-4 the captured metadata is rather poor. The document type, title and abstract are retrieved from embedded metadata, but apparently nothing else. With this information, I think we can start to investigate.

Thanks for your attention, in my perspective, that problem happened probably because SpringerLink had updated their website recently and that movement caused this situation. In the older version of their website, everything works perfectly.

aborel commented 5 months ago

The browser connector seems to be ignoring the Springer Link translator completely for this ebook. The same thing happens for the ebook test cases from the translator code, although these tests are working as expected within the translator editor. For ebooks, the translator is supposed to return multiple results, I'm guessing the book itself and each chapter, I don't know if that plays a role in this. I'm still looking into this issue, but if anybody with a deeper knowledge wants to offer their advice, it'll be great.

cslalexX commented 5 months ago

Yeah, previously when you clicked the connector button it would pop up a window and let you select what items you want to add, a whole book or some chapters, and the first one always be the whole book for the common book, for reference work, they don't have a whole book option though.

aborel commented 5 months ago

The problem was also reported on the Zotero forum: https://forums.zotero.org/discussion/113759/springerlink-changed-connectors-dont-work-any-more#latest

dstillman commented 5 months ago

https://forums.zotero.org/discussion/comment/461270/#Comment_461270

(And for future reference, there's no need to discuss icons/metadata/etc. for a case like this: you can just hover over the save icon and see that it's using the Embedded Metadata translator rather than the Springer Link translator for the new design.)