Welcome to WebmasterWorld Guest from 23.20.10.127

Forum Moderators: bakedjake

Message Too Old, No Replies

A little too much XML

.Mobi site got 5/5 rating on validation but doesnt work in browser

     
2:15 pm on Feb 12, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 24, 2004
posts:91
votes: 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?

9:53 pm on Feb 13, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:June 21, 2003
posts:199
votes: 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.
11:13 am on Feb 15, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 24, 2004
posts:91
votes: 0


Thnx, i found something;

IE isn't supporting the application/xhtml+xml :(

working on a dynamic mime-type system..

4:31 pm on Feb 16, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 26, 2005
posts:3041
votes: 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.

3:04 pm on Feb 18, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 24, 2004
posts:91
votes: 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.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members