rakaar / easy-reader-extension

Extension to open figures and methods to the side
https://chrome.google.com/webstore/detail/easy-paper-reader/cmfgekigiebdhpohohdjllkioefojnee?hl=en&authuser=1
6 stars 3 forks source link

More journals - 1 #3

Open rakaar opened 1 year ago

rakaar commented 1 year ago
Mansikalra104 commented 7 months ago

Hey , @rakaar , can u please elaborate , how can I help you?

rakaar commented 7 months ago

Sorry, forgot to add details.

In README or if you check the extension by installing it here, the extension displays methods, figs and refs side wise when you highlight a relevant word.

Currently, this works on only two journals - nature.com and science.com (These two are most reputable journals). The plan is to extend the same features on other journals too. Preferably, Pubmed. Pubmed reader has papers from all journals.

For that first, it will be nice if you check the codebase. For convenience, I am writing in brief. Feel free to ask more.

  1. When a word is highlighted, it sees if user wants to see a method or reference or figure. This is handled in "handleSelection.js".
  2. Based on the selection, the appropriate function is called. Say "showFig"
  3. In "showFig.js", based on the journal, a relevant function is called, which can fetch the image URL like "NatureScrapeImageUrl"
  4. The image is displaced in the "showFig.js"

Almost the same happens in other two cases also - references and methods. I suggest you get started with Pubmed Reader. You can use this paper to test - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10055189/ It will be a good idea to start with rendering figures, then you can proceed with methods and references.

Mansikalra104 commented 7 months ago

Got it ! Can I contribute in the same ? And u can assign it to me

rakaar commented 7 months ago

Changed description and Assigned