can someone tell me how i can get rid of embedded HTML from my mail? My mail client is Kmail. I was toying around with filters in Kmail with the purpose of forwarding new mail to my cell (i applied a filter 'head -40' preserves the Subject and the first few lines). but this approach didnt work for messages with embedded html because i couldnt get nething useful in the Body. ne suggestions will be helpful Sankha
At 08:32 even 9/30/02 +0530, SANKHA SUBHRA SOM wrote:
can someone tell me how i can get rid of embedded HTML from my mail? My mail client is Kmail. I was toying around with filters in Kmail with the purpose of forwarding new mail to my cell (i applied a filter 'head -40' preserves the Subject and the first few lines). but this approach didnt work for messages with embedded html because i couldnt get nething useful in the Body. ne suggestions will be helpful
ummm... The HTML starts only in the body. i.e. after all the headers. The first few lines are the usual doctype & meta tags etc. which is why you did not get anything useful out of it. It should not be a difficult task to remove them - strip html between the x-html and /x-html tags.
I think there are small utilities already available which can strip HTML. Or it does not seem to be very difficult to write such a one. Peal being one of the better text processors perhaps PheeLip has a solooshan? The problem seems as to where we apply them [elegantly, that is].
But I am not clear about the passage of the email from client buffer to file[mailbox]. I will take this opportunity to request anyone who has an idea to please enlighten me.
thanks.
quasi