Can I use a MIME type declaration to get an HTML file to open in MS Word?
Posted
by Toph
on Stack Overflow
See other posts from Stack Overflow
or by Toph
Published on 2010-06-15T17:00:18Z
Indexed on
2010/06/15
17:02 UTC
Read the original article
Hit count: 635
Bill James wrote:
I was able to render an HTML page with the MIME type set to "application/msword", which caused the browser to spawn Word which imported the html just fine, allowing edits and saving just as if I'd output a real Word doc.
That sounds great to me, but I haven't been able to get it to work in any browser (Chrome/FF/Safari/Opera/IE on Win7 running Word 2010 beta). I tried changing the MIME type in the HTTP headers of several pages via Tamper Data to application/msword
, and I tried using the http-equiv meta tag <meta http-equiv="Content-type" content="application/msword">
on a local HTML file I tried opening from the browser, but neither appeared to have any effect.
I don't really have a clue with regard to HTTP headers and MIME types generally, so - any tips? Many thanks!
© Stack Overflow or respective owner