From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56403 Path: main.gmane.org!not-for-mail From: Jonas Steverud Newsgroups: gmane.emacs.gnus.general Subject: Processing digests in non-RFC format? Date: Wed, 18 Feb 2004 12:34:51 +0100 Organization: The Deciples of Albericht Nibelungen Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1077104261 3755 80.91.224.253 (18 Feb 2004 11:37:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2004 11:37:41 +0000 (UTC) Original-X-From: ding-owner+M4943@lists.math.uh.edu Wed Feb 18 12:37:35 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtQ1H-00015I-00 for ; Wed, 18 Feb 2004 12:37:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AtPz6-0002qh-00; Wed, 18 Feb 2004 05:35:20 -0600 Original-Received: from mxfep01.bredband.com ([195.54.107.70]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AtPyw-0002qZ-00 for ding@lists.math.uh.edu; Wed, 18 Feb 2004 05:35:10 -0600 Original-Received: from c-e45372d5.036-4-67626721.cust.bredbandsbolaget.se.bredband.net ([213.114.83.153] [213.114.83.153]) by mxfep01.bredband.com with ESMTP id <20040218113438.YYS29350.mxfep01.bredband.com@c-e45372d5.036-4-67626721.cust.bredbandsbolaget.se.bredband.net> for ; Wed, 18 Feb 2004 12:34:38 +0100 Original-To: ding@lists.math.uh.edu Mail-Copies-To: never User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (darwin) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56403 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56403 Hello. I use Gnus v5.10.6 (will start use No Gnus RSN) and I receive a digest from a swedish web forum/discussion board everuy day. The problem is that they have in all their luserdoom invented a digest format of their own so I need to do quite some washing. What I recieve: Each email is a digest with one email for each forum I read. Each digest contains all messages in that forum for the last 24 hours with a line of dashes (-) between. They use ^M for EOL marker. Each message contains the *swedish* words for Subject (Ämne), From (Inlagt av) and Date (Datum). The individual messages also contains some HTML (e.g.
). What I want to do: I want to make Gnus call a function (e.g. js-gnus-wash-digest) wich will wash the digest so that Gnus can recognize it as a number of seperate emails and present it as if I received a number of separate emails. I archived this for about a year ago with the help of procmail, sed and formail but I have changed mail delivery method since then (from sendmail on a Solaris system to POP on a Mac - and no, I do not want to use fetchmail and configure some MTA to handle the email locally just so I can use that ad hoc kludge again, to much work and hassle). My main problem is to which hook to add this js-gnus-wash-digest function and will Gnus see that there are several emails and not just one? The implementation of js-gnus-wash-digest is quite straightforward I think, a number of regexp replacements. Did anyone understand what I'm looking for? -- ( http://hem.bredband.net/steverud/ ! Wei Wu Wei ) ( Meaning of U2 Lyrics, Roleplaying ! To Do Without Do )