Gnus development mailing list
 help / color / mirror / Atom feed
From: Toby Speight <streapadair@gmx.net>
Subject: Re: [Q] stripping banners at the start of messages
Date: 02 Oct 2000 18:48:22 +0100	[thread overview]
Message-ID: <874s2vt9qx.fsf@delivery.cam.eu.citrix.com> (raw)
In-Reply-To: Paul Stevenson's message of "25 Sep 2000 15:41:59 +0100"

0> In article <i5k8zsgwn2g.lawbreaker@gromit.ph.surrey.ac.uk>,
0> Paul Stevenson <URL:mailto:p.stevenson@surrey.ac.uk> ("Paul") wrote:

Paul> I'm having exactly the same problem (eGroups banner).

Mine looks like

(banner . "^[ 	\n]*-------------------+\\( eGroups Sponsor -+\\)?....\n\\([^-\n].*\n+\\)+-------------------+....[ 	\n]*\n\\|^To unsubscribe from .*\n.*unsubscribe@egroups.com\n*")

But I think I could simplify it by noticing that the ad banner contains
no empty lines and is followed by an empty line (IOW, it is delimited
by \n\n):

(banner . "^[ 	\n]*-------------------+\\( eGroups Sponsor -+\\)?....\n\\(.+\n\\)+\n*\\|^To unsubscribe from .*\n.*unsubscribe@egroups.com\n*")


Something I'd really like to see is per-article banners based on headers
such as author or Received, to strip out some of those annoying company
disclaimers, in addition to per-group banners for mailing lists etc.

(And maybe it would let me specify egroups banner in one place only,
instead of having to change each groups parameters every time they
change it - the groups don't have a common parent topic).



  parent reply	other threads:[~2000-10-02 17:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-23  7:12 Steinar Bang
2000-09-23 11:55 ` Emerick Rogul
2000-09-25 14:41 ` Paul Stevenson
2000-09-25 15:25   ` Kai Großjohann
     [not found]     ` <wtnr9688p2v.fsf@licia.dtek.chalmers.se>
2000-09-26  9:35       ` Paul Stevenson
     [not found]         ` <wtnk8bzl12k.fsf@licia.dtek.chalmers.se>
2000-09-26 14:01           ` Paul Stevenson
     [not found]             ` <wtn66nji4ff.fsf@licia.dtek.chalmers.se>
2000-09-26 15:05               ` Paul Stevenson
2000-09-26 15:20           ` Kai Großjohann
2000-10-02 17:50             ` Toby Speight
     [not found]   ` <wtn66nko6zl.fsf@licia.dtek.chalmers.se>
2000-09-25 20:03     ` Matt Pharr
2000-09-25 22:14       ` Kai Großjohann
2000-09-25 22:24       ` Steve Harris
2000-09-26  8:39         ` Paul Stevenson
2000-09-26  9:14           ` Kai Großjohann
2000-10-02 17:48   ` Toby Speight [this message]
2000-10-02 18:52     ` ShengHuo ZHU
2000-10-03  9:37     ` Paul Stevenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874s2vt9qx.fsf@delivery.cam.eu.citrix.com \
    --to=streapadair@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).