Email reply parsing

Oh, I was under the impression that signatures starting with “–\n” or “–
\n” were already removed by the parser (since it seems easy, but I
understand that there are 2^1231234 possible variants).

I just updated my forum and I’m replying to this message by email to see
what happens here on Meta. Thanks!

Il 29 marzo 2016 alle 12.47 Régis Hanol info@discourse.org ha scritto:

We do not remove user signatures.

Since there is no standards around user signatures, there is no easy
way to even get it to work for 75% of the emails.

The best solution I’ve found so far
requires machine learning and lots of training samples. It gets much
harder when you have to support more than one locale…


EDIT: I already added support for italian replies, but did push a new
version of the gem. I just did, you should update :wink:

update 'email_reply_trimmer' to latest version · discourse/discourse@480e8d0 · GitHub

Posted by zogstrip on 03/29/2016


Visit Topic
or reply to this email to respond

To stop receiving notifications for this particular topic, click
here
.
To unsubscribe from these emails, change your user
preferences

Stefano Costa @stekosteko
Editor, Journal of Open Archaeology Data