# MIME HTML (mhtml) encoding

**URL:** <https://www.ruby-forum.com/t/mime-html-mhtml-encoding/116047>\
**Category:** Ruby\
**Created:** [October 1, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/mime-html-mhtml-encoding/116047 "2007-10-01T22:09:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![McLaughlinS\_James\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@McLaughlinS\_James\_T](https://www.ruby-forum.com/u/McLaughlinS_James_T)\
**Post date:** [October 1, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/mime-html-mhtml-encoding/116047/1 "2007-10-01T22:09:47Z")

</div>

Greetings -

I need to take a web page, such as [Google](http://www.google.com/webhp) , and  
save it  
as an MHTML document I can then load into a browser (IE currently,  
Firefox  
doesn’t have MHT support) and view.

I have been looking and playing with some libraries to do this,  
(mime/multipart\_alternative\_lite) but have been unable to get the  
encoded  
images attached to the document.

Has anyone else done this or know of any libraries that might give me  
what I  
need?

Thanks!

Jamie
