« Reminiscing... | Main | Laying Down the Law »

February 21, 2006

MS Office and HTML Documents (MacOS)

I wrote a perl script that produced a HTML file (.html). It opens in Firefox with a double-click. It would probably open in Safari except that Safari doesn't work properly (on the Intel iMac with tabs). It does not open in Microsoft Word, even when you select 'All Readable Documents'. This is because Microsoft (in their infinite lack of wisdom) have decreed that html documents have to have the extension .htm (as opposed to using the perfectly sensible built-in methods for determining file types).

Work Around: Rename the file with a .htm extension. It will still open in Firefox but can also be opened in Word.

Posted by Ozguru at February 21, 2006 06:00 AM