![]() |
the browser doesn't know what an MHT file is -- what does?
The file manager has no associations for *.mht files. I tried forcing the web browser to open one, and I couldn't even get it to list mht files.
Are there any apps to view MHT files? I could not find anything in maemo.org downloads, but I'm thinking it has to exist.. it's pretty basic. It's hard to see the NIT not capable of offline webpages years after its release. I also did an 'apt-cache search mht' and nothing. |
Re: the browser doesn't know what an MHT file is -- what does?
What's .mht?
Offline web pages are .html or .htm (for MS-DOS). Do you really mean .mht? |
Re: the browser doesn't know what an MHT file is -- what does?
I thought it was an internet explorer only file, but reading wikipedia, there is a way to open it with firefox but you need an extension.Whether this extension works with the firefox on maemo, I'm not too sure sorry. Alternatively you may also try Opera as it should be capable of opening it too (but again, not sure about the maemo version)
http://en.wikipedia.org/wiki/MHTML |
Re: the browser doesn't know what an MHT file is -- what does?
EDIT: Blaizzen was quicker :)
http://en.wikipedia.org/wiki/MHTML "MHTML, short for MIME HTML, is a web page archive format used to combine resources that are typically represented by external links (such as images, Flash animations, Java applets, audio files) together with HTML code into a single file. " etc. etc. It's not supported by vanilla Firefox, though there's at least one extension which adds support for it: https://addons.mozilla.org/en-US/firefox/addon/8051/ |
Re: the browser doesn't know what an MHT file is -- what does?
It's a single file with all the downloaded html/css/js code and the images combined in one .mht file.
http://www.fileinfo.com/extension/mht For firefox on the desktop there is an extension available, you can find it here https://addons.mozilla.org/en-US/firefox/tag/MHT but I am not sure whether that'd work on your n900. Edit: Not the only one reacting at the same moment I see :D |
Re: the browser doesn't know what an MHT file is -- what does?
Test this with opera. It opened with mine but was a bit buggy. But at least it opens :)
http://www.fileformat.info/format/mi...e04/google.mht |
Re: the browser doesn't know what an MHT file is -- what does?
I first tried fennec, which turned out to be way too bloated for an n800. I had to clear off 27MB for it. Then it crawled.. the n800 just doesn't have enough cpu for it. And it also ran out of memory and forced a crash, even though it was the only app running. The unMHT plugin wasn't available for the same version of fennec that was available.. so I had to remove fennec.
I then tried Opera. It was a little more lean (15MB). Still had issues though. The file menu doesn't work (on both fennec and opera), so I had to get the file by putting "file://..." in the address bar. It was able to open the MHT file, but only in a small frame half the size of my screen (the rest of the opera window was left empty), and the scroll bars for the frame (which are very much needed) do not work, so there's no way to see more than the top left corner of the MHT content. It's not usable. But I appreciate the suggestions. [EDIT] I found a way to move the scrollbars for MHT content on opera. Tap and drag on the touchscreen does not work. The pointer must be moved around using the directional keys. When the pointer becomes a hand, then the center button can be used to tap the scrollbar to cause it to move. I can't put up with this on a regular basis, but perhaps I'll use it when I'm in a pinch. |
Re: the browser doesn't know what an MHT file is -- what does?
or... save the page as a Webpage, complete (*.htm; *.html) with Windows IE and all the page elements will be saved to a directory.
Move that saved "Whatever" directory along with the saved "Whatever.html" file to your device and click on "Whatever.html" from the file manager. You should now see the page as it should be in MicroB without a connection. |
Re: the browser doesn't know what an MHT file is -- what does?
Quote:
But that's a messy 6 step process for each page. It's too cumbersome when you're saving an itinerary or some other one-time-use information that you have loaded in your desktop browser that you'll need on the go, and you're often doing this before running out the door. And if it's content that I already have an MHT file for, it means more steps.. the desktop brower must load it, and resave it. It consumes double the space. Then deleting it means picking through a pile of files and folders to find the matching pair. Sometimes I print to postscript, and convert to PDF so it's one file (to avoid tarballing and untarballing). But this gives up the option to connect and tap links. |
Re: the browser doesn't know what an MHT file is -- what does?
The bad thing of a MHT archive is that the file paths are kept in it preserved as they were and are replaced on opening from the browser. This makes it very difficult for a proper support.
|
Re: the browser doesn't know what an MHT file is -- what does?
Quote:
v=HTML2 The theory of relative paths. :D |
Re: the browser doesn't know what an MHT file is -- what does?
Quote:
MHT is the most widely accepted format for offline pages. I wouldn't object to MAFF if there was better support for it. Last time I checked, the firefox MAFF plugin went obsolete, and only worked with FF version 1.0. |
Re: the browser doesn't know what an MHT file is -- what does?
Well, it may be a problem with IE but its also a part of the standard:
http://en.wikipedia.org/wiki/MHTML http://tools.ietf.org/html/rfc2557 |
Re: the browser doesn't know what an MHT file is -- what does?
Quote:
This is why you can open an MHT file, and all the links actually work seamlessly if you're online -- precisely how you would expect a good implementation of an offline page to work. I've worked with other offline web archive formats that broke the option to click on unsaved links - perhaps due to lack of absolute URIs. There's no reason why having absolute URIs in a file should complicate the support. The fact that MS can't handle it is a statement of MS, not the standard. The standard has ensured that well designed implementations can easily browse online from an offline file, and rightly so. I wouldn't have it differently. Moreover, the standard actually allows for relative URIs (page 9 of RFC 2557), so that captured objects can have a relative reference. This makes it possible for the offline objects to be loaded, while the links deeper than the offline page goes can be used to retrieve online content. |
| All times are GMT. The time now is 07:36. |
vBulletin® Version 3.8.8