jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Search with GVK / ISBN does not work properly

Open ds-sic opened this issue 3 years ago • 4 comments

JabRef version

5.9 (latest release)

Operating system

Windows

Details on version and operating system

No response

Checked with the latest development build

  • [X] I made a backup of my libraries before testing the latest development version.
  • [X] I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. the search via GVK and also via ISBN for a new book entry works only partially. -> In GVK only items are found that have been published until 2019.
  2. Searched for example "Schadt digitalisierung" (2022/2023) or "Technologische Souveränität" (2023). Both are available at https://gso.gbv.de/ Searching for "Digitalisierung" alone yields only 50 results. According to this, there is a limit of 50 somewhere. Searching for "Digitalisierung 2023" only brings up 6 results for me. Could the internally set limit be the reason?
  3. I have installed the current version 5.9 on Windows. However, I get the same result under Debian. Since the installation is fresh on Debian and no configurations have been made there, this seems to be a bug. The problem is with the latest development version 5.10. just checked and there the same result as described above.

Appendix

...

Log File
Paste an excerpt of your log file here

ds-sic avatar Aug 13 '23 13:08 ds-sic

Searching with GVK raises an Exception on my 5.9 grafik

According to the Homepage from gbv there was an URL update. https://kxpwww.k10plus.de/info/

Therefore a simple update in the fetcher file may be sufficient: https://github.com/JabRef/jabref/blob/9739619128738f5f4f99e3a0973fc1c5bb6de434/src/main/java/org/jabref/logic/importer/fetcher/GvkFetcher.java#L22

URL_PATTERN = "http://sru.gbv.de/gvk?" --> URL_PATTERN = "http://sru.k10plus.de"

Sorry, but I have no JDK to test whether that works. But if I use the URL Pattern within the Exception and update it with the new URL Pattern in the browser, I get a proper XML file. So I suppose it will work.

teertinker avatar Aug 16 '23 06:08 teertinker

Thanks a lot! We will check this!

Siedlerchr avatar Aug 16 '23 06:08 Siedlerchr

@ds-sic Hi, yes the limit of 50 is set hard in JabRef. As we rely on the goodwill of the publisher/catalogs, we have limited the results. However, the GVK Fetcher also allows searching for year https://docs.jabref.org/collect/import-using-online-bibliographic-database#search-syntax

It might be possible to implement pagination, so we don't have to fetch all the results in advance. But I am not that deep into the search options of the SRU interface.

Siedlerchr avatar Aug 18 '23 20:08 Siedlerchr

@Siedlerchr Hej, thanks for the information, the limit is fine. And thanks for the fix. With Version 5.10 the GVP search is running again :-)

ds-sic avatar Sep 10 '23 09:09 ds-sic