04-23-2004, 10:00 PM
|
Executive Editor
Join Date: Aug 2006
Posts: 29,160
|
|
Updating Mobile Re-Direct Code
All Thoughts Media Web sites have code (written by Fabrizio of course!) that detects the incoming Web browser request and serves up either a desktop version of the site, or a mobile version, depending on the client requesting the page. Every so often we update the code to make sure we're addressing as many clients as possible. So here's what I'd like you do to: with your mobile device, visit the site you're reading this on. If you get re-directed to the mobile version, things are workings as they should. ;-) If you're using a Windows Mobile-based Pocket PC or Smartphone, you should be seeing the mobile site. If you're not, odds are you've done a registry hack to change the user agent
For users of other mobile devices, if you don't get re-directed to the mobile site, please go to this URL:
www.pocketpcthoughts.com/tools/ua.php
Record the user agent string it reports, then post it as a comment in this thread so we can add it to our code. Thanks for your help in improving our system!
|
|
|
|
|
04-23-2004, 10:17 PM
|
Pupil
Join Date: Apr 2004
Posts: 34
|
|
Jason-
This worked great! When will everybody else catch up to you!?
|
|
|
|
|
04-23-2004, 10:33 PM
|
Pontificator
Join Date: Aug 2006
Posts: 1,202
|
|
ops: Using a Clie UX-50 with Netfront 3.0 - I get the non-mobile site, here is the string:
Mozilla/4.0 (PDA;PalmOS/sony/modelprmr/Revision:1.1.54(en))NetFront/3.0
|
|
|
|
|
04-23-2004, 10:56 PM
|
Pupil
Join Date: Dec 2002
Posts: 45
|
|
Minimo is not redirected...
User agent string for minimo v0.1:
Code:
Mozilla/5.0 (X11; U; Linux armv5tel; rv:1.7a) Gecko/20040218
I don't really mind because the browser is very fast and displays the frontpage without having to scroll sideways.
|
|
|
|
|
04-23-2004, 11:43 PM
|
Ponderer
Join Date: Jul 2003
Posts: 89
|
|
lm using a SonyEricsson P900 with Opera as the web browser. The page is reformatted perfectly to fit the page but its the full version not the mobile.
Mozilla/4.1 (compatible; MSIE 5.0; Symbian OS) Opera 6.20 [en]
|
|
|
|
|
04-23-2004, 11:45 PM
|
Intellectual
Join Date: May 2002
Posts: 171
|
|
A T3 with WebPro and an iBook with Safari
The t3 responds as:
Mozilla/4.76 [en] (PalmOS; U; Webpro3.0;Palm-Arzl)
And and the iBook as:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1
|
|
|
|
|
04-24-2004, 03:47 AM
|
Neophyte
Join Date: Apr 2004
Posts: 2
|
|
Guys, there is already a system that does this, and much more and it is called ASP.NET. No sense in re-writing the wheel when you can leverage all this fully devleoped and tested code. PHP sucks anyway, php is a poor man's scripting language and any database admin worth a crap knows that MySQL is a joke of a database. It is like a little kid's version of a database. Anyway, just wanted to let you know. Step out of the 90's and get running with a real platform : ASP.NET.
|
|
|
|
|
04-24-2004, 04:13 AM
|
Pontificator
Join Date: Feb 2004
Posts: 1,097
|
|
Quote:
Originally Posted by williamstephens007
Guys, there is already a system that does this, and much more and it is called ASP.NET. No sense in re-writing the wheel when you can leverage all this fully devleoped and tested code. PHP sucks anyway, php is a poor man's scripting language and any database admin worth a crap knows that MySQL is a joke of a database. It is like a little kid's version of a database. Anyway, just wanted to let you know. Step out of the 90's and get running with a real platform : ASP.NET.
|
look he's only got one post and joined today
higly suspect but maybe just a coincidence
__________________
Please see www.grlt.com "Tech with a twist of lime!"
The Midlands Hybrid Club MidlandsHybrid.com
Current: Kacey's Wing, T-mo Wing Past: GCM_T, T-Mobile MDA
|
|
|
|
|
04-24-2004, 04:34 AM
|
Moderator
Join Date: Aug 2006
Posts: 6,878
|
|
Quote:
Originally Posted by ckacey
look he's only got one post and joined today
higly suspect but maybe just a coincidence
|
Please don't feed the troll... :wink:
Steve
__________________
"My eyes are rolling back in my head so far I can see my grey matter bubbling and frothing from reading this thread....bleh." JD
|
|
|
|
|
04-24-2004, 05:07 AM
|
Pontificator
Join Date: Feb 2004
Posts: 1,097
|
|
Quote:
Originally Posted by Steven Cedrone
Quote:
Originally Posted by ckacey
look he's only got one post and joined today
higly suspect but maybe just a coincidence
|
Please don't feed the troll... :wink:
Steve
|
k
edit:
do we have an emoticon for don't feed the troll
__________________
Please see www.grlt.com "Tech with a twist of lime!"
The Midlands Hybrid Club MidlandsHybrid.com
Current: Kacey's Wing, T-mo Wing Past: GCM_T, T-Mobile MDA
|
|
|
|
|
|
|
|