Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display 'augmented PDF view' on Glutton service dedicated route #7

Open
NicolasKieffer opened this issue Jan 19, 2020 · 3 comments
Open

Comments

@NicolasKieffer
Copy link
Collaborator

Create new route on Glutton service to handle 'augmented PDF view' feature 'in new tab'.

This route should return an HTML document that contain <div id="gluttonPdf"></div>

So Glutton service should at least send this response :

<html>
  <head></head>
  <body>
    <div id="gluttonPdf"></div>
  </body>
</html>

Note : Web Extension only build & inject HTML code of 'augmented PDF view' in div#gluttonPdf

@kermitt2
Copy link
Owner

The domain for the HTML document must be cloud.science-miner.com right? Not mandatory that this is served by the glutton web app?

@NicolasKieffer
Copy link
Collaborator Author

Yes, cloud.science-miner.com will be correct.

Note : Domain of HTML document doesn't matter. Any other domain name you own will be also correct.

@kermitt2
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants