Bug 44272 - validate html cache page
Summary: validate html cache page
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-23 15:33 UTC by S Nicolas
Modified: 2008-12-30 11:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S Nicolas 2002-06-23 15:18:29 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           konqueror
Version:           KDE 3.0.0 
Severity:          wishlist
Installed from:    Compiled From Sources
Compiler:          linux 2.4.16 from sources
OS:                Linux
OS/Compiler notes: gcc-2.95.3

Hello

I would like to add an item to the wishlist of the best browser in the world : 

I work with dynamic html pages (jspservlets) and I find something a little bit boring : I can't validate easily the dynamic web pages in konqueror because when I want to validate a dynamic html page konqueror asks for a URI validation. Of course sending the URI isn't a good mechanism for pages created from arguments extracted through a POST method for example. The validator doesn't pass any thing to the page and the web server can't create the page I want to see.

A simple solution would be to add a validator button : "send the cached version of that page" to the validator. Maybe this would be the most flexible and convenient way to work with konqueror.

It would be cool to add a small customizable filter in konqueror that sends the cache page file to the validator instead of the URI for some file extensions automticaly...

Steff

(Submitted via bugs.kde.org)
Comment 1 Bugs Kde Org 2003-03-28 21:23:23 UTC
I have a more general wish that Steff also might find useful: 
 
I would like to have a small light in the status bar that is gray if the webpage is not fully 
loaded, green if the displayed webpage conforms to any HTML-standard, yellow if the 
webpage almost conforms and red if there are serious errors. 
 
The test may simply be running the webpage through html-tidy and have tidy tell whether 
the page is OK or not. Warnings only may cause the yellow light. When clicking the light 
a new window will open with the output from tidy. 
 
Steff's idea of sending the webpage off to the validator is not usuable for me: I have to 
validate some pages that are secret (customer data) so validation must take place locally. 
Also it is important for me to know that each and every page validates and it is very 
cumbersome to run the validator for each page. Therefore an automatic local validation of 
every page will be very useful. 
 
 
Comment 2 Pino Toscano 2008-12-29 19:04:58 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 3 Pino Toscano 2008-12-30 11:17:02 UTC
@comment #1:
your request is more bug #123555.
Comment 4 Pino Toscano 2008-12-30 11:24:02 UTC
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