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

Add link preview support #33

Open
jq-rs opened this issue May 17, 2020 · 1 comment
Open

Add link preview support #33

jq-rs opened this issue May 17, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@jq-rs
Copy link
Owner

jq-rs commented May 17, 2020

Similar to this: https://andrejgajdos.com/how-to-create-a-link-preview/

@jq-rs jq-rs added the enhancement New feature or request label May 17, 2020
@jq-rs
Copy link
Owner Author

jq-rs commented May 18, 2020

This may help to prefetch the HTML on background:
https://stackoverflow.com/questions/2376471/how-do-i-get-the-web-page-contents-from-a-webview

As a service on background:
String html = new Scanner(new DefaultHttpClient().execute(new HttpGet("www.the url")).getEntity().getContent(), "UTF-8").useDelimiter("\\A").next();

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

No branches or pull requests

1 participant