The Fine Print: The following comments
are owned by whomever posted them.
( Reply )
|
Re: Tenor KIO-slave?
by Illissius on Thursday 14/Apr/2005, @08:28
|
I've always thought something like ftp://ftp.server.com/file.tar#tar:/file/inside/it would make sense -- taking a cue from the webpage.html#anchor-to-jump-to syntax. Don't know whether it would conflict with anything else, though.
|
[
Reply To This | View ]
|
Re: Tenor KIO-slave?
by Spy Hunter on Thursday 14/Apr/2005, @19:21
|
It would be great except that somebody might use anchors named tar: in their html file, and even possibly name their html file with a .tar extension. It would be hard to figure out what was meant in every situation.
|
[
Reply To This | View ]
|
|
Re: Tenor KIO-slave?
by James L on Thursday 14/Apr/2005, @08:38
|
It is actually, and honestly a very annoying/good thing (depending on what I want to do, which I don't expect KDE to be able to telepathically figure out) with my config is that it does show up as the opened tar file over ftp or http. (It's something I forget which under file types, show in embedded viewer as default I believe.)
And tar, gzip, bzip all already are piped through eachother. The tar kio-slave only handles uncompressed tar files (As of at least KDE 2.x, as I last recall looking. I doubt it would have changed), and the appropriate gzip/bzip kio-slave is used automatically.
Ie, tar://home/user/example.tar.gz is really tar://gzip://home/user/example.tar.gz (or something like that)
|
[
Reply To This | View ]
|
Re: Tenor KIO-slave?
by Spy Hunter on Thursday 14/Apr/2005, @12:23
|
Here's my proposal: stack the protocols at the beginning, using the username part of the standard URL format as the file path for the archive. I think this could be implemented with no changes to the KIO framework, all the work would be done in the new IOSlaves.
A simple one: open a zip file on an HTTP server.
zip:/@http://server/file
Open a bzip2 compressed tar file on an HTTP server
tar:/@bzip2:@http://server/file
A complex example: open a particular file in a passworded rar file through fish://.
rar:/rardir/rarfile:rarpass@fish://user:pass@server/file.
|
[
Reply To This | View ]
|
The Fine Print: The previous
comments are owned by whomever posted them.
( Reply )
|