stevensdavid / jabref

Fork of Jabref for lab in DD2480 at KTH
https://www.jabref.org
MIT License
1 stars 0 forks source link

Implement ShortScience integration #3

Closed stevensdavid closed 4 years ago

stevensdavid commented 4 years ago

We need to integrate ShortScience into JabRef.

stevensdavid commented 4 years ago

It seems we might be able to access ShortScience by arxiv ID through the URL pattern https://www.shortscience.org/paper?bibtexKey=journals/corr/{id}. Papers that have been added to JabRef through ArXiv have a field called eprint which can be used as the ID. I'm going to look in to how DOI searching works.

stevensdavid commented 4 years ago

It doesn't seem to be quite as easy with DOI numbers. Maybe a good initial solution would be to search by arXiv ID and perhaps title.

stevensdavid commented 4 years ago

Actually, one way we could implement this without having to deal with web scraping would be to simply provide the user with a link to a search of ShortScience with the article's title as the query string. What do you guys think?

krisgun commented 4 years ago

Actually, one way we could implement this without having to deal with web scraping would be to simply provide the user with a link to a search of ShortScience with the article's title as the query string. What do you guys think?

That could be a solution, do you have any initial thoughts on where in the GUI such a link could be placed? One thought that I have is to place it in one of the tabs when clicking on an entry (i.e. in the entry editor). But it also feels a bit wasteful in regards to space to just put a link there.

stevensdavid commented 4 years ago

Actually, one way we could implement this without having to deal with web scraping would be to simply provide the user with a link to a search of ShortScience with the article's title as the query string. What do you guys think?

That could be a solution, do you have any initial thoughts on where in the GUI such a link could be placed? One thought that I have is to place it in one of the tabs when clicking on an entry (i.e. in the entry editor). But it also feels a bit wasteful in regards to space to just put a link there.

We could put it in the right click context menu image

stevensdavid commented 4 years ago

I'll write a mockup for this

felixlut commented 4 years ago

Actually, one way we could implement this without having to deal with web scraping would be to simply provide the user with a link to a search of ShortScience with the article's title as the query string. What do you guys think?

That could be a solution, do you have any initial thoughts on where in the GUI such a link could be placed? One thought that I have is to place it in one of the tabs when clicking on an entry (i.e. in the entry editor). But it also feels a bit wasteful in regards to space to just put a link there.

We could put it in the right click context menu image

I think this is a great place to integrate the funcitonlaity!

stevensdavid commented 4 years ago

I have a mockup up and running on branch issue/3 :)

stevensdavid commented 4 years ago

After a lot of thorough experimentation, I think the best solution for this would be to redirect the user to the search page as is currently implemented on branch issue/3. I experimented with parsing and creating direct links to the article, but ShortScience is too inconsistent with their format for it to be worth our effort. I believe that this feature is essentially complete now.

stevensdavid commented 4 years ago

Resolved, and being tracked through PR review on JabRef instead.