Intergrating mht file to konqueror

Spiros Georgaras sngeorgaras at otenet.gr
Tue Oct 5 19:18:48 BST 2004


David Faure wrote:
> On Tuesday 05 October 2004 12:53, Spiros Georgaras wrote:
> > At this point, double-clicking a mht file gets a message that konqueror
> > does not handel this kind of file and the debug is
> > konqueror: WARNING: KonqFactory::createView : no factory
>
> Ah, it's trying to open kmailpart since the mimetype is message/rfc822....
> I guess that doesn't work (kmailpart wasn't really designed to be embedded
> into konqueror AFAIK).
>
> > And when I press <Ener> on 'mht:/d//292 Euro.mht/' or 'mht:/d//292
> > Euro.mht', I get the message that the file does not exist. (Or is this an
> > error of my ioslave?)
>
> Yes, implement stat().

I have made it to the point where I can display the contents of the file (what 
i really do is I display the html file contained in it)

What I cannot do is display the files contained in it - with  'mht:/d/292 
Euro.mht/' as url in konqueror. That is I cannot display them in the file 
browser.

Can it be done at this point? What should stat return when the path inside the 
mht file is "/"?




More information about the kfm-devel mailing list