homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Smartphone, Wireless, and Mobile Technologies
Forum Library, Charter, Moderators: bakedjake

Smartphone, Wireless, and Mobile Technologies Forum

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)

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.


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)

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)

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)

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)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Smartphone, Wireless, and Mobile Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved