Jump to content
Wikipedia The Free Encyclopedia

MHTML

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Billyoneal (talk | contribs) at 23:12, 2 August 2012 (See also: Removed irrelevant security advisory link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision .Revision as of 23:12, 2 August 2012 by Billyoneal (talk | contribs) (See also: Removed irrelevant security advisory link)
This article is about the mhtml webarchive format. For Mason file extension .mhtml, see Mason (Perl).
MHTML (MIME HTML)
Filename extension
.mht, .mhtml
Internet media type
multipart/related
Type of formatMarkup language
Extended fromHTML
Standard RFC 2557 (proposed 1999)

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. The content of an MHTML file is encoded as if it were an HTML e-mail message, using the MIME type multipart/related. The first part of the file is normally encoded HTML; subsequent parts are additional resources identified by their original URLs and encoded in base64. This format is sometimes referred to as MHT, after the suffix .mht given to such files by default when created by Microsoft Word, Internet Explorer, or Opera. MHTML is a proposed standard, circulated in a revised edition in 1999 as RFC 2557.

Browser support

This section relies excessively on references to primary sources . Please improve this section by adding secondary or tertiary sources.
Find sources: "MHTML" – news · newspapers · books · scholar · JSTOR
(August 2011) (Learn how and when to remove this message)
This section may contain an excessive amount of intricate detail that may interest only a particular audience. Please help by spinning off or relocating any relevant information, and removing excessive detail that may be against Wikipedia's inclusion policy. (August 2011) (Learn how and when to remove this message)


Some browsers support the MHTML format, either directly or through third-party extensions, but the process for saving a web page along with its resources as an MHTML file is not standardized. Due to this, a web page saved as an MHTML file using one browser may render differently on another.

Internet Explorer

Microsoft Internet Explorer was the first browser to support saving web pages with all their resources to a single MHTML file as of its version 5.0 released in 1999.

Opera

Support for saving a web page with its resources as an MHTML file was made available in the Opera 9.0 web browser.[1] In Opera 9.50, the default saving format for the "Save as" function is MHTML.

Firefox

Mozilla Firefox requires an extension to be installed to read and write MHT files. MAFF [1] and UnMHT [2] are examples. The MAFF and UnMHT extensions were formerly (in 2006) reported to have compatibility issues with opening files saved by them in Internet Explorer.[2]

Files that are totally compatible with Internet Explorer and other browsers are created by versions 0.14 and later of the maf extension.[3] [4] [5] Internet Explorer-created MHT files render perfectly, and rendering of the divergent Opera-created MHT files has been gradually improved.[3] [6] [5]
UnMHT (version 5.0.0 or greater) offers partial support for MHT files exported from Microsoft Office applications.

Although Firefox does not currently (v12.0) include support for MHTML without the use of add-ons, there is source code available for viewing MHTML files within the related Thunderbird project, indicating that future support in Mozilla software such as Firefox may become available without such add-ons. MHTML support has been filed as an unsolved issue within the Firefox project since 1999,[7] while progress in fixing it seems to be slow moving.

Safari

As of version 3.1.1 (released 2008年05月28日) onwards, Apple Inc.'s Safari web browser does not natively support the MHTML format. Instead, Safari supports the webarchive format, and the OS X version includes a print-to-PDF feature.

As with Firefox, a port of UnMHT is available for versions before Safari 5.[8] It is based on the SIMBL application enhancement loader[9] and GreaseKit.[10] Both the SIMBL and GreaseKit solutions must be loaded locally to use UnMHT. However, a sleeker single application called NinjaKit also supports .js scripts for Safari 5+ and can quickly install the same GreaseMonkey-supported files for earlier versions of Safari.

Konqueror

As of version 3.5.7 (released 2007年05月02日), KDE's Konqueror web browser does not support MHTML files. (There is a side project mhtconv that lets one use MHTML with Konqueror for both 3.x and 4.x KDE branches).

ACCESS NetFront

NetFront 3.4 (on devices such as the Sony Ericsson K850) can view and save MHTML files.

Google Chrome

Viewing and creating MHTML files in current versions of Google Chrome is supported by toggling the "Save Page as MHTML" option on the chrome://flags page. However, enabling this experimental option disables saving pages as HTML-only or HTML Complete files.

Editing support

All versions of Microsoft Word since Word 2002 can open and save MHTML documents.[11] [12] A converter is available from Microsoft to enable Word 2000 to open MHTML files,[13] and an add-on is available to allow it to save MHTML files.[14]

MHTML is also supported by Microsoft Office Viewers[15] [16] in Microsoft Word, Microsoft Publisher, Microsoft Excel, and Microsoft PowerPoint.[17] Microsoft's HTML editors, such as FrontPage, Expression Web, and SharePoint Designer, do not support editing MHTs.

A Windows application called Blocknote supports editing MHTs.[18]

On the Linux platform, a utility called kmhtConvert is available to convert MHTML files to the KDE Web Archive format.[19]

See also

References

  1. ^ Santambrogio, Claudio (10. March 2006). "...and one more weekly!". Opera Software . Retrieved 2009年05月15日. {{cite web}}: Check date values in: |date= (help)
  2. ^ gardenerstouch (August 12, 2006). "Feature Request: Support MS Web Archive Files". MozillaZine . Retrieved 2011年03月17日.
  3. ^ a b "maf.mozdev.org/changelog" . Retrieved 2011年03月17日.
  4. ^ "maf.mozdev.org/documentation" . Retrieved 2011年03月17日.
  5. ^ a b "maf.mozdev.org/screenshots" . Retrieved 2011年03月17日.
  6. ^ "maf.mozdev.org" . Retrieved 2011年03月17日.
  7. ^ Mozilla Firefox bug 18764
  8. ^ "UnMHT for Opera/Safari". UnMHT. 2008年06月05日. Retrieved 2009年05月10日.
  9. ^ "SIMBL". 2007年10月17日. Retrieved 2009年05月10日.
  10. ^ "greasekit". google . Retrieved 2009年05月10日.
  11. ^ "Convert legal documents to different word processing formats". Microsoft . Retrieved 2009年05月15日.
  12. ^ "Saving a document in a file format that cannot support specific features". Microsoft . Retrieved 2009年05月15日.
  13. ^ "WD2000: Microsoft Word-Webarchivkonverter for Word 2000". Microsoft. 5. August 2004. Retrieved 2009年05月15日. {{cite web}}: Check date values in: |date= (help)
  14. ^ "WD2000: Microsoft Office 2000 Web Archive Add-on Available". Microsoft. August 5, 2004. Retrieved 2009年05月15日.
  15. ^ "Download Details: Word Viewer 2003; Overview Section". Microsoft. 8/9/2005. Retrieved 2009年05月15日. {{cite web}}: Check date values in: |date= (help) [dead link ]
  16. ^ "Download Details: Word Viewer; Overview Section". Microsoft. 2007年09月26日. Retrieved 2009年05月15日.
  17. ^ "About single file Web pages (MHTML)". Microsoft . Retrieved 2009年05月15日.
  18. ^ "BlockNote.Net Features". BlockNote . Retrieved 2009年05月15日.
  19. ^ Spiros, Georgaras (Aug 7 2007). "kmhtConvert". KDE-apps. Retrieved 2009年05月15日. {{cite web}}: Check date values in: |date= (help)
  • Features
  • standards
  • protocols
Features
Web standards
Protocols
Active
Blink-based
Proprietary
FOSS
Gecko-based
WebKit-based
Multi-engine
Other
Discontinued
Blink-based
Gecko-based
MSHTML-based
WebKit-based
Other
Versions
Main
Other
Overview
Technologies
Software and engines
Implementations
Events
People
Microsoft Office
Windows
Mac
Applications
(list)
Desktop
Server
Mobile
Web
Discontinued
Technologies
Related

AltStyle によって変換されたページ (->オリジナル) /