[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: naming inconsistency in KURL
From:       Richard Moore <rich () kde ! org>
Date:       2000-05-31 13:57:47
[Download RAW message or body]

David Faure wrote:
> 
> On Wed, May 31, 2000 at 02:28:05PM +0100, Richard Moore wrote:
> > David Faure wrote:
> > >
> > > On Wed, May 31, 2000 at 08:22:04AM -0400, pbrown@redhat.com wrote:
> > > > On Tue, 30 May 2000, Kurt Granroth wrote:
> > > >
> > > > > The first
> > > > > >    * @return The complete URL.
> > > > >
> > > > > and the second
> > > > > >    * @return A human readable URL.
> > > >
> > > > I don't know what a human-readable URL is vs. the complete one.  This only
> > > > makes sense if you already understand the methods! :)
> > >
> > > If you used konqueror to do web browsing as it is now (which displays .prettyURL(),
> > > and if you used the 1.90 version (which displayed .url()) you would
> > > see a huge difference.
> > >
> > > What else is there to say ? One is the complete url, the other one is
> > > the human readable one, just as the docu states ;-)
> >
> > I think an example would be a good start. eg. if the url is something
> > like:
> > http://localhost:8080/test.cgi?test=hello%20world&name=fred
> >
> > What is the human readable version? I can think of several possible
> > answers.
> > http://localhost:8080/test.cgi
> > http://localhost:8080/test.cgi?test=hello world&name=fred
> This one.

Great, that's the best of the answers IMHO.

> 
> Think of it in konqueror's location bar: you want it nicely displayed
> (no unnecessary encodings), but you still want it complete and working,
> in case you hit Enter or edit it manually.

Definitely. You also want it like this so you can cut and paste it into
something else.

> 
> I stand corrected. The docu lacks an example :)

:-)

Rich.

> 
> --
> David FAURE
> david@mandrakesoft.com, faure@kde.org
> http://home.clara.net/faure/
> KDE, Making The Future of Computing Available Today

-- 
     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