sciencefair-land / sciencefair

The futuristic, fabulous and free desktop app for working with scientific literature :microscope: :book:
https://sciencefair-app.com
MIT License
604 stars 52 forks source link

Linking figures (with thumbnails) to papers #4

Closed blahah closed 7 years ago

blahah commented 8 years ago

It would be cool to associate individual figures with each paper, and provide thumbnails that can be followed to the full-size images.

I solved a good chunk of this problem for a related project, but the solution only works for articles in EuropePMC: open_access_figures.

The getfigures script there runs getpapers with a user-specified query to download the XML and figure images (where available) for all papers matching the query in EuropPMC. It then parses the XML to identify the figures and extract the captions, and it also generates URLs linking to the thumbnails on EuropePMC (which are predictable once you have the full image filenames).

So, I think the initial goal should be to generate the following:

Here's how to achieve that:

Help and ideas very welcome. I'm happy to do this myself, but won't get to it for at least a few days, possibly longer.

blahah commented 7 years ago

This is really related to PDFs, which aren't planned to be included in v1. Closing this but we can revisit later if we decide to add PDFs.