Open bibimbop opened 11 years ago
I don't find it onerous to use the w3c validator (suggested workflow step 34, which could use a little elaboration). Validate by upload; you get a list of problems with line numbers; working from the end back (so line numbers remain constant under editing) you key the line number into the line number widget, fix a problem; repeat.
I can maybe imagine a button on the HTML Preview panel that automatically runs the w3c validator for you and shows the results in the Preview panel itself. That would solve the problem of having a web browser open to w3c but obscured by the PPQT window, and to have to keep clicking back and forth between browser to read error messages, and PPQT to fix them. How would that suit?
Using the w3c needs internet access. Using tidy does not. So far not a problem for me though. A button would certainly help. Still, helping to find errors in a valid document would help.
Ensure that the html is correct. Similar to what the w3c validator does. That wouldn't prevent its use, but it helps to get a clean html before submitting.
An extension would be to add some sanity checks. I wrote a PP tool that tries to find mistakes in a valid html (such as mis-ordered pages, missing language tags, missing links/anchors, ...). It use lxml + cssvalidator.