share-preview icon indicating copy to clipboard operation
share-preview copied to clipboard

Allow parsing HTML code manually

Open razzeee opened this issue 3 years ago • 9 comments

Should it be possible to use this with a local app?

razzeee avatar Oct 04 '21 21:10 razzeee

Hmm, it works if you manually add http://?

rafaelmardojai avatar Oct 04 '21 23:10 rafaelmardojai

Hmm, it works if you manually add http://?

Hmm forget it, I'm not forcing https. Also I have tested and works for me.

Captura de pantalla de 2021-10-04 18-39-46

rafaelmardojai avatar Oct 04 '21 23:10 rafaelmardojai

image

Tried on both of my pc now. Not sure if it's the angular project, manjaro or something else I'm missing

The branch I'm trying this with https://github.com/flathub/linux-store-frontend/pull/314

razzeee avatar Oct 05 '21 20:10 razzeee

I have reproduced this, it throws a 404 error for some reason (I need to expose that to the UI).

Could you confirm that running http://localhost:4200/ (the base URL) works?

rafaelmardojai avatar Oct 05 '21 21:10 rafaelmardojai

Your right, I guess that's spa specific then :/

razzeee avatar Oct 05 '21 22:10 razzeee

I think the easiest way to get around this would be to allow to paste the page content by hand and then run your logic on it.

razzeee avatar Oct 05 '21 23:10 razzeee

I think the easiest way to get around this would be to allow to paste the page content by hand and then run your logic on it.

You could try with some local server for static pages. But yeah, allowing to paste HTML code would be a nice addition for the future.

rafaelmardojai avatar Oct 05 '21 23:10 rafaelmardojai

Yeah, but angular is not nice about that. Anyway, it's not the fault of your tool. Should we reword this issue or close it?

razzeee avatar Oct 09 '21 22:10 razzeee

Yeah, but angular is not nice about that. Anyway, it's not the fault of your tool. Should we reword this issue or close it?

Done!

rafaelmardojai avatar Oct 14 '21 15:10 rafaelmardojai