Hi! > Something like this has been suggested before. It has been > discarded for different reasons, foremost security (don't > start programs from servers that interact with untrusted > clients).
Well, second option is to integrate html parser into kannel. I guess you don't want to do that. This is from kannel.org | Projects: [leppä] Generic filtering and conversion extensions. It would be useful to be able to specify in Kannel's configuration files filters and converters for various MIME types. For example, one should be able to specify that if the HTTP server gives a response of type text/html, then an specific external program should be used for converting it to text/vnd.wap.wml. Or that a ...so it seems to me external programs are actually on the todo list. I do not see security as a problem: of course I should be pretty sure that external apps I'm running are written in secure manner, but that should be my problem... Pavel > diff -ur kannel-1.3.1-ofic/debian/kannel.conf > kannel-1.3.1/debian/kannel.conf > --- kannel-1.3.1-ofic/debian/kannel.conf 2003-02-17 > 16:50:56.000000000 +0100 > +++ kannel-1.3.1/debian/kannel.conf 2003-10-16 01:22:33.000000000 +0200 > @@ -20,3 +20,8 @@ > group = wapbox > bearerbox-host = localhost > log-file = "/var/log/kannel/wapbox.log" > +filters-num = 1 > +filter-from-0 = "text/html" > +filter-to-0 = "text/vnd.wap.wml" > +filter-command-0 = "/tmp/html2wml %s" > + -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]