| 1 |
WML COMPILATION |
| 2 |
|
| 3 |
Html2Wml offers support for compiling WML documents using an external WML |
| 4 |
compiler. Currently, I know only two open source / free softwares for this |
| 5 |
purpose: the compiler from WML Tools and the compiler from Kannel. |
| 6 |
|
| 7 |
If you want to use one of these, please check the README file in the |
| 8 |
corresponding directory for instructions on how to compile the compilers. |
| 9 |
You should then edit the location of the compiler (option 'wmlc' in |
| 10 |
the %defaults hash) to reflect the actual location of your compiler, |
| 11 |
for example /usr/local/bin/wmlc. |
| 12 |
|
| 13 |
|
| 14 |
WML Tools <http://pwot.co.uk/wml/> |
| 15 |
--------- |
| 16 |
The WML Tools are composed of a few softwares developped by Thomas Neill. |
| 17 |
They include a WML compiler, a WML bytecode decoder, a simple WML viewer, |
| 18 |
plus a few other tools. They use the Gnome libxml (version 1) for parsing |
| 19 |
the WML files. |
| 20 |
|
| 21 |
As the programs are very simple, they easily compile on most systems. |
| 22 |
However, Thomas Neill has stopped developing these tools since 1999, |
| 23 |
which means they have not been updated since and still use the old |
| 24 |
versions of the specifications (WML version 1.1 and WBXML version 1.0). |
| 25 |
That's why the compiler has many limitations and doesn't accept all the |
| 26 |
WML generated by Html2Wml (based on the version 1.2 of the WML spec). |
| 27 |
|
| 28 |
|
| 29 |
Kannel <http://www.kannel.org/> |
| 30 |
------ |
| 31 |
Kannel is an open source SMS and WAP gateway. As such, it contains a very |
| 32 |
complete library to manipulate WML files, based on the Gnome XML library |
| 33 |
(version 2). |
| 34 |
|
| 35 |
This compiler seems to be better than the one from WML Tools, but I am |
| 36 |
currently unable to compile the Kannel library under Mac OS X because |
| 37 |
some assertions they made about the functions in ctype.h are wrong |
| 38 |
with the BSD C library shipped with Mac OS X. |
| 39 |
|
| 40 |
Depending on your system (and more precisely, on your C library), you |
| 41 |
may encounter difficulties to compile Kannel Gateway, or it may just be |
| 42 |
impossible. Though, Kannel Gateway compiles without troubles under |
| 43 |
Linux based systems, and packages are available for Solaris. |
| 44 |
|
| 45 |
|
| 46 |
WAP::wbxml |
| 47 |
---------- |
| 48 |
This is a Perl module that implements tokenization of XML in binary form |
| 49 |
conforming to the version 1.3 of the WBXML specification. It can therefore |
| 50 |
be used to compiles WML files. |