bp-reply-by-email
bp-reply-by-email copied to clipboard
Is there a way to strip the reply citation?
Hi Ray,
I am just trying out RBM on http://www.youthpolicy.org/community/ with the Gmail setup you described. Works like a charm! My latest reply-comment was “This is fucking fantastic!” and I mean it.
One tiny question: is is possible to strip the reply citation stuff from the response automagically? Apple Mail adds this, for example, by default when replying to an email.
» On Nov 26, 2012, at 10:54 PM, Youthpolicy Community [email protected] wrote:
I am certain most people won't delete this systematically, so a lot of replies by email will have this addendum otherwise.
I would be happy to do some research on the various default citation styles in use by Outlook, Thunderbird, Squirrelmail, Roundcube etc. I guess it might even be possible to use a snippet for recognition…
A couple of reply styles are:
On Mon, November 26, 2012 10:54 pm, Youthpolicy Community wrote: At 10.01 am Wednesday, Youthpolicy Community wrote: On Nov 26, 2012, at 10:54 PM, Youthpolicy Community wrote:
Maybe » wrote: « would be enough as an identifier for the line? I'd imagine nobody uses wrote with a colon otherwise…
Hi Andreas,
Glad you like it!
I've made some attempts at stripping email signatures and do use the colon as an identifier (see #6). I probably need to do more testing because the logic isn't quite working the way it is intended to.
I also plan to add a marker so users can denote where they want the parsing to end. See #23.
Ah I see – curious that it doesn't strip the default “On Nov 26, 2012, at 10:54 PM, Youthpolicy Community [email protected] wrote:” line then. By all means it actually should as per #6.
And yes, adding a marker in addition to the stripping would be most welcome!