Bug 123555 - In-browser automatic (X)HTML validation
Summary: In-browser automatic (X)HTML validation
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 159020 160898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-13 15:20 UTC by David Anderson
Modified: 2008-12-31 01:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Anderson 2006-03-13 15:20:36 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Fedora RPMs

This Firefox extension is very nice:

http://users.skynet.be/mgueury/mozilla/

It displays a small icon in the status bar to tell you whether or not the page had valid HTML. On hovering, you get more detail. On viewing source, you get tips and details.

This would be a useful extension to Konqueror for me and many others who develop web pages. At the moment you can validate in Konqueror by a manual process which redirects you to the w3 online validator, but this is rather long-winded if you make a lot of minor tweaks and just want to know if you broke something or not.
Comment 1 Bram Schoenmakers 2008-04-16 12:00:42 UTC
*** Bug 159020 has been marked as a duplicate of this bug. ***
Comment 2 Bram Schoenmakers 2008-04-16 12:00:51 UTC
*** Bug 160898 has been marked as a duplicate of this bug. ***
Comment 3 Pino Toscano 2008-12-29 19:24:15 UTC
SVN commit 903013 by pino:

When the current frame can be validated, show a status bar icon with the
validation controls.
When LibTidy is used, integrate the embedded validator and propose an internal
validation of the currently shown document (ie NOT using the online W3
validator, nor any other configured validator). After the check, the status bar
icon is changed into a errors+warnings count. Also add a very simple (at the
moment) view of errors and warnings found.
The look is not the best yet, but it's a start.
CCBUGS: 44272, 80509, 123555


 M  +5 -1      CMakeLists.txt  
 M  +217 -0    plugin_validators.cpp  
 M  +19 -0     plugin_validators.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=903013
Comment 4 xdmx 2008-12-29 20:11:17 UTC
Thanks Pino :)
Do you think that it will be hard to use both tidy and opensp ( http://openjade.sourceforge.net/ ) ? The last one is also the same used by the w3 validator
Comment 5 Pino Toscano 2008-12-29 21:53:30 UTC
(In reply to comment #4)
> Do you think that it will be hard to use both tidy and opensp (
> http://openjade.sourceforge.net/ ) ?

LibTidy is what I'm using for the embedded checker, yes.
Comment 6 Pino Toscano 2008-12-31 01:45:22 UTC
SVN commit 903609 by pino:

Add an option to automatically run the internal tidy validator after a wepage has been loaded correctly.
CCBUG: 123555


 M  +56 -29    internalvalidator.ui  
 M  +5 -0      plugin_validators.cpp  
 M  +3 -0      validators.kcfg  
 M  +2 -0      validatorsdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=903609