On Tue, 1 Aug 2023, Carlos E.R. wrote:
> No, sorry, I do not know a tool to do the splitting automatically. I would
> simply use an html editor and save chunks manually. LO could possibly do it.
> Otherwise, I would try Composer in Seamonkey.
Web pages are made by lots of tools which yield readable or unreadable
HTML code. Things that make code unreadable are
– CSS for distributing text over the screen (this has decreased a
little since Web designers reckon with smartphones that have no
screen in the classic sense, i.e. at least 25 cm wide). CSS that works
locally (fonts, sizes, ...) is less of a problem, you only have to make
sure to repeat the declarations in each portion,
– a converter from something else, e.g. Word or PDF, to HTML, especially if
it is expected to convert also vice versa,
– many tools working simultaneously (a CMS, a WYSIWYG editor, a
converter of text formats, macro techniques like SSI, and – most
prominently – server side scripting like PHP and others) not
knowing which other tools are underway as well.
If you look into the HTML code without understanding anything you
cannot expect any tool to understand more. In simple cases, a tool
like HTML Tidy (
https://www.w3.org/People/Raggett/tidy/) might improve
the situation but a tool working on everything is hardly conceivable.
Consequently, the proposed tool HTMLdoc excludes virtually everything:
While it currently does not support many things in “the modern web”
such as Cascading Style Sheets (CSS), forms, full Unicode, and Emoji
characters, ...
--
Helmut Richter