How to Dissasemble an mht File Into html and Images?

Discussion in 'HTML & Website Design' started by swoop, May 28, 2007.

  1. #1
    I went to Web20Generator.com and created a webpage template. I tried to save it to my local HD, then reopen and edit it.

    • If I Save As a "Webpage Complete" it doesn't look right when I reopen it.
    • If I Save As a mht file, it looks good when I re-open it.
    My question is, how do you dis-associate / disassemble / decompile an mht file into its html and jpg files?

    Thank you!
     
    swoop, May 28, 2007 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    .mht files are a notorious PITA because they add a lot of proprietary markup to the pages, rendering them nearly useless. They also use absolute link paths in the files to reference the original location of the image or script on the site to cut down on file sizes as well.

    Have you tried recreating the template, but right-clicking and selecting "View Source" in your browser before saving the HTML file?

    (I'm just asking because I've never been to that site before, preferring to "roll my own" code.)
     
    Dan Schulz, May 28, 2007 IP
  3. swoop

    swoop Active Member

    Messages:
    469
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Thank you, Dan. The webpage-creating website creates some graphics on the fly, and I'm unable to retrieve them (in particular, the "badge") as you would normally by putting that filename in the address bar of your browser.

    Since there seems to be no simple way to disassemble mhts, I'll have to try something else.
     
    swoop, May 30, 2007 IP