Thread View: news.software.readers
4 messages
4 total messages
Started by Frank Slootweg
Wed, 17 Sep 2003 15:06
[Hamster] Set order of pulled newsgroups?
Author: Frank Slootweg
Date: Wed, 17 Sep 2003 15:06
Date: Wed, 17 Sep 2003 15:06
16 lines
1715 bytes
1715 bytes
Can you set the order in which Hamster (Classic, 2.0.0.1) pulls the newsgroups for a particular server (or all servers)? If so, how? I pull a number of newsgroups which includes one with very heavy traffic (thousands of articles per day), so I would like to pull that group at the end of the set of pulls. The lists of newsgroups in the "News Configuration" screens, seem all to be alphabetically sorted, but the pulling is not in alphabetical order. I can not figure out the 'logic' in the order, if any. I looked in the configuration files, the Help, the FAQ and did a bit of Google-ing, but found no pointers. Thanks in advance for any and all responses.
Re: [Hamster] Set order of pulled newsgroups?
Author: Markus G. Klötzer
Date: Wed, 17 Sep 2003 16:31
Date: Wed, 17 Sep 2003 16:31
24 lines
2088 bytes
2088 bytes
Frank Slootweg <this@ddress.is.invalid> wrote:
> I pull a number of newsgroups which includes one with very heavy
> traffic (thousands of articles per day), so I would like to pull that
> group at the end of the set of pulls.
>
> The lists of newsgroups in the "News Configuration" screens, seem all
> to be alphabetically sorted, but the pulling is not in alphabetical
> order. I can not figure out the 'logic' in the order, if any.
The buildin setup is to pull the ones with the heaviest traffic first
(as counted in the local database). Have you considered to pull more
than one thread so while the heavy group struggles along the rest gets
pulled at the same time (making use of otherwise unused bandwidth)
cu
mgk
--
Korpela's 42 Laws about Usenet:
31. Usenet punctuation uses two or more consecutive question
marks (??) to indicate lack of any question worth answering.
http://www.cs.tut.fi/~jkorpela/usenet/laws.html
Re: [Hamster] Set order of pulled newsgroups?
Author: Ted S.
Date: Wed, 17 Sep 2003 17:42
Date: Wed, 17 Sep 2003 17:42
35 lines
2601 bytes
2601 bytes
Somebody claiming to be Frank Slootweg <this@ddress.is.invalid> wrote in news:GL_9b.315439$lA6.9561399@castor.casema.net: > Can you set the order in which Hamster (Classic, 2.0.0.1) pulls the >newsgroups for a particular server (or all servers)? If so, how? > > I pull a number of newsgroups which includes one with very heavy >traffic (thousands of articles per day), so I would like to pull that >group at the end of the set of pulls. > > The lists of newsgroups in the "News Configuration" screens, seem all >to be alphabetically sorted, but the pulling is not in alphabetical >order. I can not figure out the 'logic' in the order, if any. > > I looked in the configuration files, the Help, the FAQ and did a bit >of Google-ing, but found no pointers. You might get a better result on the Hamster groups, so I've added hamster.en.config to the list of newsgroups and set the follow-up there. However, I have a feeling the Hamster experts are going to say the answer (if one exists) involves writing a script and harangue the two of us for not posting this in hamster.en.scripts. ;-) Look for the HamNewsJobsPull section of the "Built-in Functions (server)" link on the Hamster-Scripts page of the help, specifically the <group- select> parameter. I'm quite lousy at scripting, so I'm not certain this will do what you want. -- Ted S.: change .spam to .net to reply by e-mail Homer Simpson: I'm sorry Marge, but sometimes I think we're the worst family in town. Marge: Maybe we should move to a larger community. <http://www.snpp.com/episodes/7G04.html>
Re: [Hamster] Set order of pulled newsgroups?
Author: Antonio 'Gandalf' Favata
Date: Wed, 17 Sep 2003 22:19
Date: Wed, 17 Sep 2003 22:19
30 lines
2334 bytes
2334 bytes
news.software.readers ~ 17/9/2003 17.06 ~ Frank Slootweg:
> Can you set the order in which Hamster (Classic, 2.0.0.1) pulls the
> newsgroups for a particular server (or all servers)? If so, how?
With a simple script:
sub getnews
if (RasIsConnected)
HamNewsJobsClear
HamNewsJobsPull("your.serv.er", "first\.pulled\.NG")
HamWaitIdle
HamNewsJobsPull("your.serv.er", "second\.pulled\.NG")
HamWaitIdle
HamNewsJobsPull("your.serv.er", "third\.pulled\.NG")
HamWaitIdle
HamNewsJobsStart
endif
endsub
As the second parameter of HamNewsJobsPull is a regex, be careful while
writing the group names: you should �protect� ., - and + with a trailing
\ [also some other characters like *, (, ), [, ] should be protected, but
none of them is allowed in newsgroup names, AFAIK].
--
Fare Well! | gandalf@ithn.net ~ ICQ# 16553733 ~ now: 18/09/2003 0.19.32
G | 40tude Dialog (presto in Italiano): http://snurl.com/dialog
We don't need no education / We dont need no thought control
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