Questions tagged [mhtml]

MHTML, MIME-HTML, is a webpage format that can combine different resources, such as text, images, flash, audio or much more in one file.

In MHTML, the combination of resources such as text, images, flash, etc. can be achieved on through the use of MIME multipart/related content type.

MHTML defines the naming of objects that are normally referred to by URLs and the means of aggregating resources that go together. Two MIME headers, Content-Location and Content-Base, are defined in order to resolve references to other content stored locally in related body parts. Content-Base gives an absolute URL base, or "starting point",for relative URLs that appear in other MIME headers and in HTML documents that do not contain any BASE HTML elements. Content-Location specifies the URL that corresponds to the content of the body part that contains this header.

MHTML is commonly used in emails.


Resources :

172 questions
1
vote
1 answer

Asp.net how to convert HTML page to mht with .net?

Possible Duplicate: Generating MHTML from HTML I need to convert html page to mht format with c# .net is there any .net library for this? I need any lib whether its free or not
ToDayIsNow
  • 1,137
  • 1
  • 11
  • 13
1
vote
1 answer

Convert docx/pptx to MHTML in pura java

I am struggling to convert word documents and power point presentations to convert to HTML/MHTML pages. I am able to convert docs to html using docx4j but it comes out as distorted and creates images etc as separate files (standard HTML). I have a…
Sourabh Girdhar
  • 161
  • 1
  • 1
  • 6
1
vote
1 answer

Convert mht to image C#

hay all. we are using 'AxWebBrowser' to convert html to images but when we are using it to convert mht we get the scrollers bars in the images, can anyone tells us how to remove the scrollers ? how about the webBrowser on the .net frame works is it…
guyl
  • 2,158
  • 4
  • 32
  • 58
1
vote
1 answer

How can handle click on audio link saved with .mht format in android studio webview?

I'm a beginner in android programming and I have a problem.I have a webview in my layout that load a remote web page and I saved that with "webView.saveWebArchive(file.getAbsolutePath());" method, this page have multi audio link that click on it…
1
vote
0 answers

How to archive webpages in mhtml format?

How can I archive webpages for offline viewing on Android? What Im trying to achieve is the following: User enters a URL. Loader dialog pops up. The webpage and its resources are downloaded and archived in mht format. Loader dialog is…
Shatazone
  • 2,422
  • 6
  • 28
  • 38
1
vote
3 answers

Convert MHTML to HTML using C#

I was tasked to embed a mHtml into an email body. The issue is that mhtml is not a normal html file so I cannot embed it directly to the email. How can I do to convert the mhtml into a html file? Thanks
1
vote
1 answer

Convert .html files to .mhtml using Java API

I have some generated .html reports in a folder and want to convert multiple .html, .css, .js and image files into one report.mhtml file so that single file can be accessed as a web service. Is there any Java API to convert the folder of .html files…
Syed Rafi
  • 825
  • 2
  • 12
  • 35
1
vote
0 answers

When an mht file is opened in IE11 , mode is getting changed IE7(default)

Any .mht file opened using IE11, the mode is getting changed to default IE 7(this has been observed using F12-> Developer Tools). This problem exists with only IE11, I have tried in IE9 and .mht files are working fine. 1. Is this a known issue? 2.…
1
vote
0 answers

how to show string in mhtml format in a webview?

I have a string which contains the contents of a web page in mhtml format. Now I want to display this web page in a Webview for Android devices: String str = "..."; // this is the mhtml document webView.loadData(str,"text/html",null); But this…
1
vote
1 answer

Rendering MHT on Iphone

I have seen a few threads about SSRS reports not displaying correctly on IPhones. I have one display as best as possible on a phone, however the attachment icon floats at the bottom. I believe this is because the native I phone e-mail app doesn't…
JQuery
  • 889
  • 3
  • 13
  • 35
1
vote
0 answers

Excel - publishing pivot charts to mhtml

I'm hoping someone can help with the below please.... I have created several excel dashboards across multiple sheets in the same workbook, each dashboard contains several pivot charts. I am trying to export each dashboard into a mhtml file with…
1
vote
0 answers

Show MHTML content with CSS-styled negative margin in WebBrowser

My application receives MHTML content from external service and displays it. Some elements in MHTML are styled via CSS and have negative margin, like this one: WebBrowser,…
Dennis
  • 37,026
  • 10
  • 82
  • 150
1
vote
1 answer

How to create MHT or PDF file from a website in iOS?

I have a website's URL and want to save its content as MHT file, if not possible then can be as a PDF file. I found a library which is not free ( for 1 year $289) http://www.chilkatsoft.com/mht-features.asp I know that safari doesnt support MHT file…
ertan2002
  • 1,458
  • 1
  • 32
  • 68
1
vote
1 answer

HTML mht doesn't render well on ajax call?

I have a file (viewdoc) which writes a .mht file to the screen. In my application I have two main divs: one for the menu (= treeview) and one div to display the .mht file (#documentContent). My menu calls a javascript function which performs an…
Martijn
  • 24,441
  • 60
  • 174
  • 261
1
vote
0 answers

mhtml displayed as plain text in browser

I am quite new to Perl and Mason. Please excuse me if you think my question here is trivial. There is a website that has been developed using the Mason framework. As per my knowledge, it only uses Apache, Perl (ModPerl), Mason and MySQL. I have the…
Amogh
  • 11
  • 1