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

List:       kfm-devel
Subject:    Re: web archive in konq
From:       Andreas Schlapbach <schlpbch () bluewin ! ch>
Date:       2001-06-19 13:36:53
[Download RAW message or body]

On Tuesday 19 June 2001 14:03, David Faure wrote:
> On Tuesday 19 June 2001 14:37, Malte Starostik wrote:
> > On Dienstag, 19. Juni 2001 14:20, Dawit Alemayehu wrote:
> > > On Tuesday 19 June 2001 07:08, Malte Starostik wrote:
> > > > Hi,
> > > >
> > > > I've written a small preview plugin for the web archiver konq-plugin
> > > > in kdeaddons. To make it work, the plugin generates the archive as
> > > > .war and I put a x-webarchive.desktop file so that .war is recognized
> > > > as application/x-webarchive and the thumbnail ioslave will handle it.
> > > > So far so good. The problem however is that now konq asks what to
> > > > open the file with when I click on it (it's a gzipped tarball).
> > > > Ideally it should open it with khtml as tar:/foobar.war/index.html.
> > > > If it continued recognizing it as a tarball would be nice too, so one
> > > > can browse it. Is there any way to achieve this via a .desktop file?
>
> This is currently hardcoded in konq, see the code below
>   //////////// Tar files support
> in
> bool KonqMainWindow::openView( QString serviceType, const KURL &_url,
> KonqView *childView, KonqOpenURLRequest req )
>
> Sorry, never found time to implement a more generic solution for this.

So I've to hack there?

MeTz just came up with another approach: Opening with tgz and then use <open 
with index.html>

Can this somehow been expressed in a .desktop file?

Andreas

P.S: Make war not love.

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

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