Thread View: news.software.readers
5 messages
5 total messages
Started by Jonathan A.
Sat, 20 Sep 2003 21:12
[slrn] Request range of headers? (a la Xnews Ctrl+Enter)
Author: Jonathan A.
Date: Sat, 20 Sep 2003 21:12
Date: Sat, 20 Sep 2003 21:12
24 lines
1736 bytes
1736 bytes
Anyone know of a way to do this? What I mean is I'm looking for a way to tell slrn to request headers only within a specified range of article numbers on the server. e.g... If the server has articles numbered 946591-952713 in a certain group, and I only want articles from a certain day, it would be helpful if I could request, say, headers 947500-950000 to avoid downloading all the headers that I don't want. I'm sure it's possible to edit my .jnewsrc to accomplish this, but perhaps someone knows of a simpler way... maybe a macro out there? Google has not been my friend on this one. :( Thanks for any suggestions, Jonathan -- Don't just hit reply. Email address is broken. Thank your friendly neighborhood spammer. Email replies to: user: jnthn1 domain: earthlink<dot>net
Re: [slrn] Request range of headers? (a la Xnews Ctrl+Enter)
Author: J.B. Nicholson-Owens
Date: Sun, 21 Sep 2003 05:55
Date: Sun, 21 Sep 2003 05:55
32 lines
2712 bytes
2712 bytes
Jonathan A. wrote: > If the server has articles numbered 946591-952713 in a certain > group, and I only want articles from a certain day, it would be helpful > if I could request, say, headers 947500-950000 to avoid downloading all > the headers that I don't want. Neither slrn nor NNTP really cater to this type of access. If you want all the articles from a certain day, I'd recommend either using a news archive that lets you select articles by date, setting up an offline pool of articles (slrnpull or some other proxy), or estimating it by downloading more articles than you need and removing the articles you don't want. With an offline pool of articles or enough NOV data, any news reader could do this search as well as any other. The third option could be done with a slrn macro, for example, but since you want to avoid downloading more articles than you need this approach isn't going to be perfect for you. NNTP isn't going to be helpful here either--it is not designed for this kind of access. Article numbers have no obvious correlation to the day in which the article was posted or received. You'll either have to settle for a fast-and-inaccurate list of results or slow-but-accurate list of results. The main thing separating the fast and slow algorithms is how quickly your search program can download the headers or NOV data and the assumption that date rise with article numbers (articles posted later have higher article numbers). This is not a valid assumption, but it could be valuable for a quick search over a low-bandwidth pipe searching a large group. If I recall correctly, CPAN offers NNTP modules that should come in handy whipping up programs to do this kind of search. Good luck.
Re: [slrn] Request range of headers? (a la Xnews Ctrl+Enter)
Author: Jonathan A.
Date: Sun, 21 Sep 2003 08:57
Date: Sun, 21 Sep 2003 08:57
42 lines
2673 bytes
2673 bytes
On 21 Sep 2003 05:55:41 GMT, J.B. Nicholson-Owens <jbn@forestfield.org> appears to have said: > Jonathan A. wrote: >> If the server has articles numbered 946591-952713 in a certain >> group, and I only want articles from a certain day, it would be helpful >> if I could request, say, headers 947500-950000 to avoid downloading all >> the headers that I don't want. > > Neither slrn nor NNTP really cater to this type of access. If you want all > the articles from a certain day, <snip> Sounds like some good ideas, but I should have been more clear, I guess. "A certain day" was an unfortunate choice of wording on my part, as all I am really after is the ability to retrieve headers within a specified range of article numbers on the server... as in my subject... a la Xnews "Ctrl+Enter", which allows the user to select a start and end point of header numbers to retrieve. That way it's easy, after discovering where a multi-part posting in a large binary group begins and ends, to request the headers necessary to reassemble it without fetching headers for thousands of other articles, which is especially wasteful if the post is a few days old, and the group is high volume. As I'm still just learning bash scripting, S-lang and Perl are quite beyond my grasp at this point, so I don't see myself concocting any programs to do it myself anytime soon. > Good luck. Thanks... looks like I'll need it. Jonathan -- Don't just hit reply. Email address is broken. Thank your friendly neighborhood spammer. Email replies to: user: jnthn1 domain: earthlink<dot>net
Re: [slrn] Request range of headers? (a la Xnews Ctrl+Enter)
Author: J.B. Nicholson-Owens
Date: Tue, 23 Sep 2003 03:39
Date: Tue, 23 Sep 2003 03:39
23 lines
2020 bytes
2020 bytes
Jonathan A. wrote: > [...A]ll I am really after is the ability to retrieve headers > within a specified range of article numbers on the server... as in > my subject... slrn essentially anchors the range of articles it will fetch at the high end of the available article range, so this makes it difficult to specify arbitrary ranges of articles without downloading more information than requested. Consider these lines from a slrn debug log where I requested 10 articles from rec.antiques.bottles (the range is inclusive, so it really is 10 articles): <211 88 11732 11819 rec.antiques.bottles >XOVER 11810-11819 I suspect slrn works this way because slrn is designed for reading new news. For this purpose, slrn's approach is handy. Fortunately for you, slrn is Free Software, so you can alter it or get someone to alter it for you. What you're talking about doing would require a patch to slrn. A macro would not have the ability to specify the new upper limit on the range of articles you want it to download.
Re: [slrn] Request range of headers? (a la Xnews Ctrl+Enter)
Author: Jonathan A.
Date: Wed, 24 Sep 2003 05:36
Date: Wed, 24 Sep 2003 05:36
19 lines
1646 bytes
1646 bytes
On 23 Sep 2003 03:39:05 GMT, J.B. Nicholson-Owens <jbn@forestfield.org> appears to have said: > > What you're talking about doing would require a patch to slrn. A macro > would not have the ability to specify the new upper limit on the range of > articles you want it to download. Thanks for the tips. Looks like I have to decide how much effort it's really worth to have this. :) ciao, Jonathan -- Don't just hit reply. Email address is broken. Thank your friendly neighborhood spammer. Email replies to: user: jnthn1 domain: earthlink<dot>net
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