Gnus development mailing list
 help / color / mirror / Atom feed
From: Jonas Steverud <tvrud@bredband.net>
Subject: Processing digests in non-RFC format?
Date: Wed, 18 Feb 2004 12:34:51 +0100	[thread overview]
Message-ID: <m2brnwpqn8.fsf@c-e45372d5.036-4-67626721.cust.bredbandsbolaget.se> (raw)


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. <br>).

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  )




             reply	other threads:[~2004-02-18 11:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-18 11:34 Jonas Steverud [this message]
2004-05-16 18:13 ` Lars Magne Ingebrigtsen

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=m2brnwpqn8.fsf@c-e45372d5.036-4-67626721.cust.bredbandsbolaget.se \
    --to=tvrud@bredband.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).