What do I need to serve WML contents to a WAP device?

The easiest way to serve WML contents is to use any good HTTP server. like Apache. If you want dynamic content, you can use a server side script language called PHP. Both are of course written to serve HTTP compatible, HTML browsers, but work fairly well for WAP compatible WML micro browsers too.

Unless you link your WAP site with the portal of a mobile phone network provider, users have to type in the URL to your site on their phone which can be a complicated task. As “www” has become the standard hostname for HTTP server, “wap” seems to be the standard when it comes to servers containing WAP applications. Ie. “wap.domain.com”.

One very important thing is that you remember to tell the HTTP server to tell the WML browser that it is receiving WML pages, and not HTML pages. This is done by using MIME. Read more about specific WAP MIME types in What's with the HTTP server MIME types?

 
what_do_i_need_to_serve_wml_contents_to_a_wap_device.txt · Last modified: 2007/08/07 11:44 by puntloos
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
vendita computer arredo giardino poltrona massaggi