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

List:       kde-core-devel
Subject:    Re: slight change to "dropping links" on kdesktop
From:       Simon Hausmann <shaus () helios ! Med ! Uni-Magdeburg ! DE>
Date:       2000-05-30 9:38:46
[Download RAW message or body]



On Tue, 30 May 2000, David Faure wrote:

> On Mon, May 29, 2000 at 10:41:59PM -0400, pbrown@redhat.com wrote:
> > right now, when you drop a link from netscape or konqi on the desktop,
> > and select "link," you end up with a desktop file for that URL with a name
> > set to the URL.  What would be much cooler is if the name was set to the
> > actual title of the HTML page.
> > 
> > How bad would this be to implement?
> 
> Not too hard I think. But this requires changing the signature of
> bool KIO::link( const KURL::List &srcUrls, const KURL & destDir )
> so that you can specify the name of the destination link, since the
> default implementation is
> // The destination URL is the destination dir + the filename
> 
> A bit hard to do in the multiple-source-files case...

I really like that idea. But I wonder how this could be implemented from
the "title-of-the-HTML-page" side ? :) I mean: If you drag an link to a
html document, then you know the source url. But in order to get the
title, you have to read data from it and parse the html (at least the
first few bytes) .

Hmm, perhaps a popupmenu could ask the user if he/she wants KDE to
"examine the link source" ;-) , when dropping a link?

Just some random thoughts :)

Bye,
 Simon

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

Configure | About | News | Add a list | Sponsored by KoreLogic