473,800 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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!
Jul 20 '05 #1
3 6109
Carla <ca******@hotma il.com> wrote:
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?


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
Jul 20 '05 #2
ca******@hotmai l.com (Carla) wrote in message news:<1e******* *************** ****@posting.go ogle.com>...
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?


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
Jul 20 '05 #3
On Fri, 27 Feb 2004 00:32:21 GMT, "Michael Wilcox"
<mj************ *****@yahoo.com > wrote:
Carla <ca******@hotma il.com> wrote:
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?
The best way is to create a structurally logical page with the proper,
current, and valid HTML.


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.
A PDA should display this just fine.


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/
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2419
by: boclair | last post by:
In a discussion between AJ Flavel and Spartanicus, The later said. "Layouts that work well on the desktop and on small screen devices are single column layouts. Layouts that use more than one column rarely work properly on a wide range of viewport widths. This also applies to "css" layouts that use separate "screen" and "handheld" stylesheets due to the poor support for the handheld media type and it's intrinsic limitations. The same...
3
2503
by: bissatch | last post by:
Hi, Is there anything online or downloadable that will allow me to preview my webpages on handheld devices such as PDA's and xhtml/wap2 mobile phones? Some kind of emulator service. I would really just like to be able to preview web pages in various devices. Cheers Burnsy
3
1450
by: David C. Holley | last post by:
Is it possible to run ASP on a handheld device? There's information on my website that I would like available on a portable device without connecting to the internet. Basically, I'm looking to run a ASP site locally on the device.
2
2915
by: DanTg | last post by:
Hi all, I want to build a custom 404 error page that using asp will dynalically build the page. Here is my problem. I am building a directoy website which has over 3000 categories. I do not want to create a category page for each one so I though I would try and cheat a little and use the 404 to make it look as if the page exists and put out the relevant information.
2
1573
by: Christian H | last post by:
Hello, Does anyone know in what extent (if any at all..) , it is possible to use ..net / c# on handhelds? My first google, yielded : Appforge (http://www.appforge.com/), as a possible solution. Any other's? Thanks
0
1109
by: bsmith | last post by:
Hi, I'm about to embark on a .NET project targetted at mobile devices, so I'm curious if anyone has any tips or potential traps, specifically with a Blackberry. I've never used one but I've been told that their could be potential rendering problems, especially with .NET controls. Is there any truth to this?
1
2519
by: Harlan Messinger | last post by:
English Wikipedia allows registered users to define custom styles. I created a set of styles inside a @media handheld wrapper to see if I could override the default absolute positionings and floats of the major page elements in IE on my Sony Treo with Windows Mobile 5. Without the custom CSS, on both the regular computer and the handheld, the content's beginning is offset from the top and left, and on the handheld it only takes up a...
1
2512
by: Ronald S. Cook | last post by:
I've never done this, but I'm assuming it's easy? I want to have my ASP.NET app detect what device the user is using. If a computer, it would go to a normal web page. If a handheld of some sort, it would go to a page that was designed for that size. What is that size anyway? I think I've heard 320x240 maybe? Would I just have a normal page with a small amount of content justified in the very top left of the screen, or is there...
2
1840
by: CD Tom | last post by:
Here's what I'm trying to do. First I export an existing table to a .txt file and move it to a handheld computer, it is then added to a database on that handheld. Data is inputted into the handheld, when all data is inputted the data is exported to another .txt file and transfered to the main computer. What I want to do is update the table on the main computer with the data that has been collected on the handheld. I know I could load the...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10275
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.