Homepage
I, Me and Myself
Portfolio
Mindfolio
Blog
Guestbook

Blog > WML and WAP

Typical WML File Structure

Posted on April 28, 08 @ 05:32 am under WML and WAP and has no comments.

<!-- The xml notation -->
<?xml version="1.0"?>

<!-- DOCTYPE specification -->
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN" "http://www.wapforum.org/DTD/wml12.dtd">

<!-- Starting of WML Deck (set of cards) -->
<wml>

<!-- Starting of Card (screen displayed at once) -->
<card id="welcome" title="Welcome">

<!-- Everything has to be in paragraphs -->
<p>Welcome to WAP Content!!!</p>
<p><a href="page2.wml">Sample Link </a></p>
<p><a href="#contact">Contact Webmaster</a></p>

<!-- ... much more content ... -->

<!-- End of card -->
</card>

<!-- More cards if needed -->
<card id="contact" title="Contact Webmaster">
<p>Webmaster: Krishna Srikanth (a@b.c)</p>
</card>

<!-- End of WML deck -->
</wml>

MIME Extensions for enabling WAP on Webservers

Posted on March 30, 08 @ 12:19 am under WML and WAP and has no comments.

For enabling WAP on webservers, we need to configure the mime types for WAP document extensions. The following extensions need to be configured on webserver.

EXTN - MIME_TYPE
.wml - text/vnd.wap.wml
.wmls - text/vnd.wap.wmlscript
.wbmp - image/vnd.wap.wbmp

.wmlc - application/vnd.wap.wmlc
.wmlsc- application/vnd.wap.wmlscriptc

Configuring Apache :
These extensions can be added in httpd.conf. Include this line in conf file and restart the server.
AddType <MIME_TYPE> <EXTN>

Configuring IIS:
Go to Start > Run > Inetmgr > Right click on Default Website > Properties > HTTP Headers > MIME Types. You can add or edit the MIME settings accordingly.

WML in Nokia Toolkit

Posted on March 30, 08 @ 12:18 am under WML and WAP and has no comments.

WML cannot be opened in Nokia Mobile Internet toolkit. This is because of the JRE version incompatibility. If your system doesn't have JRE 1.4, or if you have latest version of JRE, this problem occurs.

To solve this, degrade your JRE version to 1.4. For more info, see this link.

http://discussion.forum.nokia.com/forum/showthread.php?t=65284

Pages: [1]

•   Databases (6)
•   Diary (117)
•   HTML and Javascript (2)
•   For Your Information (18)
•   iSpecial Jokes (13)
•   Java related (1)
•   Javascript (1)
•   Jokes (41)
•   Mind Views (22)
•   My Observations (8)
•   Open Source Tech. (7)
•   PHP (6)
•   My Poetry (10)
•   Reviews (2)
•   Sing Along (21)
•   Sankaracharya Stotras (3)
•   My Talent (1)
•   Uncategorized (27)
•   Webservers (3)
•   Websites to see (28)
•   WML and WAP (3)
•   Zend Framework (10)

•   It is my personal site. Content included here is according to my wish. If you don't like my site, close it and go away.
•   'Mind Views' and 'My Observations' are purely opinions of mine and not others. If something in this site hurts you, control
     your mind and send me a mail. We will discuss. If you go to court of law, it's your wish. Every citizen has a right to express, so do I.
•   Some content in this site might not be appropriate for some audience, whose opinions differ with me. So don't try to argue with me.
•   Important: Don't try to judge me just by glancing this website. I am different outside.
•   This is a time-pass site. Reading it in a hurry will be useless.