Welcome to Esato.com




What is the best way to create a WAP page?

Click to view updated thread with images


Posted by gardar
What is the best way for me creating a wappage? What format should i use? Php? Wml? Asp? Xhtml? Any webpages that teaches wap programming? What software and editor should i download that is very good? All scripting tips are welcome! And how do i set numbers like on this that i want go to next post i can press the # on the keypad!? Do i host wappages on a regular host? And how do i do wap chat and wap forums? And sum like this that every user have their own account to log in!



This message was posted from a T300

[ This Message was edited by: Cytech on 2004-03-30 15:47 ]



Posted by rdnymllnsktr
Wow, tons of questions. Well, XHTML will work, and can be read by a WAP browser.. This forum is a PHP one, not HTML. I don't know that much about PHP, but am learning.

Posted by Matteus
Try http://tagtag.com . Free, easy to start!

Posted by gardar
How can i write xhtml? In dreamweaver or what editor? And what is the diffrence between html and xhtml?

Posted by Jim
You can allways start with notepad but you need to know html, here is the first lines for making a wap page

Quote:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta http-equiv="Cache-Control" content="max-age=30" forua="true" /></head>
<card id="card0" title="choose a title">
<do type="prev" label="Back"><prev/></do>

start coding here

</card>
</wml>



But try on google for programs, much easier

_________________
my themes site

[ This Message was edited by: Jim on 2004-03-26 10:50 ]

Posted by djpowelly
xhtml is leterally the same as wml isnt it? And you can put xhtml on webspace that doesn't support wml (.htaccess problems)?

Posted by Johnex
You can use xhtml as any html page on your site, no problems at all. The problems start when you want to download thing through wap, as the server needs to have a few extra lines of code for it to work.
(I Think) =)

Posted by gardar
Does xhtml support javascripts? Like historyback?

Posted by djpowelly
Does that mean you can use MS Frontpage to create a xhtml page then?

Posted by slamEVIL
Quote:

On 2004-03-26 10:14:52, gardar wrote:
How can i write xhtml? In dreamweaver or what editor? And what is the diffrence between html and xhtml?



This message was posted from a T300



yes, you can do it in dreamweaver. when you get to a computer, check out this picture.


Posted by Sentertainment
PHP-CMPLX & CAN B CMBINED WIT ANTHR LNG. WML-HIGHLY CMPTBLE & EZ BUT ONLY WRKS ON FONES. XHTML - MOR CMPLX & WKS WIT NUER FONES.

Posted by Prom1
Jim, your tag is already closed in the line with its values already stated, no need to close it on another line.

Your first line tells the browser to follow strict xml adherence and as thus with the code you posted here you would get an error.

There is lots of free windows editors that you can get at downloads.com, and if your using IE 5.0 then your ok for parsing that xml/html code. But it doesn't follow internet standards and so many coders follow microsoft (no capitals intended). Try using Mozilla Firefox (free browser) for parsing your HTML XML code but you can also download an extension that will allow you to parse WML code within it. I've done it many times this month.Haven't posted with it enabled but will soon enough.

Posted by Sentertainment
Ok, let me explain this better, now that I have a PC available.

PHP is it's own programming language that can enhance other languages...You want to learn some other web language before even trying to learn this. ASP allows you to add stuff like databases for chat.

WML is the easiest, but will only work on phones...(All web capable phones too, to be exact)

xHTML is harder that WML and similar (almost identical to HTML) and will work on a PC browser, but will only work on newer WAP 2.0 capable phones. Another plus to xHTML is that you CAN edit the pages in frontpage, but I believe you WILL need to know the actual languge too. (I don't use xHTML, since my phone doesn't support it)

With web hosting, for WML and xHTML, your server has to be set up to support these types (which is very uncommon to find REAL good hosts for mobile sites)
But if you can get PHP hosting, you don't have to have the server set up for mobile support, as you can define it in your PHP page.
(In other words, just using a few lines of PHP and the rest WML can be easier)

For mobile forums, there aren't really any, other than simple guestbooks...but I do have my own I have been working on, if your interested or want more help, just PM me.
I can help you all you need with PHP and WML, and I do also know (just not as well) xHTML and ASP (ASP is like PHP).



Posted by Johnex
You DON'T need to have a server that supports xhtml, as it is exactly like html. If your server does not support xhtml, then you can't display regular sites! To run xhtml, and replace the <html> tag at the top of your html site:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

-----------------------------------------------
Remember that xhtml for phones is basic, and does not support tables, font changes, or scripts. Only basic html will work.

e.g:
copy this into notepad and upload it to your server (you can also go to http://wap.johnex.se to try it):

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SITE</title>
</head>
<body>
<h1 align="center">Welcome</h1>
<p>
From this site you can download ringtones, pictures and themes for your mobile phone.<br />
</p>
<p>
<a accesskey="1" href="LINK">LINK1</a><br />
<a accesskey="2" href="LINK">LINK2</a><br />
</p>
</body>
</html>

[ This Message was edited by: JohnN4 on 2004-04-30 11:48 ]

Posted by djpowelly
Hold up, Hold up, I built a v. basic xhtml page in frontpage 2k, link here : http://www.apsv89.dsl.pipex.com/wap/djphp3.xhtml

and it doesnt work on my phone... what is wrong ppl! Please help

_________________
djpowelly

The worlds ONLY Black and Silver T300

[ This Message was edited by: djpowelly on 2004-03-29 18:19 ]

[ This Message was edited by: djpowelly on 2004-04-03 12:55 ]

Posted by Johnex
You have to insert this at the top:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

instead of the <html> tag.

Delete the meta tag stuff, you don't need it.

_________________
http://johnex.se/ - Johnex Portal v3.0
"the best entertainment portal"
Games, Chat, PM, Files.
950+ Polyphonic Ringtones
500+ IMY Ringtones
50+ Pictures
10+ Themes
*´¨)
¸.·´¸.·´¨) ¸.·->
(¸.·´ (¸.·´

[ This Message was edited by: JohnN4 on 2004-04-30 11:48 ]

Posted by snap-hiss
I run a forum on my site that is php. How would I go about making that work with WAP. If you need to check it out it's http://www.snackpants.com/mboards


!snap

Posted by Johnex
you use a cgi forum, and it is hard for me to see how to convert it to xhtml.
The best way would be to get a simple forum, and to take away all the tables and layout design, and then add the line of text i stated above. I don't garantee it to work, but i am sure it could work, as esato has a version of it here: wap.esato.com/board/xhtml.php

Posted by djpowelly
OK, code in nut still no sucsess! look @ my last post 4 address.. Please help!

Posted by Saka
If your server supports PHP/mySQL, you don't want to learn WML and are ready to pay a bit then you can get a nice content management system for WAP that will automatically build a WAP site for you.
All you need to do is to insert your content in a web interface.

Take a look here: http://www.sakic.net/wps/

I am sorry if this post is considered spam, then please delete it.

Posted by Johnex
@djpowelly:

I modified your site so that it should work. Save this as index.html, NOT index.xhtml.

Copy between the ------------
:
------------------------------------------------------------------

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>djpowellys Homepage</title>
</head>

<body>
<p align="center"><b><u>djpowellys
Homepage</u></b></p>
<p align="center"><a href="http://start.e-messenger.net/mobile"><img border="0" src="http://www.apsv89.dsl.pipex.com/wap/msn.jpg" width="28" height="28"></a></p>
<p align="center">Msn Messenger</p>
<p align="center"><a href="http://www.esato.com"><img border="0" src="http://www.apsv89.dsl.pipex.com/wap/esato.jpg" width="64" height="26"></a></p>
<p align="center">Esato</p>
<p align="center"><a href="http://www.google.com"><img border="0" src="http://www.apsv89.dsl.pipex.com/wap/google.jpg" width="75" height="30"></a></p>
<p align="center">Google</p>
<p align="center"><a href="http://d1m.net"><img border="0" src="http://www.apsv89.dsl.pipex.com/wap/poly.jpg" width="36" height="45"></a></p>
<p align="center">CBF Downloads</p>
<p align="center"><a href="http://www.wap.o2.co.uk"><img border="0" src="http://www.apsv89.dsl.pipex.com/wap/o2.jpg" width="47" height="44"></a></p>
<p align="center">O2 Active</p>
<p align="center"> </p>

</body>
</html>
------------------------------------------------------------------

[ This Message was edited by: JohnN4 on 2004-04-30 11:49 ]


Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum