|
Posted by Guy Macon on November 25, 2008, 9:10 am
Please log in for more thread options
Jonathan N. Little wrote:
show/hide quoted text
>Eric Lindsay wrote:
>> It is true with a URL like http://carlylegardensgnome.com/ that IE will
>> not display it, and offer to download. However in my tests with IE6 and
>> IE7, it appears each of these will display the page if the URL is in the
>> form http://carlylegardensgnome.com/index.html
>>
>You are just witnessing how IE incorrectly uses file extension rather
>than content type to identify content. It won't if your page include
>XHTML features. Insert a SVG or some MathXML and see what happens. Just
>don't go beyond the HTML subset...
I just tried it and http://carlylegardensgnome.com/index.html brought
up the usual "do you want to download" form. IE 6.0.2800.1106 SP1
running on Windows 2000 Advanced Server, .html file association set
to Notepad, as is often recommended for high security systems (IE works
fine, but if you click on a file in Windows Explorer with a .html
extension, you get it in notepad).
--
Guy Macon
show/hide quoted text
<http://www.GuyMacon.com/>
|
|
Posted by Eric Lindsay on November 25, 2008, 8:21 pm
Please log in for more thread options
show/hide quoted text
Guy Macon <http://www.GuyMacon.com/> wrote:
show/hide quoted text
> Jonathan N. Little wrote:
> >Eric Lindsay wrote:
> >> It is true with a URL like http://carlylegardensgnome.com/ that IE will
> >> not display it, and offer to download. However in my tests with IE6 and
> >> IE7, it appears each of these will display the page if the URL is in the
> >> form http://carlylegardensgnome.com/index.html
> >>
> >You are just witnessing how IE incorrectly uses file extension rather
> >than content type to identify content. It won't if your page include
> >XHTML features. Insert a SVG or some MathXML and see what happens. Just
> >don't go beyond the HTML subset...
>
> I just tried it and http://carlylegardensgnome.com/index.html brought
> up the usual "do you want to download" form. IE 6.0.2800.1106 SP1
> running on Windows 2000 Advanced Server, .html file association set
> to Notepad, as is often recommended for high security systems (IE works
> fine, but if you click on a file in Windows Explorer with a .html
> extension, you get it in notepad).
Thanks for testing. It seems from other comments that taking into
account the file extension applies only to Windows XP, and this
behaviour was fixed in later versions of Windows.
--
http://www.ericlindsay.com
|
|
Posted by Andreas Prilop on November 25, 2008, 5:18 am
Please log in for more thread options On Tue, 25 Nov 2008, Eric Lindsay wrote:
show/hide quoted text
> However in my tests with IE6 and
> IE7, it appears each of these will display the page if the URL is in the
> form http://carlylegardensgnome.com/index.html
Internet Explorer ignores the content-type as long as the "extension"
is .html. You might therefore choose *.x.html for your XHTML files.
--
¹ superscript 1 ¼ fraction 1/4 Ð D stroke ð d stroke
² superscript 2 ½ fraction 1/2 Þ Thorn þ thorn
³ superscript 3 ¾ fraction 3/4 Ý Y acute ý y acute
× multiply sign ¦ broken bar
|
|
Posted by Eric Lindsay on November 24, 2008, 7:22 pm
Please log in for more thread options
show/hide quoted text
>
> > How much trouble do you really encounter when you serve web pages as
> > application/xhtml+xml?
>
> IE shows a blank page.
No download prompt?
show/hide quoted text
>
> Current guesstimates have 80%+ of web users using IE - isn't the fact
> that the huge majority of the web-using public won't see your site
> trouble enough, without asking for more? :-)
Catering to IE is getting up my nose more and more. I was hoping IE7 and
IE8 would be better (and they are). Life would be a lot easier for me if
I only had to write valid Strict pages, and test them on a standard
browser. Not on two or three different versions of IE (that I don't have
anyhow).
I wonder what happens when Google caches my XHTML page? I am assuming
anyone finding my pages gets to them via search engine. Those test pages
are not the sort of thing anyone is going to bookmark for intensive
future use. So, will the cached page content show up, when Google serves
them as text? I am guessing that it will.
--
http://www.ericlindsay.com
|
|
Posted by dorayme on November 24, 2008, 7:38 pm
Please log in for more thread options In article
show/hide quoted text
> Catering to IE is getting up my nose more and more.
You and all of us, brother! But facts are facts. They are about 80% of
the world or more, so most of us have to worry about them. Tell you the
truth, hard to imagine this job without having to worry about IE at all.
If you do write valid mark up and ensure a few thigs about your doctype
and know just a handful of IE quirks, it is not as much work as some
people think.
As far as I can tell, the people who get into trouble are the ones that
have big creative eyes and small technical stomachs. In other words they
try over fancy stuff that they cannot really handle,
--
dorayme
|
| Similar Threads | Posted | | XHTML served as text/html considered harmless? | July 6, 2005, 3:04 pm |
| Web-page that *BOTH* changes current page + displays a Pop-up page from JavaScript | May 15, 2009, 1:53 pm |
| Need help creating a "Click absolutely ANYWHERE on this page" link for an HTML page with no content | February 7, 2007, 5:40 pm |
| Activating parent page link from 'child page' - revised | June 3, 2005, 11:30 am |
| referencing the index.html page from another page in the same directory | July 26, 2004, 12:48 am |
| extract page structure from page source? | September 19, 2006, 1:46 pm |
| how to make a link to an old page go to a new page without displaying anything | August 20, 2007, 3:08 am |
| Update a web page with contents from another web page. | January 8, 2005, 1:59 pm |
| I would like to sell my web page - You can run your own business with this web page! | June 6, 2007, 4:24 pm |
| I would like to sell my web page - You can run your own business with this web page! | June 8, 2007, 5:22 am |
|
>> It is true with a URL like http://carlylegardensgnome.com/ that IE will
>> not display it, and offer to download. However in my tests with IE6 and
>> IE7, it appears each of these will display the page if the URL is in the
>> form http://carlylegardensgnome.com/index.html
>>
>You are just witnessing how IE incorrectly uses file extension rather
>than content type to identify content. It won't if your page include
>XHTML features. Insert a SVG or some MathXML and see what happens. Just
>don't go beyond the HTML subset...