Thread View: news.software.nntp
1 messages
1 total messages
Started by Becky Kearns
Thu, 29 Jul 1999 00:00
Pull deduping
Author: Becky Kearns
Date: Thu, 29 Jul 1999 00:00
Date: Thu, 29 Jul 1999 00:00
55 lines
3267 bytes
3267 bytes
Hi all,
Lets say that I want to be able to pull down multiple newsgroups
from the same server via ARTICLE, and I'd like to minimize the
downloading of duplicates so as to conserve net bandwidth.
As I see it I would need to create a history database based on
group/article number or message-id.
If I went with group/article number I could extract that from XRef
header in downloaded articles and when downloading:
A) Generate a wanted list based on range returned by GROUP or
B) Weed out the unwanted entries in LISTGROUP output
then Article <number> for each
If I went with message-id I could extract that from downloaded articles
and when downloading:
C) XOVER first, then gen list of wanted message-id's or
D) XHDR first, then gen list of wanted message-id's
then Article <message-id> for each
It seems A is the least common denominator but frankly I like
D and B better. I expect that if we're talking about a mainstream
ISP or corporate server all options would likely be available, but
I'm not sure. I'm in the early stages of everything and I need
some advice. What would you recommend?
If it helps any...
- This is a read-only application for post processing only. There
would be no [re]injection related issues.
- If I ever was to add multiple server support I would actually
*want* to download the same article from both servers. Sounds
odd but there is a reason for this. So if I went with Message-ID
I'd probably have to add the server name to the hash or something.
- Generally speaking, few newsgroups would be downloaded at a
time. Perhaps a typical maximum of 7. However, where multiple
newsgroups would be downloaded, duplicates would almost surely
be present. You might think of it as pick a group, then download
that group and any other groups to which there were crossposts
(not recursive).
- I haven't figured out the local storage and expiration architectures
yet, but I'm leaning towards one index and one data file per group.
Possibly with a reduping of articles so they show up in all the
appropriate group files and the group files can be "stand alone".
Maybe expire the history file entries first, then run through all the
index/data files and remove any articles which aren't present in
the history. Not particularly elegant but stand alone group cata
files would be convenient post-processing wise.
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