.mht Support

I’ve recently discovered the joys of both Scrivener and of Opera’s .mht format. Downloading web archives for later perusal is handy.

Unfortunately, if I want to be able to use the archive in Scrivener, I’d have to save it with Safari, which then wouldn’t be openable in Opera. I don’t care much for Safari.

So, sorry if this has already been requested/dismissed and I missed it in my search, but I’d be elated to be able to use .mht with Scrivener. (Or am I missing a workaround?)

:slight_smile:

I’m afraid I have to rely on the WebKit, which Safari is built on, which is why Scrivener can only support the Safari .webarchive format…
All the best,
Keith

Ah, well. I figured it couldn’t hurt to ask. :slight_smile:

hugs

-'Dee

EDIT: Oh, and I found a workaround that’s not too much trouble (although I’ll have to buy a program for it). This leaves all my nice web archives organized as I like, and makes a folder of the HTML versions of the MHT files.

  1. Save all MHT files folders as you want them organized.
  2. Open File Juicer. (Has a 7-day fully functional trial; costs $17.95.)
  3. Open File Juicer’s Preferences (Command-comma).
    4a. In the “Formats” tab, click “Uncheck All”.
    4b. Check the box for “HTML”. (Middle column, last entry.)
    5a. In the “Results” tab, “Save found files in a folder:” B, “Next to the juiced files”.
    5b. Uncheck “Organize found files in folders for each format”
  4. Close Preferences and return to folder of MHT files that you want organized.
  5. Select all MHT files in that folder and drag them onto the box in the Juicer. (You’ll see the green circle with a white plus sign in the middle of it, and your pointer will be the pointing hand.)
  6. In the folder that automatically opens, containing all the HTML files, notice the two files named “URLs.urls”. (One is html; one is txt.) I personally delete both.
  7. Change the name of the folder that’s holding the HTML files to “_HTML” or whatever you want to use for those.

To repeat for another folder, return to step 7.

Hallo,

Coming from the Windows Scrivener side, I would like to renew the wish to include and preview MHT-files in the research folder of the binder.

Since it is the most convenient way saving websites locally on a PC using OPERA, INTERNET EXPLORER and FIREFOX (there is a special FF plugin available handling MHT-Files), I have done my internet research over the past decade with MHT-files.

The MHT-file does include all relevant texts, pictures etc contained in an website.

Thanks for your kind consideration.

silfida

YES! Please make .MHTML support happen.

Google Chrome now has .MHTML file saving capability (finally!)

Here is how you enable saving files as .MHTML “archive” in Google Chrome:
tagspaces.org/mhtml-saving-chrome/

No idea why Google just can’t bring themselves to enable full read/write .MHTML support out of the box.

This is such an old concept…it’s too easy.
Guess they don’t want you to save copies of webpages locally?
That would be my guess.

IE invented it and the original Opera followed. Smart…

Things vanish off the web constantly. You can’t depend on the Wayback Machine site either. Even for recent webpages. Had a page from 2013 vanish, Wayback did not have all of it.
Luckily, I saved it myself back in 2013…locally on my hard drive.
It was a website about an important Adobe block building method that is rare.
Without .MHTML save capability…I would not have this info.

I personally use the Mozilla MAF plugin for Firefox to save pages as .MHT or .MAFF
maf.mozdev.org/
addons.mozilla.org/en-US/firefo … ve-format/

Scrivener shows my saved .MHT files as a clickable link that opens in my browser.
Would like them to show as thumbnails, then open natively.
Just like pictures/images do now on the index cards.

Webkit should be able to do this at this point?

Well to be clear, on Windows the situation is slightly different, whereas Keith is referring to the Mac. On Windows, we cannot support MHT display right now (even though we do support it as an import format) because the display toolkit doesn’t support it. However we are in the process of upgrading the toolkit (this is a major job) and one result of that will be native MHT support. That has always been the plan, we probably never would have added support for importing MHT if we did not intend to one day support display of it… on Windows.

Mac is another thing entirely. Whether or not MHT gets native display support some day is all down to whether or not Apple decides to support it, or if there is a high quality MHT library that could be used, I suppose. I’m not aware of anything though, just a Quick Look plug-in.

AWESOME!
Glad to hear .MHT support is in the pipeline.

Hallo,

Still using the Windows version of Scrivener, just would like to follow up the request to preview *.mht files in the internal Scrivener windows.

Until version 1.6, it was possible to import websites / URLs as Dynamic Web into the Scrivener research directory - and preview it internally in the Scrivener windows.

With version 1.8, this option has gone - and in addition, it is even no longer able to preview websites (URLs) in the Scrivener windows.

As I have learnt that for the Mac version, it is also possible to import the Google calendar as Dynamic Website and use it as timeline equivalent within Scrivener.

Did I miss something with the new Windows Scrivener version - it would really hinder my workflow to open each and every saved web file in an external editor rsp browser?

Thanks for your kind help & best regards

silfida

Fortunately still able! Scrivener does protect the binder from dynamic external content. But you can drag your browser’s address bar icon into Document References or Project References, from which you’ll be able to preview the web site in Scriv’s editor panes.

Also, more advanced, you can create a local html file with a meta refresh to a web site, then drag the file into the binder’s Research section. Or just maintain a set of web links in that local file. They’ll open in the Scriv pane if they’re within the limited capabilities of the preview engine.

Rgds – Jerome

Hallo Jerome,

Thanks for your reply - I am on Windows version Scrivener 1.9.6.0. Just to clarify:

When dragging the web icon (left from the browser address field) into the Scrivener window, I am getting following options; so which have I to select to see the URL / website in the internal Scrivener browser:

Scrivener new version - import option.jpg

In Scrivener version 1.6, following import options were offered; selecting “Dynamic Web (embedded browser)” produced a dynamic web page which was shown in the internal Scrivener browser:

Scrivener old version - import option.jpg

So in the new version, what option have I to choose to get a viewable / dynamic website in the Scrivener window?

Thanks again for your help & warm regards

silfida

Hi Silfada

I was suggesting that if you drag your URL link into Document References, you can still view the web site in the Scrivener editor pane. Not quite same as before, but still usable.

docrefs1a.png

Right click to open in current editor:

docrefs2a.png

Rgds – Jerome