Esato

Forum > General discussions > General > What is the best way to create a WAP page?

12  Next
Author What is the best way to create a WAP page?
gardar
P1
Joined: Mar 22, 2004
Posts: > 500
From: Reykjavik, Iceland.
PM, WWW
Posted: 2004-03-26 01:44
Reply with quoteEdit/Delete This PostPrint this post
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 ]

rdnymllnsktr
W760 Black
Joined: Feb 04, 2004
Posts: > 500
From: California, but now in Plano,
PM, WWW
Posted: 2004-03-26 01:56
Reply with quoteEdit/Delete This PostPrint this post
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.
MyPhoneExplorer is the new FMA!

http://www.fjsoft.at/en/downloads.php
Matteus
K800 Black
Joined: Oct 20, 2002
Posts: 372
PM
Posted: 2004-03-26 05:04
Reply with quoteEdit/Delete This PostPrint this post
Try http://tagtag.com . Free, easy to start!

This message was posted from a T39

gardar
P1
Joined: Mar 22, 2004
Posts: > 500
From: Reykjavik, Iceland.
PM, WWW
Posted: 2004-03-26 10:14
Reply with quoteEdit/Delete This PostPrint this post
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

Jim
T39 black
Joined: Jan 20, 2002
Posts: > 500
From: Belgium
PM
Posted: 2004-03-26 11:49
Reply with quoteEdit/Delete This PostPrint this post
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 ]
djpowelly
T39 black
Joined: Jun 07, 2003
Posts: > 500
From: The UK!
PM
Posted: 2004-03-26 12:11
Reply with quoteEdit/Delete This PostPrint this post
xhtml is leterally the same as wml isnt it? And you can put xhtml on webspace that doesn't support wml (.htaccess problems)?
djpowelly
Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2004-03-26 12:18
Reply with quoteEdit/Delete This PostPrint this post
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) =)
gardar
P1
Joined: Mar 22, 2004
Posts: > 500
From: Reykjavik, Iceland.
PM, WWW
Posted: 2004-03-26 13:27
Reply with quoteEdit/Delete This PostPrint this post
Does xhtml support javascripts? Like historyback?

This message was posted from a T300

djpowelly
T39 black
Joined: Jun 07, 2003
Posts: > 500
From: The UK!
PM
Posted: 2004-03-26 13:37
Reply with quoteEdit/Delete This PostPrint this post
Does that mean you can use MS Frontpage to create a xhtml page then?
djpowelly
slamEVIL
S700
Joined: Aug 14, 2003
Posts: 370
From: San Diego
PM, WWW
Posted: 2004-03-29 03:19
Reply with quoteEdit/Delete This PostPrint this post
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.
Sentertainment
T610
Joined: Jan 04, 2004
Posts: 290
PM, WWW
Posted: 2004-03-29 06:18
Reply with quoteEdit/Delete This PostPrint this post
PHP-CMPLX & CAN B CMBINED WIT ANTHR LNG. WML-HIGHLY CMPTBLE & EZ BUT ONLY WRKS ON FONES. XHTML - MOR CMPLX & WKS WIT NUER FONES.

This message was posted from a WAP device

Supa_Fly
X1 Silver
Joined: Apr 16, 2002
Posts: > 500
From: Toronto, Ontario
PM, WWW
Posted: 2004-03-29 06:21
Reply with quoteEdit/Delete This PostPrint this post
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.
Sentertainment
T610
Joined: Jan 04, 2004
Posts: 290
PM, WWW
Posted: 2004-03-29 16:52
Reply with quoteEdit/Delete This PostPrint this post
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).

Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2004-03-29 17:45
Reply with quoteEdit/Delete This PostPrint this post
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 ]
djpowelly
T39 black
Joined: Jun 07, 2003
Posts: > 500
From: The UK!
PM
Posted: 2004-03-29 19:07
Reply with quoteEdit/Delete This PostPrint this post
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 ]
Access the forum with a mobile phone via esato.mobi