Esato Mobile
Sony Ericsson / Sony : GPRS, WAP, MMS and Email setup : Building your own WAP-sites
> New Topic
> Reply
< Esato Forum Index > Sony Ericsson / Sony > GPRS, WAP, MMS and Email setup > Building your own WAP-sites Bookmark topic
rme Posts: 16

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.
--
Posted: 2005-01-12 22:00:48
Edit : Quote

DSF Posts: > 500

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
--
Posted: 2005-01-12 22:16:22
Edit : Quote

rme Posts: 16

Oh right! Thanks a bunch, mate!
--
Posted: 2005-01-12 22:22:23
Edit : Quote

DSF Posts: > 500

rme with pleasure :) This message was posted from a WAP device
--
Posted: 2005-01-12 22:30:36
Edit : Quote

New Topic   Reply
Forum Index

Esato home