Hi there.
Someone suggested the following recipe for starting lynx as a filter for
HTML messages (which pine cannot display):
:0 bf
* ^Content-type: text/html
| cat > /tmp/m$$.html ; lynx -dump /tmp/m$$.html ; rm /tmp/m$$.html
This should take all messages containing a header line starting,
"Content-type: text/html" and pipe the body of the message through the
command given, which saves the body to a file ("cat > /tmp/m$$.html"),
uses Lynx to convert the HTML to plain text ("lynx -dump /tmp/m$$.html"),
then removes the old body ("rm /tmp/m$$.html"). The output from Lynx
is captured as the new body of the message and processing of your
".procmailrc" continues.
Somehow, that doesn't seem to work. I've been toying around with it and
suspect that at least the lynx -dump /tmp/m$$.html part is wrong, because I
have to > the output to a file...
TIA for any kind of help
Cheers,
Robin
++---+---+---+---+---+---+---+---++---+---+---+---+---++---+---+---+---+---++
Robin S. Socha Political Science Dept. Tel: +49(0228)22217-8
Bonner Talweg 56 Bonn University Fax: +49(0228)22217-9
53113 Bonn email: uzs8kb(_at_)uni-bonn(_dot_)de
++---+---+---+---+---+---+---+---++---+---+---+---+---++---+---+---+---+---++
On the package it said: "Requires MS Windows 3.11 or better"
... so I got myself Linux.
++---+---+---+---+---+---+---+---++---+---+---+---+---++---+---+---+---+---++