Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: John Fry <john+usenet@johnfry.org>
Subject: run script over each article in group?
Date: Mon, 16 May 2005 17:08:11 -0700	[thread overview]
Message-ID: <ygad5rq1zpw.fsf@Clam.AI.SRI.COM> (raw)

Hi,

I'd like to be able to automatically process every article that come
in to one particular group.

The group in question is an RSS group.  As headlines and URLs are
posted to this group, I want to automatically download the articles
pointed to by the URLs (using, say, wget), then search the articles
for keywords and otherwise manipulate them automatically.

I only want this to happen in the RSS group, not in any other groups.

I'm guessing that the best approach is to write the script in elisp
and then plug it into an appropriate hook, for example
gnus-exit-group-hook.  The automatic processing could occur before or
after visiting the group, or even without visiting the group at all,
as far as I'm concerned.  I'm also open to other solutions, for
example daemons or procmail.

Any suggestions on how to do this would be much appreciated!

Best,

John


             reply	other threads:[~2005-05-17  0:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17  0:08 John Fry [this message]
2005-05-17  0:48 ` johnsu01
2005-05-17 23:11   ` John Fry

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=ygad5rq1zpw.fsf@Clam.AI.SRI.COM \
    --to=john+usenet@johnfry.org \
    /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).