Discussion:
Suitable editor for multiple large complex HTML files
(too old to reply)
Richard Owlett
2024-06-08 14:21:56 UTC
Permalink
The feature laden HTML files are chapters of the KJV Bible.
My goal is a pleasant reading experience for a set of Senior Citizens
with mild vision impairment [including myself]. As "everyone" has a
browser, avoiding JavaScript/CSS/etc and using only about a half-dozen
tags seems reasonable.

There are many _study_ oriented tools available.
I didn't find something that met my reading preferences.
Rolling my own allows me to:
1. learn HTML by doing.
2. have a pleasant reading reading experience.
3. create something useful to others.
[ https://ebible.org/Scriptures/eng-kjv2006_html.zip as starting point]
Delete lines 20 through eof
Delete lines 1 through 17
Replace all </div> with </div><br>
{terminating in manner to cause editor to see following as a new line }
Replace all <span class="verse" id="V?"> with &#160;&#160;&#160;<sup>
{ where ? may be 1-9 OR 10-99 OR 100-199 }
{ seen described as an extended regular expression - lost reference }
{ &#160; used instead of &nbsp; to conform to local practice }
Replace all #160;</span> with </sup>#160;</span>
Delete all <ul class='tnav'>
Save file pre-pending "temp_" to existing file name.
Can someone suggest a user friendly editor?
[Haven't used anything but Notebook and Pluma for decades.]
TIA
candycanearter07
2024-06-08 14:35:04 UTC
Permalink
Post by Richard Owlett
The feature laden HTML files are chapters of the KJV Bible.
My goal is a pleasant reading experience for a set of Senior Citizens
with mild vision impairment [including myself]. As "everyone" has a
browser, avoiding JavaScript/CSS/etc and using only about a half-dozen
tags seems reasonable.
There are many _study_ oriented tools available.
I didn't find something that met my reading preferences.
1. learn HTML by doing.
2. have a pleasant reading reading experience.
3. create something useful to others.
[ https://ebible.org/Scriptures/eng-kjv2006_html.zip as starting point]
Delete lines 20 through eof
Delete lines 1 through 17
Replace all </div> with </div><br>
{terminating in manner to cause editor to see following as a new line }
Replace all <span class="verse" id="V?"> with &#160;&#160;&#160;<sup>
{ where ? may be 1-9 OR 10-99 OR 100-199 }
{ seen described as an extended regular expression - lost reference }
{ &#160; used instead of &nbsp; to conform to local practice }
Replace all #160;</span> with </sup>#160;</span>
Delete all <ul class='tnav'>
Save file pre-pending "temp_" to existing file name.
Can someone suggest a user friendly editor?
[Haven't used anything but Notebook and Pluma for decades.]
TIA
VSCode? Notepad++? Sublime Text is good if you ignore the subscription
popups.
--
user <candycane> is generated from /dev/urandom
Richard Owlett
2024-06-08 14:40:50 UTC
Permalink
Post by candycanearter07
Post by Richard Owlett
The feature laden HTML files are chapters of the KJV Bible.
My goal is a pleasant reading experience for a set of Senior Citizens
with mild vision impairment [including myself]. As "everyone" has a
browser, avoiding JavaScript/CSS/etc and using only about a half-dozen
tags seems reasonable.
There are many _study_ oriented tools available.
I didn't find something that met my reading preferences.
1. learn HTML by doing.
2. have a pleasant reading reading experience.
3. create something useful to others.
[ https://ebible.org/Scriptures/eng-kjv2006_html.zip as starting point]
Delete lines 20 through eof
Delete lines 1 through 17
Replace all </div> with </div><br>
{terminating in manner to cause editor to see following as a new line }
Replace all <span class="verse" id="V?"> with &#160;&#160;&#160;<sup>
{ where ? may be 1-9 OR 10-99 OR 100-199 }
{ seen described as an extended regular expression - lost reference }
{ &#160; used instead of &nbsp; to conform to local practice }
Replace all #160;</span> with </sup>#160;</span>
Delete all <ul class='tnav'>
Save file pre-pending "temp_" to existing file name.
Can someone suggest a user friendly editor?
[Haven't used anything but Notebook and Pluma for decades.]
TIA
VSCode? Notepad++? Sublime Text is good if you ignore the subscription
popups.
THAT'S what you call a fast response ;}
I'll look them up.
Thank you.
Richard Owlett
2024-06-08 15:39:30 UTC
Permalink
Post by Richard Owlett
Post by candycanearter07
Post by Richard Owlett
The feature laden HTML files are chapters of the KJV Bible.
My goal is a pleasant reading experience for a set of Senior Citizens
with mild vision impairment [including myself]. As "everyone" has a
browser, avoiding JavaScript/CSS/etc and using only about a half-dozen
tags seems reasonable.
There are many _study_ oriented tools available.
I didn't find something that met my reading preferences.
     1. learn HTML by doing.
     2. have a pleasant reading reading experience.
     3. create something useful to others.
[ https://ebible.org/Scriptures/eng-kjv2006_html.zip as starting point]
Delete lines 20 through eof
Delete lines 1  through 17
Replace all    </div>                          with </div><br>
      {terminating in manner to cause editor to see following as a
new line }
Replace all    <span class="verse" id="V?">    with
&#160;&#160;&#160;<sup>
      { where ? may be 1-9 OR 10-99 OR 100-199 }
      { seen described as an extended regular expression - lost
reference }
      { &#160; used instead of &nbsp; to conform to local practice }
Replace all    #160;</span>                     with </sup>#160;</span>
Delete  all    <ul class='tnav'>
Save file pre-pending "temp_" to existing file name.
Can someone suggest a user friendly editor?
[Haven't used anything but Notebook and Pluma for decades.]
TIA
VSCode? Notepad++? Sublime Text is good if you ignore the subscription
popups.
THAT'S what you call a fast response ;}
I'll look them up.
Thank you.
Should have mentioned I run only Debian Linux.
https://www.sublimetext.com/ didn't me [a neophyte] with warm fuzzy
feelings. However a series of Wikipedia links led to
https://en.wikipedia.org/wiki/Category:HTML_editors and thus to
https://bluefish.openoffice.nl/features.html and
https://bfwiki.tellefsen.net//index.php/Main_Page
which seem to indicate I'm in their target audience.
Also it appears to be in Debian repository.

Comments?
TIA
Stan Brown
2024-06-08 15:26:20 UTC
Permalink
Post by Richard Owlett
The feature laden HTML files are chapters of the KJV Bible.
My goal is a pleasant reading experience for a set of Senior Citizens
with mild vision impairment [including myself]. As "everyone" has a
browser, avoiding JavaScript/CSS/etc and using only about a half-dozen
tags seems reasonable.
IMHO, you are setting unrealistic criteria. Certainly avoid
JavaScript in a static page where no input from the reader is
expected. (In an introduction, you can tell readers about Ctrl-plus
and Ctrl-minus, which most browsers interpret to change text size.)

But eschewing CSS is, again IMHO, a mistake. You don't have to get
too fancy, but for instance your work will benefit from setting
linespacing larger than most browsers do.
--
Stan Brown, Tehachapi, California, USA https://BrownMath.com/
Shikata ga nai...
Richard Owlett
2024-06-08 16:16:51 UTC
Permalink
Post by Stan Brown
Post by Richard Owlett
The feature laden HTML files are chapters of the KJV Bible.
My goal is a pleasant reading experience for a set of Senior Citizens
with mild vision impairment [including myself]. As "everyone" has a
browser, avoiding JavaScript/CSS/etc and using only about a half-dozen
tags seems reasonable.
IMHO, you are setting unrealistic criteria.
Chuckle. 60+ years of hardware/software agrees that's possible.
[ Took my first programming course as an E.E. student in 61/62 ;]
Post by Stan Brown
Certainly avoid JavaScript in a static page where no input from the
reader is expected. (In an introduction, you can tell readers about
Ctrl-plus and Ctrl-minus, which most browsers interpret to change text size.)
That detailed control may be beyond some of my audience. At 80, I'm the
youngest.
Post by Stan Brown
But eschewing CSS is, again IMHO, a mistake. You don't have to get
too fancy, but for instance your work will benefit from setting
linespacing larger than most browsers do.
That's to be seen.
My experiments with SeaMonkey on Debian does not foresee such a benefit.
An unstated goal is that what I produce will run without errors/warnings
on anything from HTML 2.0 on.
Stan Brown
2024-06-09 17:13:45 UTC
Permalink
Post by Richard Owlett
Post by Stan Brown
Post by Richard Owlett
The feature laden HTML files are chapters of the KJV Bible.
My goal is a pleasant reading experience for a set of Senior Citizens
with mild vision impairment [including myself]. As "everyone" has a
browser, avoiding JavaScript/CSS/etc and using only about a half-dozen
tags seems reasonable.
IMHO, you are setting unrealistic criteria.
Chuckle. 60+ years of hardware/software agrees that's possible.
[ Took my first programming course as an E.E. student in 61/62 ;]
Post by Stan Brown
Certainly avoid JavaScript in a static page where no input from the
reader is expected. (In an introduction, you can tell readers about
Ctrl-plus and Ctrl-minus, which most browsers interpret to change text size.)
That detailed control may be beyond some of my audience. At 80, I'm the
youngest.
Post by Stan Brown
But eschewing CSS is, again IMHO, a mistake. You don't have to get
too fancy, but for instance your work will benefit from setting
linespacing larger than most browsers do.
That's to be seen.
My experiments with SeaMonkey on Debian does not foresee such a benefit.
An unstated goal is that what I produce will run without errors/warnings
on anything from HTML 2.0 on.
Do your audience actually have browsers that are decades out of date?
If they do, and they do anything on the Internet, tney are leaving
themselves wide open to a world of trouble.
--
Stan Brown, Tehachapi, California, USA https://BrownMath.com/
Shikata ga nai...
Lawrence D'Oliveiro
2024-06-09 22:36:40 UTC
Permalink
Post by Stan Brown
Do your audience actually have browsers that are decades out of date?
If they do, and they do anything on the Internet, tney are leaving
themselves wide open to a world of trouble.
Maybe they are the type that trust to a “higher power” to keep them safe ...
Richard Owlett
2024-06-10 12:20:16 UTC
Permalink
Post by Lawrence D'Oliveiro
Post by Stan Brown
Do your audience actually have browsers that are decades out of date?
If they do, and they do anything on the Internet, tney are leaving
themselves wide open to a world of trouble.
Maybe they are the type that trust to a “higher power” to keep them safe ...
ROFL
You are putting "cart before horse" flavored with "Edsel v. DeLorean"
Who mentioned internet _usage_? Not I ;}
The subject line is
"Suitable editor for multiple large complex HTML files"
Aren't there other uses for "files" than Websites.
Lawrence D'Oliveiro
2024-06-11 05:56:59 UTC
Permalink
Post by Richard Owlett
The subject line is
"Suitable editor for multiple large complex HTML files"
Aren't there other uses for "files" than Websites.
But HTML has provision for embedding arbitrary links to Internet sites.
You may or may not know this; from the sound of it, your audience likely
doesn’t.
Richard Owlett
2024-06-11 12:19:47 UTC
Permalink
Post by Lawrence D'Oliveiro
Post by Richard Owlett
The subject line is
"Suitable editor for multiple large complex HTML files"
Aren't there other uses for "files" than Websites.
But HTML has provision for embedding arbitrary links to Internet sites.
You may or may not know this; from the sound of it, your audience likely
doesn’t.
Those two sentences are outside the relevant universe of discourse.
My posts ask for referral to a suitable editor.
Post by Lawrence D'Oliveiro
1. learn HTML by doing.
What downside is there to specifying, for pedagogical reasons, that any
file *I* create be compliant with HTML 2 *AND* HTML 4?

P.S What might be suitable editor for multiple large complex HTML files?
[e.g. contents of https://ebible.org/Scriptures/eng-kjv2006_html.zip ;]
Richard Owlett
2024-07-05 11:45:16 UTC
Permalink
[SNIP]
P.S What might be suitable editor for multiple large complex HTML files?
[e.g. contents of https://ebible.org/Scriptures/eng-kjv2006_html.zip ;]
For the *specific* files mentioned, KDE's Kate seems to be a viable
solution.
It was comfortable to use on several test chapters.
That it is HTML aware is useful. It visually highlights HTML tags.
Caused me to notice some I hadn't looked for.

There is no problem manually doing require edits using the GUI.
I'm starting to read the command line focused portion of the manual.
Loading...