Re: [Html2wml] Regarding Html2Wml
Brought to you by:
maddingue
From: <mad...@fr...> - 2002-12-03 20:41:13
|
On Tuesday, December 3, 2002, at 01:52 PM, Damien Lynch wrote: > Hi there, Hello > How are you today? I cannot seem to get the html2wml working. > > I downloaded it and now I don't know what to do. I read he doc's but=20= > still I > don't know what to do. Do I type a command into the .pl screen, if so=20= > can you > tell me what? or do I use the form.html page and enter the url? > > Please help I'm not sure to understand: what do you call the ".lp screen"? the = source of the program? If it's the case, you're using it the wrong way: you = must execute Html2Wml using a Perl interpreter. If you are under Windows, you can use ActivePerl[1] which provides a complete Perl environment for free. Then you'll have to install the modules needed by Html2Wml. For what I know, this is very simple using the ppm command and = installing a new module is as simple as typing "install ModuleName". Nearly all the packages needed by Html2Wml are already installed. The only one missing is Text-Template. Launch "Perl Package Manager" and type "install Text-Template". Now go to the directory where you have extracted Html2Wml and type "perl html2wml.cgi". If you get Html2Wml help screen, it works. Now you can create a .bat file to simplify calling Html2Wml, for example (for=20 Win2k): @echo off c:\perl\bin\perl c:\path\to\html2wml.cgi %* The file form.html is an example showing how to call Html2Wml as a CGI. This require you to have a webserver with CGI support, for example=20 Apache[2]. You just have to drop Html2Wml in a cgi-bin directory and change the URL in form.html accordingly. This is straighforward under Unix, but I don't=20= know under Windows. [1] http://www.activestate.com/Products/ActivePerl/ [2] http://httpd.apache.org/ S=E9bastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] |