Thread View: news.software.nntp
4 messages
4 total messages
Started by Dado
Sat, 14 May 2005 08:15
Developper questions for a new NNTP Software
Author: Dado
Date: Sat, 14 May 2005 08:15
Date: Sat, 14 May 2005 08:15
60 lines
2657 bytes
2657 bytes
Hello, I develop a new NNTP Read soft for myself, but I have a question and anywhere, I found the answer, maybe, you could help me. A binary file in a newsgroup has been split in multipart of file like this: Number Subject Message-ID 992451 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (01/41) <4266604d$0$8886$636a15ce@news.free.fr> 992454 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (02/41) <42666076$0$8886$636a15ce@news.free.fr> 992457 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (03/41) <4266609d$0$8886$636a15ce@news.free.fr> 992460 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (04/41) <426660c8$0$8886$636a15ce@news.free.fr> .. To retrieve a unique subject, I must to rename of multipart like this: Number Subject Message-ID 992451 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (XX/41) <4266604d$0$8886$636a15ce@news.free.fr> 992454 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (XX/41) <42666076$0$8886$636a15ce@news.free.fr> 992457 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (XX/41) <4266609d$0$8886$636a15ce@news.free.fr> 992460 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (XX/41) <426660c8$0$8886$636a15ce@news.free.fr> .. Now I can see a Unique Subject like "(TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (XX/41)" But my question is: If a other user post the same file with the same subject, How I can make the difference ? Because in this case, normally, I must display on my NNtp Read two files with twice unique subject and not only one. Thanks David
Re: Developper questions for a new NNTP Software
Author: Curt Welch
Date: Sat, 14 May 2005 11:45
Date: Sat, 14 May 2005 11:45
24 lines
2102 bytes
2102 bytes
"Dado" <ParadiseAfterWar@yahoo.fr> wrote: > Now I can see a Unique Subject like "(TImNZB) by BullFroggy (02/17) > Dany.part01.rar -yEnc (XX/41)" > > But my question is: If a other user post the same file with the same > subject, How I can make the difference ? Because in this case, normally, > I must display on my NNtp Read two files with twice unique subject and > not only one. Matching up multipart posts is not always possible. No matter how complex you make your code, there will be cases where your code will not be able to match up the articles correctly. If they have the same subject (down to the part count), then it's fairly safe to assume it's a repost of the same file. In that case, you might not want to show them as separate posts. But, you might do things like check the From: as well, and only show it as a single post if the from and the subject match. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Re. Developper questions for a new NNTP Software
Author: Elmar Baumann
Date: Sun, 12 Jun 2005 06:36
Date: Sun, 12 Jun 2005 06:36
39 lines
2098 bytes
2098 bytes
>Dado wrote in Article <4285b3a4$0$31167$9a6e19ea@unlimited.newshosting.com> >with Subject: Developper questions for a new NNTP Software, on 14.05.2005 10:15:31 > But my question is: If a other user post the same file with the same >subject, How I can make the difference ? Because in this case, normally, I >must display on my NNtp Read two files with twice unique subject and not >only one. Hello, the simple Answer is: you cannot! There is no standard way to handle splitted binaries. Have a look to all NNTP related RFC's. The only way is manually download the messages and hope if the its posted correctly. Regards Elmar Baumann ------------------------------------------------------------------------------ Indy9 NNTP Internet News Reader/Writer, E. Baumann Software 2005 Portions of this Software are Copyright (c) 1993 - 2005, Chad Z. Hower (Kudzu) and the Indy Pit Crew <http://www.IndyProject.org/>
Re: Developper questions for a new NNTP Software
Author: Bill Davidsen
Date: Tue, 28 Jun 2005 17:18
Date: Tue, 28 Jun 2005 17:18
34 lines
2892 bytes
2892 bytes
Dado wrote: > Hello, > > I develop a new NNTP Read soft for myself, but I have a question and > anywhere, I found the answer, maybe, you could help me. > > A binary file in a newsgroup has been split in multipart of file like this: > > Number Subject > Message-ID > > 992451 (TImNZB) by BullFroggy (02/17) Dany.part01.rar -yEnc (01/41) > <4266604d$0$8886$636a15ce@news.free.fr> You can't be sure unless the poster has done the post correctly, which many do not. You can look at the subject, from, message-id, and posting-host headers to help, and perhaps the date to identify reposts, but there's no sure way because people exercise creativity. Before you ask, my idea of "correctly" is that after part one, part two will have a references header back to part one, and after that each part will have a reference header of the previous part AND the first part, which helps thread in sensible order. I also mean all parts are the same size, not N-1 huge parts and a small leftover as the last. That leads to site dropping the N-1 on size limitation, while equal size means all or nothing. None of that prevents odd site policy or client weirdness from messing up :-( -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
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