Desig

10 views
Skip to first unread message

Rowan Crawford

unread,
May 7, 2013, 7:11:40 AM5/7/13
to alavet...@googlegroups.com
I am experimenting with collapsing signatures with this commit: https://github.com/wombleton/fyi-theme/commit/4650c39bea68cf50979ead968ed51e454f0eae35

The important thing is the app.js commit:

(function() {
  $(document).ready(function() {
    $('.incoming .correspondence_text > p').desig();
  });
}).call(this);

This calls the desig function I just wrote (here: https://github.com/wombleton/desig) to strip out signatures for incoming messages.

There's some css tomfoolery you need to do as well.

It's relatively naive, and trained ("trained") on fyi.org.nz's messages only so far, so English only at a minimum, but it's a start and I'll be watching how it goes.

Still, hopefully it will be of use to someone.

cheers,
Rowan
Reply all
Reply to author
Forward
0 new messages