> Sorry. What I meant was the data format it expects and the commands to
> get the data. What is sent by an NNTP client to get the latest threads
> and what format is the return sent in. Same for each thread. Blackstone
> should allow for this, it's just the specifics.
News servers don't knopw anything about threads, they only know about groups. Threads is done entirely on the client side.
If you have a limited list of newsgroups you are interested in, you should store the last article number you have retrieved from the server for each group. Then you can loop over your list of groups and select each group (GROUP <groupname>). The response will tell you amongst others the last article in the group. If the ID is higher as the last you retrieved, use ARTICLE <articlenumber> repeatedly until you have them all. Then on to the next group.
Technically there is also the option to use NEWNEWS <group> <timestamp>, but that is disabled quite often.
The response from the server when retrieving articles will be formatted exactly the same as email messages (being able to send NNTP messages over SMTP used to be in a RFC).
Jochem
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
