Article View: news.software.readers
Article #76743Re: Muliti-Part Posts
From: Jack
Date: Tue, 17 Apr 2001 07:00
Date: Tue, 17 Apr 2001 07:00
55 lines
3695 bytes
3695 bytes
On 16 Apr 2001 23:38:17 GMT, curt@kcwc.com (Curt Welch) wrote: >"Jack" <jkt@home.net> wrote: >> I am trying to write my own newsreader. Some questions: >> >> (1) What's the most reliable way to find out if the post is multi-part >> attachment? > >It's not easy. It's done mostly just by looking at the subject and then >seeing if there are other articles with similar subjects posted by the >same guy. There's a mime standard for multipart articles but it's not >used much on Usenet. But if you want to be complete, you should support >that as well. I want my program to automatically combine attachments (like Agent) instead of cluttering the screen with parts. Here is an example from one of the binaries newsgroup: Repost: LK Cisco CCNA 2 - Cd 1 of 5 - see (0/1) for posting nfo - [09/28] - LKCCNA2-cd1.r07 (08/45) Apparently the guy is trying to send a file, LKCCNA2-cd1.r07 in 45 parts. By looking at the subject, how would your program decide if this is multi-part post (45 parts in this case)? There are lots of stuff there -- like [09/28], which probably indicates that the cd has 28 rars. The program has to be real clever to not get confused due to (0/1), [09/28] and (08/45) all of which appear in the subject. You said I should look at other posts from the author when making a decision if the post is mult-part, but if the guy gets disconnected after sending 10 parts and resends rest of the parts using different name or email, wouldn't relying on author in that case be a problem? Another problem, what if rest of 44 parts are missing and I have only the above part? Nothing would be there to compare with. The program must make a decision whether the post is ordinary post with text or uuencoded post that is missing parts (i.e., to prevent the user from wasting time by downloading it). Another problem: If someone responds to the above post, the subject will become Re: Repost: LK Cisco CCNA 2 - Cd 1 of 5 - see (0/1) for posting nfo - [09/28] - LKCCNA2-cd1.r07 (08/45) The only difference is "Re:". The program has to be clever to figure out that this reply contains text and is not multi-part post which is missing parts. (i.e. it shouldn't prevent the user from downloading it). Another problem, what if the reply does indeed is uuencoded, posted as a fill to the series? The program must figure that out! I think it is probably impossible to be 100% certain. But I want to know how other newsreaders handle these problems. I can do what others do (that would be easy). Can anyone explain in little detail how his program handles the above cases?
Technical Details
Message-ID:
<cdlndtgon044rr98it2fimcg1vspk6kj9e@4ax.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!144.212.100.101!newsfeed.mathworks.com!cyclone.swbell.net!nnrp2.sbc.net.POSTED!not-for-mailReferences:
<ilrmdtkh8cmm2jpd1o6abgpvh29gq30vra@4ax.com> <20010416193817.627$0L@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <cdlndtgon044rr98it2fimcg1vspk6kj9e@4ax.com> Subject: Re: Muliti-Part Posts Date: Tue, 17 Apr 2001 02:00:06 -0500 From: "Jack" <jkt@home.net> References: <ilrmdtkh8cmm2jpd1o6abgpvh29gq30vra@4ax.com> <20010416193817.627$0L@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!144.212.100.101!newsfeed.mathworks.com!cyclone.swbell.net!nnrp2.sbc.net.POSTED!not-for-mail Newsgroups: news.software.readers X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 54 NNTP-Posting-Host: 64.216.140.115 X-Complaints-To: abuse@swbell.net X-Trace: nnrp2.sbc.net 987490793 64.216.140.115 (Tue, 17 Apr 2001 01:59:53 CDT) NNTP-Posting-Date: Tue, 17 Apr 2001 01:59:53 CDT Organization: SBC Internet Services