Notices


Reply
Thread Tools
Posts: 15 | Thanked: 6 times | Joined on Jun 2010
#1
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.

Last edited by samualwalters; 2010-08-08 at 14:34.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#2
What's .mht?
Offline web pages are .html or .htm (for MS-DOS).
Do you really mean .mht?
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#3
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
 

The Following 2 Users Say Thank You to Blaizzen For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#4
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/
__________________
Ernesto de Bernardis

 

The Following 2 Users Say Thank You to debernardis For This Useful Post:
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#5
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
 
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#6
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
 

The Following User Says Thank You to Blaizzen For This Useful Post:
Posts: 15 | Thanked: 6 times | Joined on Jun 2010
#7
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.

Last edited by samualwalters; 2010-08-08 at 15:47.
 

The Following User Says Thank You to samualwalters For This Useful Post:
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#8
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.
__________________

SLN member # 009
 
Posts: 15 | Thanked: 6 times | Joined on Jun 2010
#9
Originally Posted by YoDude View Post
or... save the page as a Webpage, complete (*.htm; *.html) with Windows IE and all the page elements will be saved to a directory.
I've done that with pages I capture once, then need permanent access to without updates.

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.

Last edited by samualwalters; 2010-08-08 at 18:40.
 
Bundyo's Avatar
Posts: 4,707 | Thanked: 4,643 times | Joined on Oct 2007 @ Bulgaria
#10
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.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:51.