Does any one know where to find a script which will detect that you are running a wireless device and send you to a place on your site made for a wireless device? Or how to go about making one?
| SitePoint Sponsor |
Does any one know where to find a script which will detect that you are running a wireless device and send you to a place on your site made for a wireless device? Or how to go about making one?





Bryan, I searched for the script you needed but couldn't find the type of redirection that you need 'Web Page-->WAP Page'...
BUT I found a few sites that have tutorials, tips, discussion, tools and even a 'Free WML editor' that may help you with this script and more...
"Anywhere You Go" for tutorials, references, tools and...
These are from WAP Drive "WAP Tutorial" & "WAP Tutorial, WML Editor, News"
Dlynn :: SitePoint Senior Advisor ::
PawPrint Designs by WebKat
"Dogs come when they're called; Cats take a message and get back to you later." ~ Mary Bly



Alas, automatic redirection for WAP on the same URL mysite.com, can't be done with usual things like JavaScript or such.
But there's a solution ! ASP.
Check http://www.coveryourasp.com , i saw a little source code there that had browser detection as an header: it detects the type of browser that the client is using: Mozilla (for IE, or Netscape), Opera, or others. "Others" is typically used for search engine robots indexing your website. But with the same structure you can add a line to detect the WAP browsers if you know their "true" names.
Unfortunately, i don't remember where on this site i found the info. It was about databases. Oh well.
Thanks for your reply. I know that it can be done and probably is done in javascript. My problem is that I don't know the headers that the phone browsers use.
Does anyone know which phone and browser type is the most popular, I guess I create one using only the most popular phone and browser.



http://www.coveryourasp.com/MetaTags.asp
This is where i found the little redirecion thingie, that can be modified to fit your needs.
One of the headers of phone browsers is "UP.B".
If you want to know all the headers (there mustn't be dozens of them, though), check:
http://www.phone.com
and websites of mobile phone vendors, such as
http://www.nokia.com
http://www.ericsson.com
and others.
I'm pretty new to this WAP stuff too, so my advice are not the best, but i hope i was helpful on this one![]()
Thanks for your help. Does anyone think that I alot of time should be spent on creating a WAP site? If not, why?
Bookmarks