Esato Mobile
General discussions : General : What is the best way to create a WAP page?
> New Topic
> Reply
< Esato Forum Index > General discussions > General > What is the best way to create a WAP page? Bookmark topic
Page <  123>

Sentertainment Posts: 290

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
--
Posted: 2004-03-29 06:18:48
Edit : Quote

Supa_Fly Posts: > 500

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: 2004-03-29 06:21:08
Edit : Quote

Sentertainment Posts: 290

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: 2004-03-29 16:52:57
Edit : Quote

Johnex Posts: > 500

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: 2004-03-29 17:45:10
Edit : Quote

djpowelly Posts: > 500

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: 2004-03-29 19:07:32
Edit : Quote

Johnex Posts: > 500

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: 2004-03-30 16:39:57
Edit : Quote

snap-hiss Posts: 118

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: 2004-03-30 17:24:22
Edit : Quote

Johnex Posts: > 500

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: 2004-03-31 12:19:34
Edit : Quote

djpowelly Posts: > 500

OK, code in nut still no sucsess! look @ my last post 4 address.. Please help!
--
Posted: 2004-04-03 13:55:37
Edit : Quote

Saka Posts: 165

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: 2004-04-03 14:08:44
Edit : Quote
Page <  123>

New Topic   Reply
Forum Index

Esato home