Thread View: news.software.nntp
5 messages
5 total messages
Started by Jay
Fri, 09 Feb 2001 15:35
multi-part posts
Author: Jay
Date: Fri, 09 Feb 2001 15:35
Date: Fri, 09 Feb 2001 15:35
9 lines
1122 bytes
1122 bytes
I'm writing a piece of software that reads articles from a group. Is there a site somewhere that explains how to multi-part posting works? TIA Jay
Re: multi-part posts
Author: The Archiver
Date: Sat, 10 Feb 2001 12:19
Date: Sat, 10 Feb 2001 12:19
47 lines
2381 bytes
2381 bytes
"Jay" <NO SPAMjay@cchange.com> wrote: >I'm writing a piece of software that reads articles from a group. Is there >a site somewhere that explains how to multi-part posting works? AFAIK there are no standard rules. The 'basic principle' is to encode as usual (UUencode, MIME) and split the result into pieces. Here some of my experiences from writing MyNews (which encodes and decodes multiparts): The only help for detecting and decoding multiparts are the part-numbers in the subject line: xxxxxx (1/10) xxxx ..... xxxxx (10/10) xxxxxx A part (0/10) indicates preceeding text info - and can be ignored. You collect all the part (1/10)...(10/10), sort them by number, eliminate illegal lines (empty lines, footers in every file) and connect them together. Some clients are using square brackets [1/10]. Some users make the job more difficult: They use both types in the same subject line: xxxx [1/20] yyyyyyy (1/10) zzzzzz This usually indicates many files (here: 20) splitted into parts: here: 10. The wierdest (and today seldom) thing is posting without brackets xxxxx 1/10 yyyyy . This is usually done by those who create the parts manually. The old method: xxxx 1 of 5 yyyyy is no longer used to indicate parts, but files. Most autoposters are adding the filename to the subject line. This is a good help for detecting. But some users are having meanwhile SPACES in their filenames. Then you must read the true filename from the first part and detect it in the subject lines. Last problem: Reposts (later date) - and follow ups must be sorted out. Usually all joining software supports manual collection and marking of parts. HTH -- The Archiver
Re: multi-part posts
Author: Jeremy
Date: Sun, 11 Feb 2001 23:28
Date: Sun, 11 Feb 2001 23:28
20 lines
1437 bytes
1437 bytes
The Archiver <archiver@i3w.com> wrote: >> I'm writing a piece of software that reads articles from a group. Is >> there a site somewhere that explains how to multi-part posting works? > > AFAIK there are no standard rules. > The 'basic principle' is to encode as usual (UUencode, MIME) and split > the result into pieces. With MIME there is a well-defined standard. With uuencoding, it's a crapshoot at best, as you have to rely on ambiguous subject-line parsing as you described in your post. Unfortunately, if you're writing a client, you pretty muchhave to include the ability to read multipart uuencode. But anyone who releases something that *posts* in that format these days ought to be shot. -- Jeremy | jeremy@exit109.com
Re: multi-part posts
Author: Jay
Date: Mon, 12 Feb 2001 14:00
Date: Mon, 12 Feb 2001 14:00
32 lines
2207 bytes
2207 bytes
Thanks guys, For posting I will check into mime, since I'm only reading what I'm posting to my own internal servers I will do the same for reading. Jay Jeremy <jeremy@exit109.com> wrote in message news:981934109.212405@news.netscum.dk... > The Archiver <archiver@i3w.com> wrote: > > >> I'm writing a piece of software that reads articles from a group. Is > >> there a site somewhere that explains how to multi-part posting works? > > > > AFAIK there are no standard rules. > > The 'basic principle' is to encode as usual (UUencode, MIME) and split > > the result into pieces. > > With MIME there is a well-defined standard. With uuencoding, it's a > crapshoot at best, as you have to rely on ambiguous subject-line parsing > as you described in your post. > > Unfortunately, if you're writing a client, you pretty muchhave to include > the ability to read multipart uuencode. But anyone who releases something > that *posts* in that format these days ought to be shot. > > -- > Jeremy | jeremy@exit109.com
Re: multi-part posts
Author: istoff
Date: Tue, 13 Feb 2001 08:38
Date: Tue, 13 Feb 2001 08:38
28 lines
1878 bytes
1878 bytes
On 10 Feb 2001 13:19:56 +0100, archiver@i3w.com (The Archiver) wrote: >"Jay" <NO SPAMjay@cchange.com> wrote: > > >You collect all the part (1/10)...(10/10), sort them by number, eliminate >illegal lines (empty lines, footers in every file) and connect them together. Hi, I missed most of this thread, but can I assume the following. 1) The NNTP specification doesn't have a standard for multipart messages. 2) news clients have to manually use text filtering of the subject lines, try and sort the separate messages into order before uu-decoding them. 3) Even the big boys like agent, etc, do it like that. (I know its implied by 2, but it still worth repeating...IMO). Wow. I've been doing this for a while and calling it a kludge. I always assumed that one day someone would point me to a little known RFC and everything would be clear. Thanks for the help. -Ian
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