[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HtmlView vs WebView


On Friday, May 23rd, 2025 at 21:17, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 23/05/2025 à 21:05, Bruce Steers a écrit :
> 
> > On Fri, 23 May 2025 at 19:45, Bruce Steers <bsteers4@xxxxxxxxx
> > mailto:bsteers4@xxxxxxxxx> wrote:
> > 
> > Is HtmlView limited to many things online or is it meant for local
> > files?
> > 
> > giving a URL like the following page online...
> > 
> > HtmlView1.Url = "http://138.68.116.47/index.html
> > http://138.68.116.47/index.html";
> > 
> > We only get a blank page.
> > 
> > but this local version works.
> > HtmlView1.Url = "/var/www/html/index.html"
> > (like .Url would be better named .Path)
> > 
> > Is it broken or is that expected?
> > 
> > Many thanks for any info :)
> > 
> > I will add any need to know stuff to the HtmlView wiki (and probably
> > HtmlView.Url page)
> > Like if it has zero internet capabilities at all (I assume it does not
> > as gb.net http://gb.net does not auto-add itself)
> > 
> > Respects
> > BruceS
> 
> 
> HtmlView is not a web browser, it's a read-only HTML viewer.
> 
> It is based on the litehmtl library, so you have to read its
> documentation to know what the limits are (CSS is only partially supported).
> 
> Regards,
> 
> --
> Benoît Minisini.

Maybe I need to reformulate the question that Bruce brings to attention.

What is the proper use of htmlview.url?
- Feeding it a online url doesn't seem to work
- Feeding it a local path to some index.html seems to work
And yes, css is partially supported, I know.
So, a page not showing = ccs not understood?
And html viewer (read only or not) in my book means "show me the webpage"

So, there is quite some confusion IMHO, at least at my sied about the URL property.

gbWilly


Follow-Ups:
Re: HtmlView vs WebViewLee <t.lee.davidson@xxxxxxxxx>
References:
HtmlView vs WebViewBruce Steers <bsteers4@xxxxxxxxx>
Re: HtmlView vs WebViewBruce Steers <bsteers4@xxxxxxxxx>
Re: HtmlView vs WebViewBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>