[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Konqueror: Embedding of packed documents



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Donnerstag, 9. Januar 2003 07:56, Mark Purcell wrote:
> On Thu, 9 Jan 2003 10:40, Thomas Ritter wrote:
> > Am Mittwoch, 8. Januar 2003 21:29 schrieb David Pye:
> > > If it's gzipped, how can KDE/Konq etc know what is INSIDE the gzip
> > > without opening it? ie the mimetype will be the zip, not the pdf/ps
> > > file. So, it gets opened with Ark. I fail to see how else it could work
> > > to be honest.
> >
> > gzip is a streamable format, so finding out the mimetype gzip, unzipping
> > the first couple of bytes and finding out the mimetype for _that_ is not
> > even hard.
> > If you want this feature, use the Bug Tracking System of KDE to issue a
> > feature request. KDE Developers tend to adopt such thoughts ;)
>
> Actually this feature is already documented as being provided in KDE..
> The gzip kioslave description in 'Info Center' states that it will already
> behave in the desired fashion. I myself have wondered how you actually get
> this working.  Should we file a bug against the kioslave description as
> well?

Hm, it has something to do with the way the mimetypes treat files. It 
obviously gives ark more precedence over the ioslave...

Ralf
> Mark
>
>
> gzip
>
> gzip is a compression program
>
> The gzip kioslave is not directly usable, and is intended for use as a
> filter. For example, the tar kioslave can filter a file through the gzip
> kioslave, in order to display the contents of a tar.gz file directly in a
> Konqueror window.
>
> If you click on a file compressed with a gz extension in Konqueror, this
> kioslave is used to uncompress it and display it as a normal (uncompressed)
> file.
>
> If you are a developer, and would like to use the gzip filter, you can find
> documentation on using kioslaves at http://developer.kde.org
>
> See the manual: gzip.

- -- 
We're not a company, we just produce better code at less costs.
- --------------------------------------------------------------------
Ralf Nolden
nolden@kde.org

The K Desktop Environment       The KDevelop Project
http://www.kde.org              http://www.kdevelop.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+HSyvu0nKi+w1Ky8RAofaAJ4sneRd13R6bfdx28GIl5rhxTfjcwCeMOM+
rqUlPpHOKPST455ZZHqo/Xk=
=QSOX
-----END PGP SIGNATURE-----




Reply to: