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

List:       kfm-devel
Subject:    RE: internet keywords - great!
From:       David Faure <David.Faure () cramersystems ! com>
Date:       1999-11-02 14:45:24
[Download RAW message or body]

> On Tue, 02 Nov 1999, Yves Arrouye wrote:
> > > [Great explanation of how KURL works.] ms to RFC 1738.  Perhaps
> > > your suggestion applies to kio more so than KURL ??  Well I should
stop and let
> > > you define what exactly you mean by registering ...
> > 
> > Dawit,
> > 
> > Thanks for your explanation. Yes, by registering I meant making a kio
> > slave available so that KURL knows (through KProtocolManager) what is
> > available. I was under the (incorrect I think) impression that you could
> > "add" a protocol dynamically w/o using a .desktop file.
> 
> I do not think this is possible without a .desktop file.  As 
> I understand it, it is possible to dynamically add new ioslaves as along
you 
> supply a .desktop file which is needed by KIO to recognize the service
(new 
> slave).  David can you confirm this please ??  I am not completely certain
how 
> KIO handles new additions to its ioslave handlers ...

There is a confusion here, it seems.

Since recently you can have KURL parse _any_ URL that is compliant to
the RFCs (at least the current implementation of them done in KURL),
even if you don't have a kioslave for that. As Simon explained,
that's because some apps use urls internally (he talked about
Magellan, I also saw this in the old koffice which used store://1 ...)

So you don't need a .desktop file to have KURL recognize and parse correctly
URLs.

BUT you need one if you want kio support for this protocol.
This is how you 'register' a kioslave (executable) to kiojob (library).

Hope this resolves the confusion.


[snip RFC stuff, I'm lost :)]

> > (Sorry, this discussion is not on KFM/Konqueror per se anymore.)
> 
> Well, it impacts konqueror ( well okay along with khelpcenter ) much more
than
> any other app so I think it is a valid place to discuss this.

Yes, indeed.
And this list has much less noise than others ;-)

--
David Faure
faure@kde.org - KDE developer
david@mandrakesoft.com - Mandrake
david.faure@cramersystems.com - Cramer Systems

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

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