🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74623

Re: How to find all the parts of a multipart message?

#74623
From: Bill Cole
Date: Sun, 07 Jan 2007 00:44
67 lines
4222 bytes
In article <h130q25vlu805dbl9pkdi8g3hvf5n77rhn@4ax.com>,
 Ralph Fox <-@-.invalid> wrote:

> On Tue, 02 Jan 2007 00:04:46 -0500, in message 
> <bill-DAE11D.00044602012007@toaster.scconsult.com>,
> Bill Cole wrote:
> 
> > In article <Xns98ABD53F32078ikkehierbe@195.130.132.70>,
> >  Ikke <ikke@hier.be> wrote:
> > 
> > > For instance, someone posts a message existing of 4 parts - how do I know 
> > > those parts belong together? 
> > 
> > You can't, at least not all of the time. If the poster is using yEnc, 
> > you can probably figure out how to arrange the parts if they are 
> > present. If the poster used any other encoding, you are left guessing 
> > and playing the percentages. 
> 
> 
> For MIME multipart/partial, you only need the "Content-Type"
> headers to reliably figure out how to arrange the parts.  If you 
> are lucky, you can retrieve the "Content-Type" header with XHDR.

That is part of what I mean about guessing and playing percentages. Many 
sites do not provide any headers not in the overview via XHDR. Some 
provide non-overview headers if a message happens to be in the cache of 
the specific reader server you are asking. The result is that with an 
"XHDR Content-Type $RANGE"  you might get some of the headers you ask 
for, but a reader cannot know for sure whether the articles not showing 
a Content-Type from XHDR have an interesting one or not. 

(and no, I'm not kidding. The SBC/Prodigy news farm behaves this way.)


> For yEnc to give an advantage with the "Cats in Death Valley" 
> example below, you need to download the body first.

The yEnc draft provides a clear, flexible, and almost deterministically  
parsable standard for Subject lines that is "strongly recommended" which 
in non-pathological cases (i.e. without " or 'yEnc' in either Comment 
part) would disambiguate a conforming Subject. My example does not 
follow the yEnc convention. Neither do many idiots who post in yEnc, so 
I suppose I should have specified 'rigorously compliant yEnc' instead of 
just 'yEnc' as being a format one can figure out easily from a header 
that should be in every overview. 

> 
> > A lot of clients do a reasonably good job 
> > (maybe even 90%) by heuristically parsing Subject headers, but posters 
> > will do things you do not expect. For example, I have seen posters using 
> > both "part of file" and "file of series" numbering in the Subject line 
> > like this:
> > 
> > Subject: Hot kitty porn: Cats in Death Valley (1/4) (1/4)
> > Subject: Hot kitty porn: Cats in Death Valley (3/4) (1/4)
> > Subject: Hot kitty porn: Cats in Death Valley (1/4) (2/4)
> > Subject: Hot kitty porn: Cats in Death Valley (4/4) (1/4)
> > Subject: Hot kitty porn: Cats in Death Valley (2/4) (1/4)
> > Subject: Hot kitty porn: Cats in Death Valley (2/4) (2/4)
> > Subject: Hot kitty porn: Cats in Death Valley (3/4) (2/4)
> > Subject: Hot kitty porn: Cats in Death Valley (2/4) (3/4)
> > 
> > Given all 16 pieces, a client has a 50/50 shot at guessing the right way 
> > to order the posts.

-- 
Now where did I hide that website...
Technical Details
Message-ID: <bill-61FD4B.19440106012007@toaster.scconsult.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!feed118.news.tele.dk!news.scconsult.com!bill
References: <Xns98ABD53F32078ikkehierbe@195.130.132.70> <bill-DAE11D.00044602012007@toaster.scconsult.com> <h130q25vlu805dbl9pkdi8g3hvf5n77rhn@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <bill-61FD4B.19440106012007@toaster.scconsult.com>
Subject: Re: How to find all the parts of a multipart message?
Date: Sat, 06 Jan 2007 19:44:01 -0500
From: Bill Cole <bill@scconsult.com>
References: <Xns98ABD53F32078ikkehierbe@195.130.132.70> <bill-DAE11D.00044602012007@toaster.scconsult.com> <h130q25vlu805dbl9pkdi8g3hvf5n77rhn@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.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!feed118.news.tele.dk!news.scconsult.com!bill
Newsgroups: news.software.nntp
Organization: Solid Clues
Lines: 67
NNTP-Posting-Host: bigsky.scconsult.com
X-Trace: toaster.scconsult.com 1168130641 28114 192.168.2.102 (7 Jan 2007
X-Complaints-To: news@scconsult.com
NNTP-Posting-Date: Sun, 7 Jan 2007 00:44:01 +0000 (UTC)
User-Agent: MT-NewsWatcher/3.5.2 (Intel Mac OS X)