To learn how to write for a mobile and to try out my concept, I have launched “Edufacts – Educational facts on your Mobile”
www.edufacts.info
Anybody out there looking at XHTML on your Mobile
I have a problem with a Pearl script. In “Maths” my “Imperial to Metric Converter” works on a PC but not on my mobile (Sharp gx15). It displays the answer as a zero. Some of the code.
number is length to convert.
$FORM{$name} = $value;
$convert = ”FORM{‘from’}.to.$FORM{‘to’};
%multiplier = (“FeettoMetres” =>”0.3048”,);
$answer = ($FORM{‘number’} * ($multiplier{$convert});
print (“${answer}”);
I think it has to do with the answer being in the wrong format “Boolean”. How do I alter my code? The other INPUTS all print OK.
My “Web Design” pages look at some problems with screen and font sizes. My original research data is a MS Word.doc, many blanks. The “Font Properties” is set up to demonstrate how each “font element” behaves on real phones.
All comments and additional data welcomed. I will make it available to all. Does anybody know what Character set should be used when using XHTML on mobiles and what is the correct DTD
On my PC pages, I take the Character set out of the first line and include it in a META tag. Also you cannot put any spaces in front of <?xml ver….> It puts IE browsers into “Quirk Mode”
Tony Bell
editor@
www.edufacts.info
www.dtscan.com
www.techitoutuk.com