| Author | WAP Development Questions... | 
| BobbyT Joined: Oct 31, 2002
 Posts: 37
 From: Ventura, CA
 PM, WWW
 | First off, I'm new to the board (if you didn't figure that one out).  At any rate I recently upgraded my cell phone to include Wireless Web.  I do web design mainly as a hobby, and am interested in persuing the ability to create wap enabled pages. 
 I have a few questions regarding WAP and things relating to it.  First off I'm guessing the answer to this question will be no...  I know html sites will load to a degree on my cell phone.  What I'm wondering is if there is a method to allow me to put both WAP and standard HTML in the same page.  In this manner I will be able to use the existing structure of my web site and allow integration of the two.
 
 Also I'm wondering if there are any tools out there that will let me see what my site will look like though WAP without using my phone.  In this manner I can prevent myself from using more bandwidth than I am alocated in testing it...
 
  
 [ This Message was edited by: BobbyT on 2002-10-31 21:14 ]
 | 
|  | 
| Cytech Joined: Feb 19, 2002
 Posts: > 500
 From: Stockholm, Sweden
 PM
 | since WAP pages uses WML and ordinary webpages uses HTML you can'tix these two... unless you separate them with for example ASP or PHP code... 
 On http://www.gelon.net/ you can check WAP pages....
 
 http://www.m3gate.com/ has a plugin so you can view WAP pages in your ordinary webbrowser..
 
 Nokia has a built in viewer in their Nokia Mobile Internet Toolkit...
 http://www.forum.nokia.com/ (under "Browsing/WAP" )
 
 [ This Message was edited by: Cytech on 2002-10-31 21:22 ]
 | 
| BobbyT Joined: Oct 31, 2002
 Posts: 37
 From: Ventura, CA
 PM, WWW
 | Was what I was looking for, thanks... | 
| Supa_Fly Joined: Apr 16, 2002
 Posts: > 500
 From: Toronto, Ontario
 PM, WWW
 | Was wondering if i can do the same with XML and Schema, along with PHP? I gotta know. Thanks 
This post was posted from a T39 | 
| arnoldc Joined: Dec 14, 2001
 Posts: > 500
 From: Philippines
 PM, WWW
 | if you guys will use WAP 2.0 which is based on XHTML, then you can cater to both WAP browsers and normal www browsers. The only problem is when older (pre-2.0) WAP devices connect such as Nokia phones. 
 Another alternative is to use Microsoft ASP .NET with Mobile Internet Toolkit that allows development on single code base and will adapt depending on the client visiting the site.
 
 To see both XTML and ASP .NET in action, see www10.brinkster.com/azcruz
 | 
| Supa_Fly Joined: Apr 16, 2002
 Posts: > 500
 From: Toronto, Ontario
 PM, WWW
 | As always ArnoldC, i value ur opinion. Thanks. But i plan on using a Unix machine, and looking for an XML solution to support WML 1.2/2.0? What apps should i use? 
This post was posted from a T39 | 
| wapchimp Joined: Jun 09, 2002
 Posts: > 500
 From: Land of the chimps
 PM, WWW
 | I'm glad someone started this post as I was just about to - I need help aswell - Ive got a wap site - http://tagtag.com/wapchimp - this doesn't support colour images - Ive also get a web site http://www.wapchimp.pwp.blueyonder.co.uk - which is written in xhtml - but I can't connect to it via wap - is this a server problem?? - via www is fine - maybe it's because it's free web space & doesn't support wml/wap connections??? 
 _________________
 can u help arnold c - it would be much appreciated - can u check my source code etc as u seem to have the know-how - thanx
 
 [ This Message was edited by: orangeman on 2002-11-02 02:26 ]
 | 
| BobbyT Joined: Oct 31, 2002
 Posts: 37
 From: Ventura, CA
 PM, WWW
 | I recently noticed something.  PHP was mentioned.  As it stands, I use Perl CGI fairly heavely in my web site.  I'm now guessing this answer is yes.  Can I determine that a wml broswer is being used & re-direct based on that?  I may actually answer this question myself shortly, but I thought I'd post it just the same... | 
| BobbyT Joined: Oct 31, 2002
 Posts: 37
 From: Ventura, CA
 PM, WWW
 | K, I found it.  I was checking my agent log file for the browser type & got: 
 EricssonT68/R101 UP.Link/5.1.1.4
 
 Unfortunatly this is phone specific, but it's a start...
 | 
| airevolt Joined: Oct 19, 2002
 Posts: 212
 From: Philippines
 PM
 | :-):-(:-Dis the wap pREVIEW SITE IN COLOR? 
This post was posted from a T68i | 
| Supa_Fly Joined: Apr 16, 2002
 Posts: > 500
 From: Toronto, Ontario
 PM, WWW
 | Ooops?! 
 Say BobbyT, do you have any experience using PHP along with APACHE and XML? Or does anyone else?? Im trying to find out if I can serve a website that'll allow SyncML (based on XML) for WAP and synchronization on a Apple OS X (Jaguar) terminal. ANy help would be appreciated thanks.
 
 | 
| BobbyT Joined: Oct 31, 2002
 Posts: 37
 From: Ventura, CA
 PM, WWW
 | I have very minimal experience with XML.  I am learning Microsoft .NET which I know at some point will include it.  I use mac OS X on my own computer but I do not have the apache web server activated, so I have no experience with much of anything though it.  My web site is hosted by another company, I just upload it, all the server configuration is done on their end.... | 
| BobbyT Joined: Oct 31, 2002
 Posts: 37
 From: Ventura, CA
 PM, WWW
 | Woohoo!  I found it... 
 #!/usr/bin/perl
 $temp = $ENV{'HTTP_ACCEPT'};
 print "Content-type: text/html\n\n";
 print "result: ";
 if( $temp =~ s/ /wap/g ) {
 print "yes";
 }
 end;
 
 I found the env variable $ENV{'HTTP_ACCEPT'} includes several strings, some of which include "wap".  In a normal broswer this is not the case (I find in my version of IE I end up with just "*/*" and nothing else).  This will allow me to direct a wap device differently than a normal web browser!!!
 | 
| Supa_Fly Joined: Apr 16, 2002
 Posts: > 500
 From: Toronto, Ontario
 PM, WWW
 | Amazing! Thanks BobbyT. Even though i dont know Perl, the fact that you found it on a Mac OS X gives me hope. 
This post was posted from a T39 | 
| arnoldc Joined: Dec 14, 2001
 Posts: > 500
 From: Philippines
 PM, WWW
 | @orangeman, i have PM for you. 
 for those using Unix as the platform, XHTML is still the easiest way, or WAP 1.x is you so desired. Just make sure the necessary MIME types are enabled. But for dynamic pages, PHP it is.
 | 
|  |