• Suitable editor for multiple large complex HTML files

    From Richard Owlett@21:1/5 to All on Sat Jun 8 09:21:56 2024
    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]

    Rough PRELIMINARY pseudo-code is:

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Richard Owlett on Sat Jun 8 14:35:04 2024
    Richard Owlett <rowlett@access.net> wrote at 14:21 this Saturday (GMT):

    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]

    Rough PRELIMINARY pseudo-code is:

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to All on Sat Jun 8 09:40:50 2024
    On 06/08/2024 09:35 AM, candycanearter07 wrote:
    Richard Owlett <rowlett@access.net> wrote at 14:21 this Saturday (GMT):

    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]

    Rough PRELIMINARY pseudo-code is:

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to Richard Owlett on Sat Jun 8 08:26:20 2024
    On Sat, 8 Jun 2024 09:21:56 -0500, Richard Owlett wrote:
    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...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Richard Owlett on Sat Jun 8 10:39:30 2024
    On 06/08/2024 09:40 AM, Richard Owlett wrote:
    On 06/08/2024 09:35 AM, candycanearter07 wrote:
    Richard Owlett <rowlett@access.net> wrote at 14:21 this Saturday (GMT):

    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]

    Rough PRELIMINARY pseudo-code is:

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Stan Brown on Sat Jun 8 11:16:51 2024
    On 06/08/2024 10:26 AM, Stan Brown wrote:
    On Sat, 8 Jun 2024 09:21:56 -0500, Richard Owlett wrote:
    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 ;]

    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.


    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to Richard Owlett on Sun Jun 9 10:13:45 2024
    On Sat, 8 Jun 2024 11:16:51 -0500, Richard Owlett wrote:

    On 06/08/2024 10:26 AM, Stan Brown wrote:
    On Sat, 8 Jun 2024 09:21:56 -0500, Richard Owlett wrote:
    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 ;]

    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.


    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...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Stan Brown on Sun Jun 9 22:36:40 2024
    On Sun, 9 Jun 2024 10:13:45 -0700, Stan Brown wrote:

    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 ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Lawrence D'Oliveiro on Mon Jun 10 07:20:16 2024
    On 06/09/2024 05:36 PM, Lawrence D'Oliveiro wrote:
    On Sun, 9 Jun 2024 10:13:45 -0700, Stan Brown wrote:

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Owlett on Tue Jun 11 05:56:59 2024
    On Mon, 10 Jun 2024 07:20:16 -0500, Richard Owlett wrote:

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Lawrence D'Oliveiro on Tue Jun 11 07:19:47 2024
    On 06/11/2024 12:56 AM, Lawrence D'Oliveiro wrote:
    On Mon, 10 Jun 2024 07:20:16 -0500, Richard Owlett wrote:

    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.

    As OP I stated:> Rolling my own allows me to:
    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 ;]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Richard Owlett on Fri Jul 5 06:45:16 2024
    On 06/11/2024 07:19 AM, Richard Owlett wrote:
    [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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)