Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsMobile ProgrammingMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 29th, 2010, 04:36 PM
shoombool_tala shoombool_tala is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 333 shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level)shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level)shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level)shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level)shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 17 h 5 m 22 sec
Reputation Power: 18
Redirect/design mobile website

hello,
i'm trying to design a mobile version for my site. I just plan to use simple html/text and css to put up a simple version of the site which is less than 20kb. would this be a problem since i'm not using WML or WAP?

also another question is how do you find out if the user is browsing from their phone so i could redirect them to a different folder on my web server that contains the mobile version?

thanks

Reply With Quote
  #2  
Old June 30th, 2010, 09:29 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Retired
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 9,139 jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)  Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Months 6 Days 1 h 3 m 40 sec
Reputation Power: 2492
Send a message via AIM to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
You cannot do this with static HTML. You would either need to do with scripting language like PHP or purely server i.e htaccess if on Apache web server.

You should always give the user the option to choose though. Although many site now redirect to mobile sites after correctly identified as a mobile - I don't necessarily want to use a mobile version: N900 is more than capable of handling full web sites when on WLAN.
__________________

Cheers,
Jamie

>_ skiFFie ? | Twitter

__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.

__________________

Reply With Quote
  #3  
Old July 24th, 2010, 07:43 PM
shoombool_tala shoombool_tala is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 333 shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level)shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level)shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level)shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level)shoombool_tala User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 17 h 5 m 22 sec
Reputation Power: 18
Quote:
Originally Posted by jabba_29
You cannot do this with static HTML. You would either need to do with scripting language like PHP or purely server i.e htaccess if on Apache web server.

You should always give the user the option to choose though. Although many site now redirect to mobile sites after correctly identified as a mobile - I don't necessarily want to use a mobile version: N900 is more than capable of handling full web sites when on WLAN.


thanks or the reply.. sorry i guess i didn't explain myself well..

what i meant is that i'm going to create php scripts that do all the server stuff in the backend and spit out normal html to the user instead of wml.

so my php file index.php would return lets say:

<html>
<body>
<h1>welcome to my mobile site</h1>
</body>
</html>



my question is that would that be ok or are all mobiles sites written in WML?

Reply With Quote
  #4  
Old July 24th, 2010, 10:30 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,931 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 7 h 43 m 47 sec
Reputation Power: 7053
Most mobile sites are written in standard XHTML/CSS.
__________________
PHP FAQ
How to program a basic, secure login system using PHP

Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
Reply

Viewing: Dev Shed ForumsMobile ProgrammingMobile Programming > Redirect/design mobile website

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap