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

List:       konq-bugs
Subject:    [Bug 102265] nested kioslaves for archives
From:       Jos van den Oever <jos () vandenoever ! info>
Date:       2005-04-01 13:04:15
Message-ID: 20050401130415.6868.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=102265         




------- Additional Comments From jos vandenoever info  2005-04-01 15:04 -------
On 4/1/2005, "Thiago Macieira" <thiago kde org> wrote:
> ------- Additional Comments From thiago kde org  2005-04-01 13:01 -------
> > I ran the URIs through QUrl
> 
> Well, you can't do that. They are URIs, not URLs. Only the first one is supposed to \
> be a URL and should validate against all. That indicates a problem in QUrl \
> somewhere.


You're right, in Qt4 you can, but in Qt3 you can't. In Qt4 QUrl is
really a URI!
http://doc.trolltech.com/4.0/qurl.html#isValid

When using Qt4, all 3 URI's are seen as valid. It is beta software
though.

A nice example of nested URIs is the Active URI specification:
http://www.1060research-server-1.co.uk/docs/2.0.2/book/advdev/doc_guide_compoundURI.html
 http://www.1060research-server-1.co.uk/docs/2.0.2/book/introduction/doc_intro_concepts_requests.html
 The goal is not completely equal because the URI's are named and typed,
which isn't necessary for the kioslaves. The choice of separators there
is ' ' and '+'. Important remark: "In order to be valid a URI a
compound URI must be carefully escaped."

This format is similar to
multi:file:///home/me/file.zip,zip:/file.tar.gz,gzip,tar:/file.tar.bz2,bzip2,tar:/file.txt
 which, more generally formulated is
multi:{escapted_uri},{escaped_uri},...
I think this is the most elegant solution. One could argue about what
delimiter to use.
I'm in favor of the pipe.

Would it be possible to make a piping kioslave for KDE3? Instead of
starting from file:/home/user, you could then start from
'multi:file:/home/user'. In KDE4 one could then extend the behavior
such that the linked URI can be a multi: automatically, when needed.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs


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

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