🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Douglas Bollinger Sun, 27 Jun 1999 00:00
Gravity: Rule to d/l digests in order and save?
#49490
Author: Douglas Bollinger
Date: Sun, 27 Jun 1999 00:00
54 lines
2087 bytes
Here's one for the rules gurus.  

A certain newsgroup, linux.redhat.digests, has posts of digest 
versions of an email list.  I like to d/l all the new digests in 
this group into one big .TXT file and take them to work to read 
during lunch break.

I made a rule to d/l the posts and save them to a file on my 
harddrive.  It works great, but the rule will not save the digests 
in numerical order:  you might get digest #95, then #91, then #99, 
etc.  Obviously, this doesn't work very well.

As a work around, I've found I can make it work by tagging one post 
at a time and then executing the rule.  The rule marks the post it 
d/l's as read, so I just tag the next post on top and continue.  
This works, but is a little cludgy.

Can anyone help me write a better rule?

Here's the rule I'm using now:

*************************************

rule = Download RH digests
  enabled = No
  allgroups = No
begin groups
  linux.redhat.digest
end groups
begin condition
  From contains "redhat-digest-request@redhat.com"
  And
  Marked as unread
  And
  Marked as tagged for download
end condition
begin actions
  saveTo C:\download\linux\RHDigest.txt
  markAsRead
end actions
end rule

*************************************

PS:  The posts that I want have a subject like "redhat-digest Digest 
V99 #1346"

-- 
Douglas Bollinger
Mt. Holly Springs, PA   17065

My other computer runs Linux.

Re: Gravity: Rule to d/l digests in order and save?
#49501
Author: Douglas Bollinger
Date: Mon, 28 Jun 1999 00:00
53 lines
2654 bytes
nfn03862@naples.net at nfn03862@naples.net says...

> One thing you could do is sort the display, highlight all at once by 
> dragging and press 't' to tag everything at once.
> 
> If the articles are interspersed with other articles which requires 
> you to pick and choose make a display filter ..
> 
> 	articles that are unread
> 
> 	AND
> 
> 	subject contains "redhat-digest Digest V99"
> 
> Make it sort the way you want (keep in mind the filter can thread or 
> sort by date etc.) and it will make your job even easier.

Uh, hate to throw a monkey wrench in your suggestion, but this was 
one of the ways I already tried.  It seems that the order of the 
display has NO relation to the order the digests are downloaded.  
I'm not sure how Gravity decides which article should be downloaded 
first and in what order, but the filter seems to do nothing but 
effect the display.

> Next the rule, this may be only a marginal improvement, if it works at 
> all.
> 
> If the articles can be sorted in order on the screen (if not alphabetic 
> maybe by date?) you may be able to modify your rule. Remove the condition 
> as tagged for download. Instead make the rule apply to  unread articles. 
> Then, with the display sorted (use your filter maybe), drag the mouse 
> over the entire set you want and run the rule manually, I think it will 
> save them in order.

<snip>

The first rule I tried was almost exactly like this, but it didn't 
work correctly for the above reason: the filter display does not 
control the order in which articles are downloaded.

I'm sure there must be a way to do this, for Gravity can download 
multi-part binary posts in the correct order.  How I can do this 
with rules is not clear to me.

Thanks for the suggestions, though.

-- 
Douglas Bollinger
Mt. Holly Springs, PA   17065

My other computer runs Linux.

Re: Gravity: Rule to d/l digests in order and save?
#49521
Author: nfn03862
Date: Mon, 28 Jun 1999 00:00
53 lines
2710 bytes
Douglas Bollinger posted ...

> A certain newsgroup, linux.redhat.digests, has posts of digest 
> versions of an email list.  I like to d/l all the new digests in 
> this group into one big .TXT file and take them to work to read 
> during lunch break.
> 
> I made a rule to d/l the posts and save them to a file on my 
> harddrive.  It works great, but the rule will not save the digests 
> in numerical order:  you might get digest #95, then #91, then #99, 
> etc.  Obviously, this doesn't work very well.
> 
> As a work around, I've found I can make it work by tagging one post 
> at a time and then executing the rule.  The rule marks the post it 
> d/l's as read, so I just tag the next post on top and continue.  
> This works, but is a little cludgy.

One thing you could do is sort the display, highlight all at once by 
dragging and press 't' to tag everything at once.

If the articles are interspersed with other articles which requires 
you to pick and choose make a display filter ..

	articles that are unread

	AND

	subject contains "redhat-digest Digest V99"

Make it sort the way you want (keep in mind the filter can thread or 
sort by date etc.) and it will make your job even easier.


Next the rule, this may be only a marginal improvement, if it works at 
all.

If the articles can be sorted in order on the screen (if not alphabetic 
maybe by date?) you may be able to modify your rule. Remove the condition 
as tagged for download. Instead make the rule apply to  unread articles. 
Then, with the display sorted (use your filter maybe), drag the mouse 
over the entire set you want and run the rule manually, I think it will 
save them in order.

The drawback to using a rule that applies to all articles is that if only 
one article is selected the rule will act on the whole group list. (so be 
forewarned and do not enable for incoming!). The moral of the story is 
always select more than one !

-- 
   Tom B.   ** Gravity Page **
   http://www.naplesfl.net/~tbates/gravity/

Re: Gravity: Rule to d/l digests in order and save?
#49540
Author: Tom B.
Date: Tue, 29 Jun 1999 00:00
26 lines
1578 bytes
Douglas Bollinger posted ...

[snip]
 
> Uh, hate to throw a monkey wrench in your suggestion, but this was 
> one of the ways I already tried.  It seems that the order of the 
> display has NO relation to the order the digests are downloaded.  
> I'm not sure how Gravity decides which article should be downloaded 
> first and in what order, but the filter seems to do nothing but 
> effect the display.
> 
 
> The first rule I tried was almost exactly like this, but it didn't 
> work correctly for the above reason: the filter display does not 
> control the order in which articles are downloaded.

[snip]

Oh well it was worth a shot. I might play around with it later. If I find 
anything I'll let you know.

-- 
   Tom B.   ** Gravity Page **
   http://www.naplesfl.net/~tbates/gravity/

Re: Gravity: Rule to d/l digests in order and save?
#49781
Author: Douglas Bollinger
Date: Fri, 09 Jul 1999 00:00
61 lines
2423 bytes
TiGER at data21@mindspring.comNOSPAM says...

> Have you tried selecting the posts and then running the rule?  For me 
> it downloaded them in order when I did this.

IT WORKED!!!

Thanks Tiger, you just saved me a bunch of tedious work!  Wow, that 
was so sweet watching Gravity download the articles in the correct 
order and save them to the file all by itself.

I was goofin' with this rule for about a half an hour last weekend, 
but gave up.  I never thought that highlighting the posts would have 
anything to do with what I wanted.

To those of you that missed the early post, I made a rule to 
download a mailing list digest that is posted to a newsgroup to a 
single text file for reading at a later time and place.  My rule 
worked well, except that it didn't download the articles in the 
correct order.  Tiger showed me that highlighting the posts before 
downloading them forces the posts to be saved in the correct order.  
Neat!

This has to be one for the FAQ, I've never seen mention of the 
"feature" of Gravity before.

Here's the rule I'm using:

_____________________________________

rule = Download RH digests
  enabled = No
  allgroups = No
begin groups
  linux.redhat.digest
end groups
begin condition
  From contains "redhat-digest-request@redhat.com"
  And
  Marked as unread
  And
  Marked as tagged for download
end condition
begin actions
  saveTo C:\download\linux\RHDigest.txt
  markAsRead
end actions
end rule

__________________________________


Thanks again, Tiger.  You made my day!

-- 
Douglas Bollinger
Mt. Holly Springs, PA   17065

My other computer runs Linux.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads