[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: HTML Validator tool
From: Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date: 2000-07-02 13:56:27
[Download RAW message or body]
Simon Hausmann wrote:
>
> On Sun, 2 Jul 2000, Richard Moore wrote:
>
> > > > The plugin should apply to khtmlpart, of course, not to konqueror.
> > > >
> > > > How the plugin accesses the source of the current HTML view, that's what I'm
> > > > not sure of... but that's a khtml issue.
> > >
> > > Hmmm... you do not need the HTML source for this. You just need to give the
> > > the URL to the validator and it retreives and validates the page. This is
> > > unless of course the page is a local one. Then you would need to upload it
> > > and I do not think this is the intention of this feature or is it ? Richard
> > > did you think about local HTML files ?? It seems this would require an upload
> > > (POST) to work properly...
> >
> > I intend to have a look at how hard this would be to implement, it's
> > not high on my list of priorities though. As you say, to handle this
> > I'd need to use POST, which adds quite a lot of complexity to the code.
>
> BTW, if you want to make khtmlpart open an URL via post, then you just
> need to put your post data into the postData variable in the
> KParts::URLArgs structure, stuff it into the khtmlpart's browserextension
> and call openURL() :)
>
> KParts::URLArgs args = htmlpart->browserExtension()->urlArgs();
> args.postData = ....
> htmlpart->browserExtension()->setURLArgs( args );
> htmlpart->openURL( url );
Cool! I might add it after all, I thought it would be a lot harder.
Supporting this makes it much more useful to site developers.
Rich.
>
> Bye,
> Simon
--
Richard Moore rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/ richard@robocast.com
http://developer.kde.org/ rich@kde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic