Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 06:50 PM
Carla
Guest
 
Posts: n/a
Default How to redirect web page to handheld devices?

Is there a way for my website to redirect handheld and mobile browsers
to another set of pages that are optimized for mobile/tiny browsers?
I've seen this done but I couldn't find any sign of a redirect in the
html.

I've looked for information about this in usenet archives, but to no
avail.

Thanks very much for any help in advance!
  #2  
Old July 20th, 2005, 06:50 PM
Michael Wilcox
Guest
 
Posts: n/a
Default Re: How to redirect web page to handheld devices?

Carla <carlatec@hotmail.com> wrote:[color=blue]
> Is there a way for my website to redirect handheld and mobile browsers
> to another set of pages that are optimized for mobile/tiny browsers?[/color]

The best way is to create a structurally logical page with the proper,
current, and valid HTML. A PDA should display this just fine.
--
Michael Wilcox
mjwilco at yahoo dot com
Essential Tools for the Web Developer - http://mikewilcox.t35.com


  #3  
Old July 20th, 2005, 06:50 PM
Craig Phillips
Guest
 
Posts: n/a
Default Re: How to redirect web page to handheld devices?

carlatec@hotmail.com (Carla) wrote in message news:<1e209d80.0402261548.29ca61ff@posting.google. com>...[color=blue]
> Is there a way for my website to redirect handheld and mobile browsers
> to another set of pages that are optimized for mobile/tiny browsers?[/color]

If you really want to do this then you will have to parse the
User-Agents of the incoming requests and then serve the appropriate
pages. Or you could use dynamically built pages dependant on
User-Agent.

Have a look at the specifications for UAProf (
www.openmobilealliance.org/ ) and CC/PP Processing (
http://www.w3.org/Mobile/CCPP/ ) as work is well underway for
tailoring content to specific devices. There are some Java API's
around for working with the UAProf and CC/PP spec:

http://jcp.org/aboutJava/communitypr...188/index.html.

http://jcp.org/aboutJava/communitypr...124/index.html.

http://sourceforge.net/mailarchive/f...?forum_id=9261
  #4  
Old July 20th, 2005, 06:50 PM
Stephen Poley
Guest
 
Posts: n/a
Default Re: How to redirect web page to handheld devices?

On Fri, 27 Feb 2004 00:32:21 GMT, "Michael Wilcox"
<mjwilcoDONTWANTSPAM@yahoo.com> wrote:
[color=blue]
>Carla <carlatec@hotmail.com> wrote:[color=green]
>> Is there a way for my website to redirect handheld and mobile browsers
>> to another set of pages that are optimized for mobile/tiny browsers?[/color]
>
>The best way is to create a structurally logical page with the proper,
>current, and valid HTML.[/color]

And with a flexible layout, of course: no fixed table widths or any
absolute length units.

And with a stylesheet using media type "handheld". This could, for
example, suppress certain decorative images.
[color=blue]
>A PDA should display this just fine.[/color]

I can (with difficulty) think of one or two cases where it might be
necessary to provide a separate page/subsite for a PDA, but offering the
user a link to get to it is much more reliable than trying to redirect
based on browser-sniffing.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles