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

Re: HtmlView vs WebView


Thank you all.

I think i get it.
I'm now thinking HtmlView to be like a more advanced version of TextLabel.
with a handy Load method and root dir so i guess still quite usable but for
our own hand crafted pages not normal URLs.

Perhaps a Path property would make sense and make the wiki refer to URL as
a synonym for Path?

Respects
BruceS



On Sat, 24 May 2025 at 09:03, Fabien Bodard <gambas.fr@xxxxxxxxx> wrote:

> And if you want to give it internet capabilities you have to join
> httpclient to it to download page in a cache... And have to manage this
> cache too.
>
> Light mean also less functionalities.
>
> The problem with WebView is the weight. To many unused things loaded to
> just display a single html doc. And it have no sense in the unix world who
> claim keep it simple 😅.
>
> The best is to have many specialised tools with good api to work together.
>
> Even AI today seem to going this way again  😁.
>
>
>
> Fabien Bodard
>
> Le ven. 23 mai 2025 à 21:17, Benoît Minisini <
> benoit.minisini@xxxxxxxxxxxxxxxx> a écrit :
>
>> 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.
>>
>>
>>

Follow-Ups:
Re: HtmlView vs WebViewBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
HtmlView vs WebViewBruce Steers <bsteers4@xxxxxxxxx>
Re: HtmlView vs WebViewBruce Steers <bsteers4@xxxxxxxxx>
Re: HtmlView vs WebViewBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: HtmlView vs WebViewFabien Bodard <gambas.fr@xxxxxxxxx>