Summary: | validator plugin needs upload automation | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | John Belmonte <john> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | pino |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Upload automation patch for konqueror validators plugin ( kde-3.4.3 ) |
Description
John Belmonte
2004-04-27 21:49:45 UTC
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 |