Re: request article for next fetch via command line

Jim Hague <[email protected]> Fri, 08 Aug 2003 12:41:24 +0100 (BST)
Newsgroups gmane.network.noffle.user
Organization The Bear Cave
Message-ID <[email protected]>
On 02-Aug-2003 Dan Jacobson wrote:
> Not that I'm planning to use it, but I see noffle lacks a switch to
> request an article for the next fetch, from the command line.
> wwwoffle has "wwwoffle URL". noffle should have something similar with
> argument being <message id>.  Currently one must edit
> /var/spool/noffle/requested/*.

This isn't quite as straightforward as with wwwoffle. I can change Noffle to do
this reasonably straightforwardly - equivalent a simple Perl/Python script to
connect to Noffle and issue 'article <msgId>'. This will only work if Noffle
knows about the message ID - i.e. the message belongs to a currently-subscribed
group and its overview has already been downloaded. Let me know if you think
this is worthwhile.

Otherwise we get into a nasty can of worms about 'does this article exist',
'what group out of the xxx it is crossposted to should I try to auto-subscribe
to', and so forth. This would require a fair bit of work at Noffle's back-end,
to cope with trying to retrieve a message that you don't know exists and you
don't even have the overview for.

-- 
Jim Hague - [email protected]          Never trust a computer you can't lift.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01