|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
wml 1.0
hi all
we are developing a wap site for some mobile devices problem we have is that some of the devices supprt wap 1.1 while others do not the main culprit is this nokia 2280 we have i assume that it supports wap 1.0 since it was sent to us for testing but when i try to load up a page i get unsupported content type this is the top of the file Code:
header('Content-Type: text/vnd.wap.wml; charset=utf-8');
echo('<?xml version="1.0"?>');
<!DOCTYPE WML PUBLIC "-//WAPFORUM//DTD WML 1.0//EN" "http://www.wapforum.org/DTD/WML.xml">
using php obviously, and apache, wml 1.1 loads fine in the other phone we have, which obviously has a slightly different dtd i have validated the code using validome.org, and it says valid any advice thanks dave |
|
#2
|
|||
|
|||
|
ok, this is the code i'm trying now, exactly
<?php header('Content-Type: text/vnd.wap.wml; charset=utf-8'); echo('<?xml version="1.0"?>'); ?> <!DOCTYPE WML PUBLIC "-//WAPFORUM//DTD WML 1.0//EN" "http://www.wapforum.org/DTD/wml.xml"> <WML> <CARD> HELLO? </CARD> </WML> and all it says is unsupported content type on the phone, the page validates fine |
|
#3
|
||||
|
||||
|
The code snippet you posted is invalid:
Code:
<wml> <card> <p>HELLO?</p> </card> </wml> I was trying to find the specs of your phone to see waht wml it supports, but couldn't find it. Try adding this at the top in your php bit: PHP 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. __________________ |
|
#4
|
|||
|
|||
|
nope, i already had the header at the top
and with the <p> tags the code is not valid tried it with and without them, but still didn't work, thanks anyway, i'll see if i can get some documentation from the guys that gave us the phone ok, minibrowser version 4.1.26l1.c.1 (NOKIA-RH-17/V F100V1401.nep.0) if that means anything to anyone ok, bizaaro world strikes, the site is now working to some degree, still getting some stupid unsupported content types, but should be able to work it out now dave Last edited by dtra : August 29th, 2005 at 02:38 AM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > wml 1.0 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|