Re: HTML syntax.

2021-05-06 Thread Weaver
On 07-05-2021 08:17, pe...@easthope.ca wrote:
> From: rhkra...@gmail.com
> Date: Tue, 4 May 2021 13:20:31 -0400
>> Scintilla is used as the editing component (text entry and display) of quite 
>> a
>> few editors, among them Geany (there is a list somewhere of maybe up to 100,
>> not sure all of them still exist (or ever existed "in the wild").
> 
> Thanks.  I installed Geany and it colors HTML syntax.  Definitely helpful.
> 
> Mousepad has View > Color Scheme > {None, Classic, Cobalt, ... }.
> None is the only color scheme it will retain. 
> 
> Does mousepad need another module for color schemes to work?

Bluefish supplies all of this: in the repositories.
Cheers!

Harry.

-- 
`The first stage of fascism should more appropriately be called
Corporatism because it is a merger of State and corporate power'.
-- Mussolini



Re: HTML syntax.

2021-05-06 Thread peter
From: rhkra...@gmail.com
Date: Tue, 4 May 2021 13:20:31 -0400
> Scintilla is used as the editing component (text entry and display) of quite 
> a 
> few editors, among them Geany (there is a list somewhere of maybe up to 100, 
> not sure all of them still exist (or ever existed "in the wild").

Thanks.  I installed Geany and it colors HTML syntax.  Definitely helpful.

Mousepad has View > Color Scheme > {None, Classic, Cobalt, ... }.
None is the only color scheme it will retain. 

Does mousepad need another module for color schemes to work?

Thanks again,   ... P.

-- 
tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread deloptes
Thomas Schmitt wrote:

> I agree that it is not people-friendly to try preventing the use of a
> video after it was depublicated by state TV. The concept of Depublication
> is technically an unrealistic fiction and also a blow to the payers of
> state TV fees ("Rundfunkgebuehren").
> 
> Given the german judicial principles, the owner (ZDF, as of Michael
> Lange's report here) is obliged to use all reasonable means to enforce its
> legally obliged decision to depublicate the video. So i assume they use
> their copyright claim towards Youtube and others as tool to show this
> reasonable effort.
> 
> I see no indication that the content of the video was the reason for its
> depublication. Such content driven depublication happens from time to
> time, but not silently. Usually it rather enhances the public impact of
> the disliked message.

I understand the general part and partially agree - though it is disputable
if such lows ("Rundfunkgebuehren") are contemporary.
For this specific documentary I do not know, because there are many other
documentaries on YT that are still available.
It is very hard to not slip into conspiracy because even in the documentary
they say that the studies performed by the French Government, VW and Audi
showed that such vehicles become green after 20km and that the media
refused to publish the studies, because it is damageing the image of EVs.

Anyway - I was trying to not download any video I like, but just to bookmark
the link to the video. This story here emerged from the sneaking
dictatorship of big corporations and governments and went off line.

There is definitely less freedom than in 2007. There is more spying,
censorship and aggression from left and right.

As for the HTML5 it is obviously hard to make a parser (there are roughly 2
engines that can handle HTML5 well) so there is also less freedom here.

Hence my conclusion that we enter middle/dark ages of modern world



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread Joe
On Wed, 05 May 2021 09:51:59 +0200
"Thomas Schmitt"  wrote:


> 
> But i really do not see any such censoring with the video about
> environmental problems with electrical cars. It was aired and then
> available for two months. Business as good or bad as ever.
> 

Even the WEF are fairly upfront about it:

https://www.weforum.org/agenda/2019/03/the-dirty-secret-of-electric-vehicles/

-- 
Joe



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread Thomas Schmitt
Hi,

i wrote:
> > the song "Meine Oma ist 'ne alte Umweltsau" (= "My granny is an old
> > environmental hog"), sung by a children choir

Michael Lange wrote:
> Still seems to be available on yt, though.

Legally it could now be "Zeitgeschichte" (= "contemporary history") and
thus be exempted from the obligation to depublish it.
But since WDR as the copyright owner retracted it, it rather could be due
to the technical unfeasability of depublication.

My best theory is that they have a good media consultant who told them
that any publicly visible attention to this song would start a new wave
of ridiculing the wobbly backbone of WDR.


Have a nice day :)

Thomas



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread Thomas Schmitt
Hi,

i wrote:
> > i really do not see any such censoring with the video about
> > environmental problems with electrical cars.

deloptes wrote:
> But it was on youtube and was removed and I could not find it

I agree that it is not people-friendly to try preventing the use of a video
after it was depublicated by state TV. The concept of Depublication is
technically an unrealistic fiction and also a blow to the payers of state TV
fees ("Rundfunkgebuehren").

Given the german judicial principles, the owner (ZDF, as of Michael Lange's
report here) is obliged to use all reasonable means to enforce its legally
obliged decision to depublicate the video. So i assume they use their
copyright claim towards Youtube and others as tool to show this reasonable
effort.

I see no indication that the content of the video was the reason for its
depublication. Such content driven depublication happens from time to
time, but not silently. Usually it rather enhances the public impact of the
disliked message.


Have a nice day :)

Thomas



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread Michael Lange
Hi,

On Wed, 05 May 2021 09:51:59 +0200
"Thomas Schmitt"  wrote:

(...)
> The reason for not eternally offering videos for download is in the
> legal framework of german state TV. (In german:
> "Rundfunkstaatsvertrag", now "Medienstaatsvertrag".)
> 
> State run TV collects mandatory fees from all households for the purpose
> of broadcasting radio and TV. When the internet became important for
> publishing, the private german newspaper publishers and TV stations
> objected that the state run TV used those fees for financing a strong
> web appearance. The compromise, which is now law, was the rule that
> videos and audio are publicly available only for a limited time.
>   
> https://de.wikipedia.org/wiki/%C3%96ffentlich-rechtlicher_Rundfunk#Engagement_im_Internet
>   https://de.wikipedia.org/wiki/Depublizieren
> 

I know, but that does not really explain why they bother to block
third-party uploads on yt, there are lots of material there hwre they
apparently don't care, like these two quickly collected examples:

https://www.youtube.com/watch?v=GhGC1O0gZNI
https://www.youtube.com/watch?v=hnH10TfhkOQ

> We had cases of self-censoring which led to depublication. I remember
> the song "Meine Oma ist 'ne alte Umweltsau" (= "My granny is an old
> environmental hog"), sung by a children choir and produced by TV station
> WDR in 2019. That video was retracted after conservative politicians
> complained about the insult towards their main voter group.
>   https://www.sueddeutsche.de/medien/wdr-umweltsau-kinderchor-satire-1.4738637

Yeah, I remember that one, and particularly its aftermath; is there an
English word for "Realsatire"? Priceless! :-)

Still seems to be available on yt, though.

> 
> But i really do not see any such censoring with the video about
> environmental problems with electrical cars. It was aired and then
> available for two months. Business as good or bad as ever.

Sure, I agree about that. For some reason they care enough to make yt
block the video for Germany, but that has nothing to do with
"censorship". It think it might even be possible that they found enough
factual errors in the film that they prefer to withdraw it.

Regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Vulcans never bluff.
-- Spock, "The Doomsday Machine", stardate 4202.1



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread deloptes
Thomas Schmitt wrote:

> We had cases of self-censoring which led to depublication. I remember
> the song "Meine Oma ist 'ne alte Umweltsau" (= "My granny is an old
> environmental hog"), sung by a children choir and produced by TV station
> WDR in 2019. That video was retracted after conservative politicians
> complained about the insult towards their main voter group.
>
https://www.sueddeutsche.de/medien/wdr-umweltsau-kinderchor-satire-1.4738637
> 
> But i really do not see any such censoring with the video about
> environmental problems with electrical cars. It was aired and then
> available for two months. Business as good or bad as ever.

But it was on youtube and was removed and I could not find it



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread Thomas Schmitt
Hi,

Michael Lange wrote:
> Oddly, it seems like the German public TV station ZDF blocked the video
> for Germany due to "intellectual property rights" which are not explained
> any further.

The reason for not eternally offering videos for download is in the legal
framework of german state TV. (In german: "Rundfunkstaatsvertrag", now
"Medienstaatsvertrag".)

State run TV collects mandatory fees from all households for the purpose
of broadcasting radio and TV. When the internet became important for
publishing, the private german newspaper publishers and TV stations
objected that the state run TV used those fees for financing a strong
web appearance. The compromise, which is now law, was the rule that
videos and audio are publicly available only for a limited time.
  
https://de.wikipedia.org/wiki/%C3%96ffentlich-rechtlicher_Rundfunk#Engagement_im_Internet
  https://de.wikipedia.org/wiki/Depublizieren

We had cases of self-censoring which led to depublication. I remember
the song "Meine Oma ist 'ne alte Umweltsau" (= "My granny is an old
environmental hog"), sung by a children choir and produced by TV station
WDR in 2019. That video was retracted after conservative politicians
complained about the insult towards their main voter group.
  https://www.sueddeutsche.de/medien/wdr-umweltsau-kinderchor-satire-1.4738637

But i really do not see any such censoring with the video about
environmental problems with electrical cars. It was aired and then
available for two months. Business as good or bad as ever.


Have a nice day :)

Thomas



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread Michael Lange
Hi,

On Wed, 05 May 2021 09:16:55 +0200
deloptes  wrote:

> Michael Lange wrote:
> 
> > now I got curious too.
> > Oddly, it seems like the German public TV station ZDF blocked the
> > video for Germany due to "intellectual property rights" which are not
> > explained any further. Maybe the real copyright holders still hope to
> > earn money by somehow selling their documentary to the audience.
> 
> You are saying you can not open the link (may be better to say watch the
> video) in Germany?!
> But this is not ZDF video - it is ARTE documentary. 
> Please share information. I am sitting in Austria and I can watch and I
> am downloading right now.
> 

as I said, it is blocked in Germany, and according to what yt says it
looks like ZDF holds copyrights for Germany.
My guess is that the film was produced by some third party and the German
copyrights were purchased by ZDF and then passed on to Arte (it is not
unusual that ZDF produced material is actually shown on Arte, there is
obviously some sort of cooperation between those two). Maybe it was even
some sort of international co-production. Personally I don't care enough
to further investigate, you can certainly see the details during the
closing credits.
But all this is really far off-topic here, so i guess this discussion
should better come to an end.
I hope you enjoy the film!

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

There is a multi-legged creature crawling on your shoulder.
-- Spock, "A Taste of Armageddon", stardate 3193.9



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread deloptes
Michael Lange wrote:

> now I got curious too.
> Oddly, it seems like the German public TV station ZDF blocked the video
> for Germany due to "intellectual property rights" which are not explained
> any further. Maybe the real copyright holders still hope to earn money by
> somehow selling their documentary to the audience.

You are saying you can not open the link (may be better to say watch the
video) in Germany?!
But this is not ZDF video - it is ARTE documentary. 
Please share information. I am sitting in Austria and I can watch and I am
downloading right now.



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread deloptes
Felmon Davis wrote:

> I got intrigued (and again apologies for my error!) and weird but I
> found it here: .
> 
> I'm pretty sure it's the right video but check.
> 
> also I wonder if the link will work for you.

Cool. This is great help - THANK YOU! Downloading now. And for the future, I
will be downloading all the videos. I have been downloading only from time
to time.

The question remains - was it removed on purpose and why the
Green-Lobby-Trolls have their videos online.

The link works, I am not in China :) thanks again




Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-05 Thread Michael Lange
Hi,

On Wed, 5 May 2021 01:06:30 +0200 (CEST)
Felmon Davis  wrote:

> On Tue, 4 May 2021, deloptes wrote:
> 
> > Felmon Davis wrote:
> >
> >> you can view it on youtube (if that's compliant with your principles)
> >> at 
> >
> > this is exactly the problem - the original video is not there, but
> > the one where someone comments on the video is there
> 
> I got intrigued (and again apologies for my error!) and weird but I 
> found it here: .
> 
> I'm pretty sure it's the right video but check.
> 
> also I wonder if the link will work for you.

now I got curious too. 
Oddly, it seems like the German public TV station ZDF blocked the video
for Germany due to "intellectual property rights" which are not explained
any further. Maybe the real copyright holders still hope to earn money by
somehow selling their documentary to the audience.

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Suffocating together ... would create heroic camaraderie.
-- Khan Noonian Singh, "Space Seed", stardate 3142.8



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-04 Thread Felmon Davis

On Tue, 4 May 2021, deloptes wrote:


Felmon Davis wrote:


you can view it on youtube (if that's compliant with your principles)
at 


this is exactly the problem - the original video is not there, but the one
where someone comments on the video is there


I got intrigued (and again apologies for my error!) and weird but I 
found it here: .


I'm pretty sure it's the right video but check.

also I wonder if the link will work for you.

f.

--
Felmon Davis

Verbum sat sapienti.



Re: HTML syntax.

2021-05-04 Thread rhkramer
On Monday, May 03, 2021 11:44:41 AM pe...@easthope.ca wrote:
> Is there an editor which checks that HTML opening and closing tags are
> paired and nested properly.  An opening tag without matching close, a
> closing tag without matching open and crossed tags should be flagged
> by line number or color.
> 
> Preferably an editor with minimal overhead of installation and
> configuration.

I think any editor with syntax highlighting will help you with that -- exactly 
what it tells you may depend on how the syntax highlighter is designed -- in 
general, if you are expecting something to be syntax highlighted as, for 
example, a heading, if the either the starting or ending markup for the header 
is missing or incorrect, that part will not be properly highlighted.

I use kde and occasionally (and in the future) plan to use editors based on 
Scintilla.  I use my own syntax highlighter "definition" for my own markup 
language, but both of those have syntax highlighters for HTML.

Scintilla is used as the editing component (text entry and display) of quite a 
few editors, among them Geany (there is a list somewhere of maybe up to 100, 
not sure all of them still exist (or ever existed "in the wild").



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-04 Thread Felmon Davis

On Tue, 4 May 2021, deloptes wrote:


Felmon Davis wrote:


you can view it on youtube (if that's compliant with your principles)
at 


this is exactly the problem - the original video is not there, but the one
where someone comments on the video is there


ah, my error!

f.

--
Felmon Davis

Verbum sat sapienti.



Re: HTML syntax.

2021-05-04 Thread deloptes
Weaver wrote:

> Maybe they just moved it?
> 
> https://www.youtube.com/watch?v=lyumbvFdDNo
> Cheers!

No the original one was 1.5h - full documentary



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-04 Thread deloptes
Felmon Davis wrote:

> you can view it on youtube (if that's compliant with your principles)
> at 

this is exactly the problem - the original video is not there, but the one
where someone comments on the video is there



Re: [Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-04 Thread Felmon Davis

On Tue, 4 May 2021, Thomas Schmitt wrote:


Hi,

deloptes wrote:

I just tried to find a video on ARTE


You believe french-german state TV ?



I watched some time ago. Video was called "Umweltsünder E-Auto?"


For the non-germans: = "Environmental Sinner E-Car ?".

(It was a bit exaggerated as in several other documentaries of ARTE,
but also pointed out the problems in the overall environmental balance
sheet of battery driven indivual transport.)



They were forced to remove it :/ from their mediathek and from youtube


German State TV is only allowed to offer its videos for a limited time.
In the case of a documentary it's 12 months. But the usual live span is
only 7 days.
 https://www.daserste.de/specials/ueber-uns/verweildauer-100.html
 Sections "Rundfunkstaatsvertrag" and "Auch mehr als 7 Tage"

The video in question was available from 24 november 2020 to 22 January
2021. This is mentioned in a follow-up audio critique by german state radio:
 
https://www.swr.de/swr2/film-und-serie/umweltsuender-e-auto-unnoetig-verteufelt-100.html


Have a nice day :)

Thomas




you can view it on youtube (if that's compliant with your principles) 
at 


fjd

--
Felmon Davis

Verbum sat sapienti.

[Off topic] videos of german state TV, was Re: HTML syntax.

2021-05-04 Thread Thomas Schmitt
Hi,

deloptes wrote:
> I just tried to find a video on ARTE

You believe french-german state TV ?


> I watched some time ago. Video was called "Umweltsünder E-Auto?"

For the non-germans: = "Environmental Sinner E-Car ?".

(It was a bit exaggerated as in several other documentaries of ARTE,
but also pointed out the problems in the overall environmental balance
sheet of battery driven indivual transport.)


> They were forced to remove it :/ from their mediathek and from youtube

German State TV is only allowed to offer its videos for a limited time.
In the case of a documentary it's 12 months. But the usual live span is
only 7 days.
  https://www.daserste.de/specials/ueber-uns/verweildauer-100.html
  Sections "Rundfunkstaatsvertrag" and "Auch mehr als 7 Tage"

The video in question was available from 24 november 2020 to 22 January
2021. This is mentioned in a follow-up audio critique by german state radio:
  
https://www.swr.de/swr2/film-und-serie/umweltsuender-e-auto-unnoetig-verteufelt-100.html


Have a nice day :)

Thomas



Re: HTML syntax.

2021-05-04 Thread Weaver
On 04-05-2021 18:34, deloptes wrote:
> to...@tuxteam.de wrote:
> 
>> On Mon, May 03, 2021 at 11:54:58PM +0200, deloptes wrote:
>>> to...@tuxteam.de wrote:
>>>
>>> > xmllint has an --html option for that. That said...
>>>
>>> you sure that it will give a warning if tag is not closed? Cause I do not
>>> think so. In fact the --html option seems to correct those missing tags.
>>> All together it's a good tool, but I do not know how it applies to html5
>>
>> AFAIK it does HTML4.
>>
>> HTML5 is a "living standard" [1], [2] which is an euphemism for "Apple,
>> Google, Microsoft and, to a slowly dwindling extent Mozilla, will tell
>> you what is supposed to work today".
>>
>> The W3C consortium fought tooth and nail to fix a standard and lost.
>> Whatwg (the above mentioned Big Guys) imposed
>>
> 
> so another one failure of opensource and free software
> 
>> Raph Levien called that, back then in 1998, "The decommoditization of
>> protocols" [1]. A visionary.
>>
>> Remember this old joke (around 1990)
>>
>>   Q: How many Microsoft engineers does it take to screw in a light bulb?
>>   A: None, they just define darkness as an industry standard.
>>
>> Well, we arrived there.
>>
> 
> we are arriving in the middle ages - soon they start burning people alive or
> send them to concentration camps for not believing in green energy,
> Microsoft, Google or you name it. I just tried to find a video on ARTE that
> I watched some time ago. Video was called "Umweltsünder E-Auto?"
> They were forced to remove it :/ from their mediathek and from youtube

Maybe they just moved it?

https://www.youtube.com/watch?v=lyumbvFdDNo
Cheers!

Harry.

-- 
`The first stage of fascism should more appropriately be called
Corporatism because it is a merger of State and corporate power'.
-- Mussolini



Re: HTML syntax.

2021-05-04 Thread deloptes
to...@tuxteam.de wrote:

> On Mon, May 03, 2021 at 11:54:58PM +0200, deloptes wrote:
>> to...@tuxteam.de wrote:
>> 
>> > xmllint has an --html option for that. That said...
>> 
>> you sure that it will give a warning if tag is not closed? Cause I do not
>> think so. In fact the --html option seems to correct those missing tags.
>> All together it's a good tool, but I do not know how it applies to html5
> 
> AFAIK it does HTML4.
> 
> HTML5 is a "living standard" [1], [2] which is an euphemism for "Apple,
> Google, Microsoft and, to a slowly dwindling extent Mozilla, will tell
> you what is supposed to work today".
> 
> The W3C consortium fought tooth and nail to fix a standard and lost.
> Whatwg (the above mentioned Big Guys) imposed
> 

so another one failure of opensource and free software

> Raph Levien called that, back then in 1998, "The decommoditization of
> protocols" [1]. A visionary.
> 
> Remember this old joke (around 1990)
> 
>   Q: How many Microsoft engineers does it take to screw in a light bulb?
>   A: None, they just define darkness as an industry standard.
> 
> Well, we arrived there.
> 

we are arriving in the middle ages - soon they start burning people alive or
send them to concentration camps for not believing in green energy,
Microsoft, Google or you name it. I just tried to find a video on ARTE that
I watched some time ago. Video was called "Umweltsünder E-Auto?"
They were forced to remove it :/ from their mediathek and from youtube







Re: HTML syntax.

2021-05-04 Thread tomas
On Mon, May 03, 2021 at 11:54:58PM +0200, deloptes wrote:
> to...@tuxteam.de wrote:
> 
> > xmllint has an --html option for that. That said...
> 
> you sure that it will give a warning if tag is not closed? Cause I do not
> think so. In fact the --html option seems to correct those missing tags.
> All together it's a good tool, but I do not know how it applies to html5

AFAIK it does HTML4.

HTML5 is a "living standard" [1], [2] which is an euphemism for "Apple,
Google, Microsoft and, to a slowly dwindling extent Mozilla, will tell
you what is supposed to work today".

The W3C consortium fought tooth and nail to fix a standard and lost.
Whatwg (the above mentioned Big Guys) imposed

Raph Levien called that, back then in 1998, "The decommoditization of
protocols" [1]. A visionary.

Remember this old joke (around 1990)

  Q: How many Microsoft engineers does it take to screw in a light bulb?
  A: None, they just define darkness as an industry standard. 

Well, we arrived there.

In a nutshell, no, I don't think libxml (which xmllint is part of) has the
resources to track this madness.

Cheers

[1] https://en.wikipedia.org/wiki/HTML5
[2] https://html.spec.whatwg.org/
[3] https://www.levien.com/free/decommoditizing.html

-- t


signature.asc
Description: Digital signature


Re: HTML syntax.

2021-05-03 Thread deloptes
to...@tuxteam.de wrote:

> xmllint has an --html option for that. That said...

you sure that it will give a warning if tag is not closed? Cause I do not
think so. In fact the --html option seems to correct those missing tags.
All together it's a good tool, but I do not know how it applies to html5



Re: HTML syntax.

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 08:50:52PM +0200, deloptes wrote:

[...]

> HTML is not strict XML - so it depends on the definition of the page (my
> knowledge is based on HTML2-4, but should apply to recent 5)
> So it means that you can omit closing tag (check w3c.org)
> 
> Regarding checking XML - there is xmllint, but again it is not exactly
> intended for HTML as it is not a strict language.

xmllint has an --html option for that. That said...

> You are most likely looking for a HTML validator from which there are 100
> online. 

...those will do, too.

Cheers
 - t


signature.asc
Description: Digital signature


Re: HTML syntax.

2021-05-03 Thread deloptes
pe...@easthope.ca wrote:

> Hi again,
> 
> Is there an editor which checks that HTML opening and closing tags are
> paired and nested properly.  An opening tag without matching close, a
> closing tag without matching open and crossed tags should be flagged
> by line number or color.
> 
> Preferably an editor with minimal overhead of installation and
> configuration.
> 

HTML is not strict XML - so it depends on the definition of the page (my
knowledge is based on HTML2-4, but should apply to recent 5)
So it means that you can omit closing tag (check w3c.org)

Regarding checking XML - there is xmllint, but again it is not exactly
intended for HTML as it is not a strict language.

You are most likely looking for a HTML validator from which there are 100
online. 





Re: HTML syntax.

2021-05-03 Thread mick crane

On 2021-05-03 16:44, pe...@easthope.ca wrote:

Hi again,

Is there an editor which checks that HTML opening and closing tags are
paired and nested properly.  An opening tag without matching close, a
closing tag without matching open and crossed tags should be flagged
by line number or color.

Preferably an editor with minimal overhead of installation and
configuration.

Thx,... P.

Tidy won't tell you what is wrong ( maybe in the options )
but will fix it for you.
mick
--
Key ID4BFEBB31



Re: HTML syntax.

2021-05-03 Thread tomas
On Mon, May 03, 2021 at 12:26:54PM -0400, Stefan Monnier wrote:
> > Is there an editor which checks that HTML opening and closing tags are 
> > paired and nested properly.  An opening tag without matching close, a 
> > closing tag without matching open and crossed tags should be flagged 
> > by line number or color.
> 
> Since Emacs's built-in `nxml-mode` does that, and Emacs is far from
> being the most popular HTML editor, I'd tend to assume that any editor
> worth its name provides that feature.

But not as well as Emacs does :-)

Cheers
 - t


signature.asc
Description: Digital signature


Re: HTML syntax.

2021-05-03 Thread Felix Miata
peter composed on 2021-05-03 08:44 (UTC-0700):

> Is there an editor which checks that HTML opening and closing tags are 
> paired and nested properly.  An opening tag without matching close, a 
> closing tag without matching open and crossed tags should be flagged 
> by line number or color.

> Preferably an editor with minimal overhead of installation and 
> configuration.
> 
No installation, no configuration:
https://validator.w3.org/nu/
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: HTML syntax.

2021-05-03 Thread Stefan Monnier
> Is there an editor which checks that HTML opening and closing tags are 
> paired and nested properly.  An opening tag without matching close, a 
> closing tag without matching open and crossed tags should be flagged 
> by line number or color.

Since Emacs's built-in `nxml-mode` does that, and Emacs is far from
being the most popular HTML editor, I'd tend to assume that any editor
worth its name provides that feature.


Stefan



Re: HTML syntax.

2021-05-03 Thread Dan Ritter
pe...@easthope.ca wrote: 
> Hi again,
> 
> Is there an editor which checks that HTML opening and closing tags are 
> paired and nested properly.  An opening tag without matching close, a 
> closing tag without matching open and crossed tags should be flagged 
> by line number or color.
> 
> Preferably an editor with minimal overhead of installation and 
> configuration.

The terms you want to feed to apt are 'html' and 'lint'.

A linter is a program that looks for lint: bits that aren't
quite right and should be fixed.

In this case I see that there are standalone linters that you
can run on your documents and modules that you can install in
some editors.

-dsr-