talon icon indicating copy to clipboard operation
talon copied to clipboard

Detect signatures with long lines

Open obukhov-sergey opened this issue 10 years ago • 5 comments

Generally signatures have short lines - no more than 60 characters but there is also a class of signatures that have long lines with long URLs, etc.

Example:

Some text

-- 


John Smith
Co-Founder and CEO
Xxxxxxxxx

mobile: 555.115.4274 | book a mtg
<http://example.com/soooooome/looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong/path?t=looooooooooooooooooooooooooooooooooooooooooooooooooooooooong>
 | @handle
<http://example.com/looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong/paaaaaaaaath?t=loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong>
 | linkedin
<http://example.com/loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong?t=loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong>
 | video
<http://example.com/looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong/paaath?t=loooooooooooooooong-parameeeeeeeeeeeeeeeeeeeeeeeeter-query-string>

Currently talon doesn't parse signatures like this

obukhov-sergey avatar Nov 20 '15 21:11 obukhov-sergey

Seconded!

jacobjlevine avatar Jan 14 '16 23:01 jacobjlevine

Would this also apply to HTML based signatures (which are basically always longer than 60 characters)?

mgwidmann avatar Feb 18 '16 15:02 mgwidmann

As an example, http://htmlsig.com puts the following disclaimer at the bottom of their email (which is common among businesses)

This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.

mgwidmann avatar Feb 18 '16 15:02 mgwidmann

@obukhov-sergey What is currently limiting talon from parsing longer signatures?

codyolsen avatar Nov 03 '16 15:11 codyolsen

Any plan or workaround for this?

PD: Im have some success removing lines over 60 chars from the email. But it sometimes adds lines before the real signature (Ex if email contains a name list)

LeonAlvarez avatar Aug 05 '19 17:08 LeonAlvarez