Article View: news.software.readers
Article #133634Re: [Hamster] Set order of pulled newsgroups?
From: 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
Technical Details
Message-ID:
<18aw7g86rya9y$.dlg@gandalf.my-fqdn.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!212.141.244.170!not-for-mailReferences:
<GL_9b.315439$lA6.9561399@castor.casema.net>Show Full Headers
Complete Article Headers
Message-ID: <18aw7g86rya9y$.dlg@gandalf.my-fqdn.de> Subject: Re: [Hamster] Set order of pulled newsgroups? Date: Thu, 18 Sep 2003 00:19:33 +0200 From: Antonio 'Gandalf' Favata <gandalf@ithn.net> References: <GL_9b.315439$lA6.9561399@castor.casema.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!212.141.244.170!not-for-mail Newsgroups: news.software.readers Organization: the White Council Lines: 29 NNTP-Posting-Host: 212.141.244.170 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 1063837207 27173650 212.141.244.170 (16 [197363]) X-Now-Playing: DB Boulevard - Believe User-Agent: 40tude_Dialog/2.0.5.133it (480d8ce6.465.36) Hamster/2.0.2.2 X-Face: &]^_njQjKuBI.th%)W1+ESkFY4E:r*#8}rkHLF'QTLo,>mql9aGkV*,v.-,qVdu&8Xk(6K X-Pets: Merry [male cat], Mystra [female hamster], John Mayall [pelouche pig], Alice [my love ;*]