The script fetches the emails from all the servers, but I can't get it
to pull articles from the newsserver.
As best I can understand the gibberish in the Help files, either of
these two lines:
HamNewsJobsStart("news.albasani.net,nntp")
HamNewsJobsPull("news.albasani.net,nntp")
should work, but neither of them does. When I run the script, it still
only fetches the email, and does (almost) nothing with the newsserver.
(The Tasks/Jobs at the bottom left of the status bar increments by 1 for
Jobs and never resets to 0.) I still have to go to the extra step of
going to Online -> NNTP Server -> and selecting the server manually from
there.
When I tried
HamNewsJobsPull("news.albasani.net")
the Tasks/Jobs incremented by 9 jobs, which is the number of groups it
should be pulling, but the script still only fetches the email, and
leaves the Jobs at 9 after all the email is fetched.
I've been at this all morning and the Help file is as clear as mud on
how to set up a script to do something as simple as pull from an NNTP
server. Any ideas on what I'm supposed to do?
--
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
HamNewsJobsPull("news.albasani.net,nntp")
HamNewsJobsStart
should work.
--
Regards,
LU Wei
PGP key ID: 0x92CCE1EA
> HamNewsJobsPost( <server> ) & HamNewsJobsPull( <server> ) only add
> jobs to job list, and HamNewsJobsStart starts doing jobs.
Ah, that at least makes sense
> so I think the following two lines:
>
> HamNewsJobsPull("news.albasani.net,nntp")
> HamNewsJobsStart
>
> should work.
What seems to have worked was
HamNewsJobsPullDef("news.albasani.net,nntp") combined with
HamNewsJobsStart. I'll see after I post this whether I need to add
another line for posting, too.
Not exactly; it must be either
| HamNewsJobsPullDef("news.albasani.net,nntp")
^^^ ^^^^
or
| HamNewsJobsPull("news.albasani.net")
^^^ ^^^^
Wolf 'RTFM' gang
--
I think, they're of different intention (and maybe of different age,
too). Instead of allowing to specify a port, HamNewsJobsPull has an
optional second parameter for selecting groups. Of course, it *would*
have been possible (IMHO at least) putting thse two features all
together in one function. I don't know, why at that time the authors
prefered to build separate functions.
Wolf 'maybe they later found specifying a port being superfluous, but
didn't want to remove a function already in use; maybe something else' gang
--