U++ framework
Do not panic. Ask here before giving up.

Home » Community » Coffee corner » HTML viewer
Re: HTML viewer [message #60034 is a reply to message #60028] Tue, 11 July 2023 13:52 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1266
Registered: August 2007
Senior Contributor
Quote:
Parsing HTML is (relatively) easy. Where it gets hard IMO is where you have to interpret styles to have some meaningful rendering info. Font sizes, colors, line styles and width and such.. I have not checked too deeply, but few examples I have seen do not seem to deal with that stuff at all...


Of course, you are right. It is not meant to build a web renderer and it does not parse CSS. But it let's you focus on everything else (i.e. in this case parsing CSS, without worrying too much about even colossal HTML pages.). And I can tell you from my experience with libtidy that it makes life so much easier if you are working with web pages. The parser part itself is very fast and is long battle-tested (after all, it is one of the "eldest" parsers).


Best regards,
Oblivion


[Updated on: Tue, 11 July 2023 13:53]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MacOS M1/M2 chip can cross compile even for previous intel chip?
Next Topic: Greetings! (and a bug report)
Goto Forum:
  


Current Time: Fri May 01 04:43:03 GMT+2 2026

Total time taken to generate the page: 0.00572 seconds