RE: [WSG] Help with mobile MIME type always fails test

2010-04-19 Thread Spellacy, Michael
Funny this should come up as I felt like being fussy a couple of weeks
ago. If you happen to be building a site with dotNet (.NET) 2008 you can
override the server MIME type inline by adding the following to the
@Page directive:

contenttype="application/xhtml+xml"

This comes in handy if you have a mobile site living in the same
directory as your regular site.

I know this may not help you, Kevin, but maybe it will help
someone...someday. :-)

Michael "Spell" Spellacy
http://www.spellacy.net
@spellacy

> I am hoping someone can help me with a MIME for mobile sites problem I
am having.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Help with mobile MIME type always fails test

2010-04-17 Thread Phil Archer
I agree that serving XHTML with the text/html MIME type isn't a cardinal 
sin. Also, as ever, you need to work around IE which offers a download 
dialogue when given the (correct) application/xhtml+xml MIME type.


The good news is that IE9 /will/ support the XHTML MIME type (as well as 
SVG and more) so we might yet live in a world where cross-browser issues 
can be less dominant in developers' minds.


When devising the mobileOK tests (as implemented by mobiready and our 
own mobileOK checker http://validator.w3.org/mobile/) we wanted it to be 
possible to pass without scripting and/or server config. You'll get 
warnings, but not a fail condition.


HTH

Phil.

Andrew Harris wrote:

Well, well, well, you learn something new every day eh?

On Sat, Apr 17, 2010 at 9:47 AM,   wrote:

Just cancel on the login but load the page into the test site please to see the 
results.


I still couldn't get into a page, but it doesn't matter - I think I
see the problem.

According to dot-mobi: "For XHTML-MP, the recommended MIME type is
application/vnd.wap.xhtml+xml or application/xhtml+xml. Unlike HTML,
XHTML-MP should not be served as text/html."

Consequently the mobile site I maintain at: http://m.unimelb.edu.au
also generates a warning. On the other hand, I get the feeling it's
pretty much an 'edge case' as far as failure goes. Serving as
text/html isn't going to break many browsers. I suspect only most
primitive wap only browsers will fail to load the content. If you look
at dot-mobi's little graph, it indicates that such browsers are likely
to be on mobiles greater than 5 years old - pretty minor stuff given
that, if you're anything like our site, more than 95% of your mobile
traffic is going to be from Apple devices.

However, there's nothing wrong with being fussy, so getting you server
to use the correct MIME type will require you either getting into the
apache.conf file or using .htaccess to set the mime type for the file
extensions you're using. This can get tricky and will break things if
you don't know what you're doing. (I don't!)

In my case - using the MySource Matrix CMS, it's just a matter of
adding a line to the beginning of my mobile template, if you are
running a CMS you may have a similar setting. I'm going to leave that
until Monday when I've got time to back out of it if it causes
problems :-)



--


Phil Archer
W3C Open Media Web
http://www.w3.org/

http://philarcher.org
@philarcher1


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Help with mobile MIME type always fails test

2010-04-16 Thread Andrew Harris
Well, well, well, you learn something new every day eh?

On Sat, Apr 17, 2010 at 9:47 AM,   wrote:
> Just cancel on the login but load the page into the test site please to see 
> the results.

I still couldn't get into a page, but it doesn't matter - I think I
see the problem.

According to dot-mobi: "For XHTML-MP, the recommended MIME type is
application/vnd.wap.xhtml+xml or application/xhtml+xml. Unlike HTML,
XHTML-MP should not be served as text/html."

Consequently the mobile site I maintain at: http://m.unimelb.edu.au
also generates a warning. On the other hand, I get the feeling it's
pretty much an 'edge case' as far as failure goes. Serving as
text/html isn't going to break many browsers. I suspect only most
primitive wap only browsers will fail to load the content. If you look
at dot-mobi's little graph, it indicates that such browsers are likely
to be on mobiles greater than 5 years old - pretty minor stuff given
that, if you're anything like our site, more than 95% of your mobile
traffic is going to be from Apple devices.

However, there's nothing wrong with being fussy, so getting you server
to use the correct MIME type will require you either getting into the
apache.conf file or using .htaccess to set the mime type for the file
extensions you're using. This can get tricky and will break things if
you don't know what you're doing. (I don't!)

In my case - using the MySource Matrix CMS, it's just a matter of
adding a line to the beginning of my mobile template, if you are
running a CMS you may have a similar setting. I'm going to leave that
until Monday when I've got time to back out of it if it causes
problems :-)

-- 
Andrew Harris
and...@woowoowoo.com
http://www.woowoowoo.com

~~~ <*>< ~~~


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Help with mobile MIME type always fails test

2010-04-16 Thread kevin_erickson
Just cancel on the login but load the page into the test site please to see the 
results. Thanks
Sent on the Sprint® Now Network from my BlackBerry®

-Original Message-
From: Phil Archer 
Date: Fri, 16 Apr 2010 22:25:44 
To: 
Subject: Re: [WSG] Help with mobile MIME type always fails test

Kevin,

That's a password protected page so I can't see it.

Not sure what you man by the 'Mobile MIME type'. Can you elaborate please?

Phil.

Kevin Erickson wrote:
> Hello all,
> I am hoping someone can help me with a MIME for mobile sites problem I am
> having. I have a page,
> http://devel.virginiainteractive.org/demo/portalredesign2010/mobile/mobile_p
> ages/, that will not pass the test for mobile MIME type using the
> http://mobiready.com/launch.jsp mobile site tester. I have tested other big
> brand mobile sites for government and commercial and none seem to pass this
> either. Can someone please advise?
> 
> Thank you very much,
> Kevin 
> 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> ***
> 
> 

-- 


Phil Archer
W3C Open Media Web
http://www.w3.org/

http://philarcher.org
+44 (0)1473 434770


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] Help with mobile MIME type always fails test

2010-04-16 Thread kevin_erickson
Sorry. Meant to say hit CANCEL button and you should be able to see it. Thanks
Sent on the Sprint® Now Network from my BlackBerry®

-Original Message-
From: Phil Archer 
Date: Fri, 16 Apr 2010 22:25:44 
To: 
Subject: Re: [WSG] Help with mobile MIME type always fails test

Kevin,

That's a password protected page so I can't see it.

Not sure what you man by the 'Mobile MIME type'. Can you elaborate please?

Phil.

Kevin Erickson wrote:
> Hello all,
> I am hoping someone can help me with a MIME for mobile sites problem I am
> having. I have a page,
> http://devel.virginiainteractive.org/demo/portalredesign2010/mobile/mobile_p
> ages/, that will not pass the test for mobile MIME type using the
> http://mobiready.com/launch.jsp mobile site tester. I have tested other big
> brand mobile sites for government and commercial and none seem to pass this
> either. Can someone please advise?
> 
> Thank you very much,
> Kevin 
> 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> ***
> 
> 

-- 


Phil Archer
W3C Open Media Web
http://www.w3.org/

http://philarcher.org
+44 (0)1473 434770


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] Help with mobile MIME type always fails test

2010-04-16 Thread Phil Archer

Kevin,

That's a password protected page so I can't see it.

Not sure what you man by the 'Mobile MIME type'. Can you elaborate please?

Phil.

Kevin Erickson wrote:

Hello all,
I am hoping someone can help me with a MIME for mobile sites problem I am
having. I have a page,
http://devel.virginiainteractive.org/demo/portalredesign2010/mobile/mobile_p
ages/, that will not pass the test for mobile MIME type using the
http://mobiready.com/launch.jsp mobile site tester. I have tested other big
brand mobile sites for government and commercial and none seem to pass this
either. Can someone please advise?

Thank you very much,
Kevin 




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***




--


Phil Archer
W3C Open Media Web
http://www.w3.org/

http://philarcher.org
+44 (0)1473 434770


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



[WSG] Help with mobile MIME type always fails test

2010-04-16 Thread Kevin Erickson
Hello all,
I am hoping someone can help me with a MIME for mobile sites problem I am
having. I have a page,
http://devel.virginiainteractive.org/demo/portalredesign2010/mobile/mobile_p
ages/, that will not pass the test for mobile MIME type using the
http://mobiready.com/launch.jsp mobile site tester. I have tested other big
brand mobile sites for government and commercial and none seem to pass this
either. Can someone please advise?

Thank you very much,
Kevin 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***