Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* run script over each article in group?
@ 2005-05-17  0:08 John Fry
  2005-05-17  0:48 ` johnsu01
  0 siblings, 1 reply; 3+ messages in thread
From: John Fry @ 2005-05-17  0:08 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: run script over each article in group?
  2005-05-17  0:08 run script over each article in group? John Fry
@ 2005-05-17  0:48 ` johnsu01
  2005-05-17 23:11   ` John Fry
  0 siblings, 1 reply; 3+ messages in thread
From: johnsu01 @ 2005-05-17  0:48 UTC (permalink / raw)


John Fry <john+usenet@johnfry.org> writes:

> 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!
>

I did something like this using rss2email, procmail, and wget. I think that's a
good combination for what you want to do.

-- 
-johnsu01
-http://www.wjsullivan.net
-GPG Key: AE8600B6


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: run script over each article in group?
  2005-05-17  0:48 ` johnsu01
@ 2005-05-17 23:11   ` John Fry
  0 siblings, 0 replies; 3+ messages in thread
From: John Fry @ 2005-05-17 23:11 UTC (permalink / raw)


johnsu01 <x@x.x> writes:

> John Fry <john+usenet@johnfry.org> writes:
>
>> 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!
>>
>
> I did something like this using rss2email, procmail, and wget. I
> think that's a good combination for what you want to do.

Yes, that's exactly what I need.  Thanks for the excellent tip!

Best,

John


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-17 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-17  0:08 run script over each article in group? John Fry
2005-05-17  0:48 ` johnsu01
2005-05-17 23:11   ` John Fry

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