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

List:       kfm-devel
Subject:    Re: Intergrating mht file to konqueror
From:       Thiago Macieira <thiago.macieira () kdemail ! net>
Date:       2004-11-07 12:37:22
Message-ID: 200411071037.30172.thiago.macieira () kdemail ! net
[Download RAW message or body]


Leo Savernik wrote:
>> But if for mhtml we have, according to the type:
>> 'text/html' --> index.html
>> 'application/xml' --> index.xml
>> 'application/xhtml+xml' --> index.xml
>
>Should be index.xhtml
>
>> unrecognized --> / with serviceType 'inode/directory'
>>

I have two ideas:

1) treat kio_mhtml as a container-like protocol, just like kio_tar and 
kio_zip. In that case, it is a T_FILESYSTEM protocol and will always 
return a file listing for listDir("/"). Konqueror will see that one file 
is called "index.html" or "index.xhtml" and decide to open it on its own, 
just as it does with normal files.

The question is: does Konqueror automatically open index.html for 
protocols other than kio_file?

2) treat kio_mhtml like a remote protocol, like kio_ftp. When Konqueror 
sends get("/"), kio_mhtml will send back a redirection to /index.html 
or /index.xhtml.

The questions are: when does Konqueror send listDir("/") or get("/")? How 
do we get a directory listing?

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #3 (application/pgp-signature)]

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

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