JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.66k stars 2.59k forks source link

add resolver for jstor #6627

Open ilippert opened 4 years ago

ilippert commented 4 years ago

Is your suggestion for improvement related to a problem? Please describe. I am typically frustrated when I want to integrate a paper from jstor in my library. jstor is a key social science/humanities platform; not all papers/journals come with doi.

Describe the solution you'd like add resolver that can resolve jstor stable links, taking such a form https://www.jstor.org/stable/26878966

wujastyk commented 4 years ago

+1

LyzardKing commented 4 years ago

@ilippert Did you try importing the reference from the browser extension? That seems to work for the jstor links.

ilippert commented 4 years ago

@ilippert Did you try importing the reference from the browser extension? That seems to work for the jstor links.

thanks for the hint, I m not using any extension.

LyzardKing commented 4 years ago

With it you can pull the reference directly from the webpage in the browser and import it in jabref

wujastyk commented 4 years ago

Great solution. Thanks!

Siedlerchr commented 4 years ago

Ideas for a fetcher implementaiton: 1 Search endpoint (Open access); https://www.jstor.org/open/search/?theme=open&Query=japanese+emperor

  1. Sarch HTML for/use jsoup for selecting html by query select: a class="cite-this-item button secondary" href="/citation/info/10.7249/j.ctt1287m9t.15"

3 Extract the id after the /info or Alternative way: Extract the ID from the data-doi attribute

  1. Call https://www.jstor.org/citation/text/10.7249/j.ctt1287m9t.15 with the id after the parameter text/ to get bibtex
Siedlerchr commented 4 years ago

Thanks to @joethei this feature is now implemented

ilippert commented 4 years ago

Dear @joethei, sorry, would you mind letting me know how I can "use" this feature?

JabRef 5.2--2020-11-23--350ec1f Linux 5.9.9-200.fc33.x86_64 amd64 Java 15.0.1

joethei commented 4 years ago

@ilippert either use the web search in the bottom left to search for a paper the same way that you would search on the website itself or use Complex Search Querys. Importing from a direct url is currently not supported. You should also be to search for fulltext documents after you have added an entry to get the pdf version(if you do have access to it from your network).

wujastyk commented 4 years ago

I'm sorry @joethei, but I don't understand what you've just said. "bottom left"? Complex web search (alt+4) doesn't display "jstor" in the dropdown search options.

Screenshot from 2020-11-24 10-21-17

joethei commented 4 years ago

I am sorry, I mixed up some terminology there. web search is in the bottom left of my screen. With Complex search i meant the SearchBasedFetchers. JSTOR is showing up in the dropdown on my screen JabRef_2020-11-24_18-39-49

wujastyk commented 4 years ago

Thanks! I'm using JabRef 5.2--2020-11-23--350ec1f Linux 5.4.0-54-generic amd64 Java 15.0.1

... oh! Wait! I found it. I had to scroll down. Duh. It wasn't obvious to me that there were hidden entries. Many thanks for the clarification.

koppor commented 4 years ago

Can some documentation be added to https://docs.jabref.org/collect/import-using-online-bibliographic-database? 😇

Update: Jsotr is there --> https://docs.jabref.org/collect/import-using-online-bibliographic-database#jstor

However, there is no hint on scrolling down... Maybe just add a screenshot and hint.

ilippert commented 4 years ago

Hi, I have now used the JSTOR search the first two times. Thanks for implementing it! Experience: when I search for an author last name only, I do get a limited list of entries (not all available on jstor, not the article I am looking for). When I combine the last name with a keyword from the title, I do not get any results. When I only search for the stable URL number, I do not get anything. I am trying to import an entry for this: https://www.jstor.org/stable/41035546

Eventually what does work is to use for a part of the title within quotation marks.

joethei commented 4 years ago

Anything passed into the search gets send directly to jstor, so you should see the excact same results. Only if you use something like author:"Henke" does it search only in authors. Usage of the direct URL is currently not supported, I will open a PR shortly.

ilippert commented 4 years ago

I can confirm author:"Henke" searches in authors. But it does not get me the entry I need. Strange. If I search for author:"Christopher R. Henke" then I get it.

joethei commented 4 years ago

The search results for author:"Henke" are the same ones when using the advanced search on the website itself, JabRef does not do anything special here so that is to be expected.

DominikVoigt commented 4 years ago

@ilippert regarding the combination of multiple fields does JSTOR behave differently from the integrated search provided by JabRef (regarding the result set)?

koppor commented 3 years ago

We had to disable JSTOR because we always get an error from JSOR (done at https://github.com/JabRef/jabref/pull/7229). Thus, I need to reopen the issue to track fixing that issue.

wujastyk commented 3 years ago

JabRef 5.3--2021-04-30--f504ff0 Linux 5.4.0-72-generic amd64 Java 15.0.2 JavaFX 16+8

I hope the JSTOR resolver will come back. For scholars in the humanities, JSTOR is more important than all the other online repositories together

wujastyk commented 2 years ago

JabRef 5.5--2021-12-28--8e92228 Linux 5.13.0-22-generic amd64 Java 16.0.2 JavaFX 17.0.1+1

+1

Ideally, one could put the jstor number, e.g., 26060364 in http://www.jstor.org/stable/26060364 into the search field and suck in the bib info in the same way as a DOI.

ThiloteE commented 2 years ago

"If you are interested in requesting and receiving JSTOR metadata, please email discoveryservices@ithaka.org for more information."

Source: https://support.jstor.org/hc/en-us/articles/360053643993-Our-Partners-JSTOR-Discovery-Service-Providers#metadata_recipients

wujastyk commented 2 years ago

Okay, thanks. I've written to Ithaka. Let's see what they say.

ThiloteE commented 2 years ago

what did they say?