From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5077 Path: news.gmane.org!not-for-mail From: John Fry Newsgroups: gmane.emacs.gnus.user Subject: run script over each article in group? Date: Mon, 16 May 2005 17:08:11 -0700 Organization: Chez John Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670892 26006 80.91.229.2 (31 Jan 2006 01:28:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:28:12 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:34:44 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-X-Trace: individual.net Gm1mt5z/Lr7xMcYC4OHSSwDo+nd7dG5tRET9wQATPcklemomg+ User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.1 (usg-unix-v) Cancel-Lock: sha1:sxF1bup2Myz4xJbtWYnMTPaZ5/Y= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5218 Original-Lines: 24 X-Gnus-Article-Number: 5218 Tue Jan 17 17:34:44 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5077 Archived-At: 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