| A little too much XML .Mobi site got 5/5 rating on validation but doesnt work in browser |
r3nz0

msg:3250067 | 2:15 pm on Feb 12, 2007 (gmt 0) | Hey guys, Im just working on a .mobi version of an existing site. Now i got a 5/5 rating on [ready.mobi...] But, When i look in Firefox it renders as an XML file; and IE jumps into stress! These are my MIME types at the moment... those are recommended by the .mobi guys. application/xhtml+xml UTF-8 This is working correct on mobile phones.. The page source code starts with <?XML etc..?> , so its a logic problem imo but are there workarrounds to get it working in normal browsers?
|
sabai

msg:3251773 | 9:53 pm on Feb 13, 2007 (gmt 0) | I believe IE doesn't handle the xhtml header correctly because it doesn't actually understand xhtml & treats it as plain html. One workaround is to serve text/html content-type if the Accept request headers don't include xhtml... though this is obviously not ideal. Try googling for IE xhtml.
|
r3nz0

msg:3253238 | 11:13 am on Feb 15, 2007 (gmt 0) | Thnx, i found something; IE isn't supporting the application/xhtml+xml :( working on a dynamic mime-type system..
|
jtara

msg:3254602 | 4:31 pm on Feb 16, 2007 (gmt 0) | You will need to do browser detection, and serve an alternative page, if you want it to work on PC browsers. As a practical matter, you need to do browser detection, as well, to look good on a mobile device - right down to the specific model of phone. There are too many variations, and a small number of precious pixels, and you need to make the most of them. One problem that will be increasing is that there is an increasing number of phones with a horizontal-format screen.
|
r3nz0

msg:3256091 | 3:04 pm on Feb 18, 2007 (gmt 0) | Nice comment Jtara, I will develop to a system with detection. I will say to all other members: .mobi is hot. Have some good links and maybe you're .mobi will win of another domain.
|
|
|