Version: (using KDE KDE 3.2.2) Installed from: Debian testing/unstable Packages Currently, the validator plugin seems to only direct you to the validator site's upload page if you scheme is "file:". Rather, for any page your are currently viewing, I'd like to say "Validate this by upload", and the plugin will stage the page in a local file, and then automatically upload it. Hopefully the web form for uploading is stable.
I would like it too. This is useful for testing something that is on something like http://localhost:8080
Yes - this is very useful for: a) When the webpage is dynamic, and we want to validate what the client has just downloaded. b)When the webpage is http://localhost/foo.php - in which case, the validator will fail. [If it is php rather than html, we can't use the file: scheme]
Hi, I spent the last few days on implementing this feature and wanted to file a patch when I hit this bug report. So, attached is a tar archive with my patch and the changed source files included. The patch adds w3c specific validation options to the configuration dialogue ( show source, verbose mode and exclude attributes ) and allows to directly validate local files and webpages which have a local ip ( either "localhost" or "127.0.0.*" as host part ) via a post request. Note: for the patch to work properly, the upload url in the configuration dialogue must be changed to the form action path, e.g. for w3c: http://validator.w3.org/check ( instead of http://validator.w3.org/file-upload.html ) What do you guys think ? Cheers, micha
Created attachment 12977 [details] Upload automation patch for konqueror validators plugin ( kde-3.4.3 )
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
SVN commit 903250 by pino: Add again the possibility to validate the markup by upload, this time by uploading directly the page content, thus always working. This hopefully solves the problem of the validation by content with the remote W3 validator. BUG: 44272 CCBUG: 80509 M +43 -1 plugin_validators.cpp M +4 -0 plugin_validators.h WebSVN link: http://websvn.kde.org/?view=rev&revision=903250