Article View: news.software.readers
Article #256801Re: Detecting threads
From: Adam H. Kerman
Date: Fri, 24 Jan 2014 14:29
Date: Fri, 24 Jan 2014 14:29
46 lines
3540 bytes
3540 bytes
Sandman <mr@sandman.net> wrote: >So, if you have a database full of usenet posts, and access to all headers >- what is the best way to determine thread relationships? The References >header is the obvious first suggestion here, but there is no guarantee that >it will contain the Message-ID of the original post. You're a few RFCs behind. In sloppily-written 1036, it was a SHOULD, and "original message" refers to what we've later called "immediate precursor article" in subsequent documents. Truncation of References was permissable, with no requirement to retain the Message-ID of the thread's root article, rather thoughtless. Starting with Son-of-1036, Followup agents SHOULD not shorten References headers. If it is absolutely necessary to shorten the header, as a desperate last resort, a followup agent MAY do this by deleting some of the message IDs. However, it MUST not delete the first message ID, the last three message IDs (including that of the immediate precursor), or any message ID mentioned in the body of the followup. it became a requirement that if References is truncated, it must still contain the Message-ID of the root article. This is retained in Grandson-of. trn, for instance, shortens References as allowed in Son-of. If a newsreader shortens References in some other way, or deletes the Message-ID of the root article, it is non-standard and the user should find another newsreader to use. Where have you run into this problem? The thread tree is, by definition, built by discovering branches all leading back to the root article, using strings of Message-IDs from References. When an article tree is built by using Subject, instead, or Subject-Date ordering, it's not actual threading but pseudo-threading, because it's still possible to follow the discussion but branches of the article tree aren't discoverable with Subject-Date ordering. >So, also considering that you may not HAVE the original post in the >database, how would you go about to find all the available posts in the >thread and keep database requests low? Use Howard Knight's Usenet article lookup to retrieve the missing article. http://al.howardknight.net/ You don't actually need it in your database till you want to read it.
Technical Details
Message-ID:
<lbttcs$dt9$2@news.albasani.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.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mailReferences:
<slrnle4klj.hp.mr@irc.sandman.net>Show Full Headers
Complete Article Headers
Message-ID: <lbttcs$dt9$2@news.albasani.net> Subject: Re: Detecting threads Date: Fri, 24 Jan 2014 14:29:48 +0000 From: "Adam H. Kerman" <ahk@chinet.com> References: <slrnle4klj.hp.mr@irc.sandman.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.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: albasani.net Lines: 46 X-Trace: news.albasani.net 9wHBnLV7qdk5sVU29hMYZgxmr1+FJo63XLaZIwtsuh8mQfwWtnARqFDwXqDfSiYolzSCNPIBvUln0JZQf85zy2gmJzS2bze6W4HaGjiQasHhZAgB/t8tgfWITwHsyRKd NNTP-Posting-Date: Fri, 24 Jan 2014 14:29:48 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="AuQbr/Gcjo9aBN9r/vXG3OLsl2Fw474cMg7JhkS75mnP/S7oO2ET+ecxJVbCO1BzFF8iJ86tnhcexizO2qoiE1sz95+H+l1+kCp6K+AjqvpA/loaeq9BiXpynK86o8qn"; mail-complaints-to="abuse@albasani.net" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Cancel-Lock: sha1:GqvaHL5pU9U7iQpJEUChelYPvKA=