Msg#: 4107991 posted 4:05 am on Apr 1, 2010 (gmt 0)
How can I get firefox to treat a file with .aspx extension as an HTML file instead of XML ?
Long version of question: I have crawled an .aspx website using WinHTTTrack. When Firefox displays the pages, it tries to render them as XML and fails on simple lines like <META=....> as they are not valid XML.
Welcome to WebmasterWorld webdev21 :) The best way (but not the easiest) is to run a local web server such as Apache on your local machine, and access the files served by Apache rather than opening the files directly. You can configure Apache to parse .aspx files as HTML.
If you don't have any of Microsoft's .NET tools you can also probably change the default mine type for .aspx for your local machine only, so that all programs will treat that extension the same as .html.