How to open an html file from inside a zip?

Viewed 22071

Is there any way to open an html file from within a zip file which contains images the html references? I generate htmls with relative paths to resources and the browser won't find them in the zip file, I have to extract it first. Opening it from the zip would be ideal. Any way to do it?

4 Answers

As I know, only Firefox can do this via jar:file://c:/myfolder/myzip.zip!/index.html

  1. Falkon must enable the plugin for KDE-integration, that allows browsing a kio-slave with URLs like:

    zip:/home/user/path/to/archive.zip
    info:ls
    fish://benutzername@rechnername
    ...
    
  2. At least Firefox can do the trick for documentation and configuration pages that are packaged inside an addon-xpi-file which is also basically a zip-archive. But I don't know any way of providing an arbitrary zip in the location-bar.

  3. Eclipse can also point it's integrated browser to zipped java-doc.

Related