| Author |
Building your own WAP-sites |
rme Joined: Sep 26, 2004 Posts: 16 From: Finland PM, WWW
|
Just wondering if any of you guys have ever built an own wap-site? I was thinking of making my own but I've no such experience. I'm very familiar with HTML, CSS, PHP, XTM and such but I've got no idea about WAP-building. Could you guys guide me to the beginning? Thank. | |
|
DSF Joined: Dec 01, 2002 Posts: > 500 From: Romania PM, WWW
|
Well, if you are familiar with HTML and PHP you can make powerfull wap pages.
Some steps:
1) If you have apache installed than write into a .htaccess file the MIME types for files extensions avaiable for download, including for wml extension. Read more here.
2) If you use a PHP script for generating WML pages don't forget to add in the top of the page(s):
header("Content-type: text/vnd.wap.wml");
Here is a basic example of a wap page (wml)
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card_id" title="page_title">
<p>
Message
<br/>
row 2
</p>
</card>
</wml>
PS:
- the language is VERY strict, you must use all the tags with lowercase letters, and to close all the opened tags
- don't use <br>, you must use <br/>
- the page 'content' must be between <p> and </p>
Hope it helps somehow
Take a look also here
|
rme Joined: Sep 26, 2004 Posts: 16 From: Finland PM, WWW
|
Oh right! Thanks a bunch, mate! |
DSF Joined: Dec 01, 2002 Posts: > 500 From: Romania PM, WWW
|
rme with pleasure :)
This message was posted from a WAP device | |
|
Access the forum with a mobile phone via esato.mobi
|