Discuss WML headers in the Mobile Programming forum on Dev Shed. WML headers Mobile Programming forum discussing development for mobile technologies from basic mark-up languages
such as WML and XHTML MP to server generated code and applications. Widsets, SMS, gateway and server
set up are also covered here.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 4
Time spent in forums: 41 m 45 sec
Reputation Power: 0
WML headers
Hi I build a wap site, and it is supposed to be WML 1.1 compatible.
So the first question is how can I validate my code that it is WML 1.1 and not another version of WML.
The Second question is .What are those headers that appear in my code when I view source in an emulator.
And why should I user the
<?xml version="1.0" encoding="iso-8859-7"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
???
I will show you a sample.
HTTP/1.1 200 OK // It was a request and it was OK
Server: Microsoft-IIS/5.0 // your hosts server
Date: Tue, 18 Apr 2006 13:44:34 GMT // date
Cache-Control: no-cache // the page won't cache
X-Powered-By: ASP.NET // software you are using
Pragma: no-cache // the page won't cache
Cache-Control: no-cache,must-revalidate // the page won't cache
Connection: Keep-Alive // server setting
Content-Length: 1327 // size of the fiel
Content-Type: text/vnd.wap.wml // sending as wap content type
Expires: Tue, 18 Apr 2006 13:44:34 GMT // expires
Cache-control: private // again caching thing, more suitable for IE, but OK
There was a question posted in the PHP forums the other day and someone gave quite a good explaination about what everything meant, can't find it off-hand.
As to your last question: because you just should
But in all seriousness, it enables the browser / device to understand what it is downloading and can interprete it accordingly.
Check the resources link in my signature, there are some pretty useful links in it.
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.
__________________
Posts: 4
Time spent in forums: 41 m 45 sec
Reputation Power: 0
thanx
ok thanks .
One last thing .. when i validate my WML code i validate only the content between the <wml>...</wml> tags
not the header info and the <XML> that tells the browser that the content is about wml correct??