Appendix
A. Mobile Converter - Supported HTML tags
Appendix
B. Preformatting tags (Not Supported in DEMO
version)
Wireless Application Protocol (WAP) is an open, global specification that empowers mobile users with wireless devices to easily access and interact with information and services instantly. A large number of device manufacturers (Nokia, Ericsson, Motorola...) and software developers (IBM, Microsoft, Oracle) have agreed on one common standard for small devices to communicate.
Wireless Markup Language (WML) is a new markup language that must be used when creating WAP applications. WML is a XML based language that is designed to work with small, wireless devices. Instead of learning a new markup languge, Mobile Converter allows you to keep using HTML for your WAP application.
You can learn more about WAP at Wapforum, Phone, Cellular, Ericsson and Nokia
1.2. What is "Mobile Converter" ?
Mobile Converter is a plug-in for your Web-server that converts any HTML code to WML code and validates any WML code, making it accepted by your WAP application. Mobile Converter will let you keep using HTML code instead of writing WML code when building your WAP applications.
Using HTML instead of WML will bring you the following advantages:
Installing Mobile
Converter:
1) Copy the file
"MobileConverter_IIS.dll" to your server.
2) Open the Internet Service
Manager
3) Select the
Website where you want to install the HtmlWmlConverter.
4) Press right mouse button and then select
menu option "properties".
5) Select the "Isapi Filters" tab.
6) Press the "Add" button and then set
"Mobile Converter" as filter name and the full path to "MobileConverter_IIS.dll"
as the executable.
7)
Press "OK" button and then "OK" again.
8) Best performance is achieved if
"Buffering" is enabled on your IIS Website. This is default in
IIS5 but not in IIS4. (You enable buffering in you Website by
checking
"Enable
buffering" check box in your Website. Checkbox is found in dialog "Properties -
Home Directory - Configuration - App Options")
9) Restart the WebServer and you can now
start wapping to your website !!!
To access your WAP enabled website you need:
1) A WAP-Emulator or WAP-Device
(Ericsson 320, Nokia 7150 etc).
2) To setup an address to a proper
WAP-Gateway in your-WAP Device.
A WAP-Gateway is the connection between the WAP-Device and the Internet (similar to the need of a SMTP-server when sending email).
Ericsson provides the following WAP
Gateway for external test use:
IP-Address:195.58.110.201
3.3. Where do I find a WAP emulator ?
You will find Wap emulators at the following locations:
Ericsson: Developers' Zone (Download WapIde) or Online Ericsson R380 emulator!
Nokia: WAP Toolkit
Phone.com: UP.SDK
1) Most WAP-clients will only
accept 1400 BYTES !! This mean that:
a) The byte coded WML page
must not be larger than 1400 bytes (Rough estimation: Consider each tag name as
1 byte and each character as 1 byte)
b) Images must not be
larger than 1400 bytes.
2) WML is a more limited language than HTML, thus only a subset
of HTML tags is supported by the Mobile Converter.
3) Nested table tags are not
allowed, due to limitations in the WAP specifications !!!
4) Sometimes it seems like
WAP-browsers will cache everything, so you have to do test all possible tricks
to avoid the cache ;-)
The Author makes no warranty, either implied or expressed, including with-
out limitation any warranty with respect to this Software documented here, its
quality,
performance, or fitness for a particular purpose. In no event shall
the Author be liable to you for damages, whether direct or indirect, incidental,
special, or consequential arising out the use of or any defect in the
Software, even if the Author has been advised of the possibility of such
damages, or for any claim by any other party.
All other warranties of any kind, either express or implied, including but
not limited to the implied warranties of merchantability and fitness for a
particular purpose, are expressly excluded.
| No | Elements | Comments |
| 1 | <!-- --> | -- Comment |
| 2 | <!DOCTYPE > | -- |
| 3 | &xxx; | --&,©,>,<,",®,
--�` |
| 4 | <A href=""></A> <A name="" id=""></A> |
-- -- Represents card number 2..n of the WML deck |
| 5 | <B></B> | -- |
| 6 | <BIG></BIG> | -- |
| 7 | <BODY id=""></BODY> | -- The body tag represents the first card of the WML Deck. |
| 8 | <BR> | -- |
| 9 | <CENTER></CENTER> | -- |
| 10 | <FONT size="1..7"></FONT> | -- n= 1..7 |
| 11 | <FORM method="get/post" action=""> | -- |
| 12 | <HEAD></HEAD> | -- |
| 13 | <H?></H?> | -- = 1..7 |
| 14 | <HR> | -- Translated as <BR> |
| 15 | <HTML></HTML> | -- |
| 16 | <I></I> | -- |
| 17 | <IMG src=""></IMG> | -- Note! An image must not be bigger than 1400 bytes. |
| 18 | <INPUT type="text" name="" value="" size=""
maxlength=""> <INPUT type="password" name="" value=""> <INPUT type="hidden" name="" value=""> <INPUT type="submit" name="" value=""> |
|
| 19 | <NOFRAMES></NOFRAMES> | -- Wap devices do not support frames !! |
| 20 | <OPTION></OPTION> | -- |
| 21 | <P align="left/center/right"></p> | -- |
| 22 | <SELECT name="" value=""></SELECT> | |
| 23 | <SMALL></SMALL> | --Only one font. |
| 24 | <TABLE></TABLE> | -- Note! Nested tables are not allowed !!! |
| 25 | <TD></TD> | -- |
| 26 | <TH></TH> | -- |
| 27 | <TITLE></TITLE> | -- The title of the first card of the WML Deck |
| 28 | <TR></TR> | -- |
Mobile Converter will give you a wide range of possibilities to tune this:
1) You will be able to group devices into "device group", each having a
customised profile based on the resolution and capabilities.
2) You will be
able to setup a profile for each single device.
3) Mobile Converter
can run in two modes: "All text is by default visible in WAP devices" or "No
text is by default visible in WAP devices"
You use the following tags to customize the HTML code depending on what device it was requested by:
a) Specify what device group(s) or device(s) the content of the tag shall be
sent to:
<!--DINCL device ="*"--> … <!-- /DINCL --> (Not
Supported in DEMO version)
Parameters: device - The device
group(s) or device(s) for which the content of this tag will be visible.
b) Specify what device group(s) or device(s) the content of the tag shall not
be sent to.
<!-- DEXCL device="*"--> … <!-- /DEXCL -->
(Not Supported in DEMO version)
Parameters: device - The
device group(s) or device(s) for which the content of this tag will not be
visible.
Note! The preformatting tags are not calculated when the page is called by a HTML browsers, since Mobile Converter is not active when called by HTML browsers.
HTML Example:
<!--DINCL device="WAP"-->
<html>
<body>
This text will be visible for all WAP devices.<br>
<!--DEXCL "WAP_SMALL"-->
This text will not be visible in small
WAP devices.<br>
<!--/DEXCL-->
<!--DEXCL "WAP_SMALL,
WAP_MEDIUM"-->
This text will not be visible in small and medium WAP
devices.<br>
<!--/DEXCL-->
</body>
</html>
<!--/DINCL-->