|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
same problem as everyone else
i knwo this has been brought up before, but none of the other peoples' problems were solved. i have a simple wml file that i borrowed from URL and uploaded to my webspace, but for some reason although internet explorer parses it (badly) and a free wml java browser i tried parses it (perfectly), i can't seem to get an actual phone to read the page. the phone i'm testing is a nokia 6800 on o2 (UK) using gprs to access the internet. the error it gives is "file format unknown" and the page it's trying to access is:
URL if you notice i chopped off the doctype and xml declaration at the top of the file as not even internet explorer would parse it properly with those lines in... nothig else is changed and i don't know why it won't work. my server is definitely set up for wml style access... here's my "technical" info from the faq: "Q. Do you support WML (for WAP sites)? A. Yes we do. Simply upload a WML compatible page to your space and access using your mobile phone." any help would be highly appreciated... |
|
#2
|
||||
|
||||
|
I think there is something wrong, as Firefox opens the link in a normal window, not a wap browser window. Try putting this at the top of your pages:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> Last edited by jabba_29 : March 25th, 2004 at 01:39 AM. Reason: missed something out |
|
#3
|
|||
|
|||
|
if i put that in, internet explorer (or my server) gives a parse error, my wap phone still won't load it, and my free wap browser doesn't like it...
maybe it's just that my server can't handle wml as good as it thought it can! i'll now add the doctype and xml declarations, and can you tets it again? URL |
|
#4
|
||||
|
||||
|
Still a parse error. can you post your code.
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#5
|
|||
|
|||
|
okay here's all of it:
URL URL URL URL the .html files are the source code wap is the full code that was given on the web page i took it from, wapnodoctype is the same thgn but without the xml and doctype declarations (as it seems to parse in internet explorer that way (however i think that's because it assumes it's normal html) thanks for all the help |
|
#6
|
||||
|
||||
|
OK, the only thing I can think of is putting the doctype all on one line:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> |
|
#7
|
|||
|
|||
|
Well I hope this will help you.
I used wap editor for wml pages http://www.wapdrive.com/DOCS/wap_software/waptor.html also I used http://www.gelon.net for testing here is one script that works. <?xml version="1.0"?> <!-- created by WAPtor (http://www.wapdrive.net/) --> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <!-- THIS IS THE FIRST CARD IN THE DECK --> <card id="plum" title="plumbing" > <p align="center"> Welcome to Gas call<br/> ---------------------------------------------<br/> Electrical, Plumbing, Heating....<br/> ----------------------------------------------<br/> Service, Maintanance, Safty checks<br/> ------------------------------------------------<br/> <a href="#gas">Go for it!</a> </p> </card> <card id="gas" title="Gas"> <p align="center"> <img src="gas1.wbmp" alt="Our Logo"/> <br/> Web site:<br/> --------------------<br/> http://www.uk222.com/a.htm<br/> <a href="#entry">Go for phone numbers</a><br/> <a href="#plum" title="back">back</a> </p> </card> <card id="entry" title="address"> <p align="center"> Phone: 07944 150999<br/> Phone: 020 88130255<br/> 24 HR Emergency<br/> ------------------------------------<br/> <a href="#gas" title="back">back</a> </p> </card> </wml> hope that it will help you with your wap sites. HomiLondon |
|
#8
|
|||
|
|||
|
still problems with the new doctype declaration AND the code that was supplied by homiLondon, i think it's probably just my server not being as up-to-date as it advertises in the wap section. i'll email my sysadmin guy.
thanks for all the help guys! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > same problem as everyone else |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|