Codebase list html2wml / HEAD wml_compilation
HEAD

Tree @HEAD (Download .tar.gz)

WML COMPILATION

Html2Wml offers support for compiling WML documents using an external WML 
compiler. Currently, I know only two open source / free softwares for this 
purpose: the compiler from WML Tools and the compiler from Kannel. 

If you want to use one of these, please check the README file in the 
corresponding directory for instructions on how to compile the compilers. 
You should then edit the location of the compiler (option 'wmlc' in 
the %defaults hash) to reflect the actual location of your compiler, 
for example /usr/local/bin/wmlc. 


WML Tools  <http://pwot.co.uk/wml/>
---------
The WML Tools are composed of a few softwares developped by Thomas Neill. 
They include a WML compiler, a WML bytecode decoder, a simple WML viewer, 
plus a few other tools. They use the Gnome libxml (version 1) for parsing 
the WML files. 

As the programs are very simple, they easily compile on most systems. 
However, Thomas Neill has stopped developing these tools since 1999, 
which means they have not been updated since and still use the old 
versions of the specifications (WML version 1.1 and WBXML version 1.0). 
That's why the compiler has many limitations and doesn't accept all the 
WML generated by Html2Wml (based on the version 1.2 of the WML spec). 


Kannel  <http://www.kannel.org/>
------
Kannel is an open source SMS and WAP gateway. As such, it contains a very 
complete library to manipulate WML files, based on the Gnome XML library 
(version 2). 

This compiler seems to be better than the one from WML Tools, but I am 
currently unable to compile the Kannel library under Mac OS X because 
some assertions they made about the functions in ctype.h are wrong 
with the BSD C library shipped with Mac OS X. 

Depending on your system (and more precisely, on your C library), you 
may encounter difficulties to compile Kannel Gateway, or it may just be 
impossible. Though, Kannel Gateway compiles without troubles under 
Linux based systems, and packages are available for Solaris. 


WAP::wbxml
----------
This is a Perl module that implements tokenization of XML in binary form 
conforming to the version 1.3 of the WBXML specification. It can therefore 
be used to compiles WML files.