🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68940

Re: yEnc multipart binaries

#68940
From: Bas Ruiter
Date: Wed, 07 Apr 2004 21:46
22 lines
1898 bytes
> I'm currently making a newsreader in PHP, and I have some
> problemns finding out all the parts of a post. I could rely
> on the subject line (ie '(12/97)' for example) but I don't
> find it very satisfying.

The subject line IS the way to do it.

But don't rely on it.. it's an educated guess only.

You can improve the accuracy of grouping parts of a post
by looking at the time and the poster as well, for example.

> Is there a way of just reading only the 3 first lines of the body ?

Kind of... start reading the body, when you got what you want, kill
the connection. But that's not a very... friendly way of doing it.


Alternatively, you could wait till xBin becomes mainstream.. then
the info you want will be in the msgID. (This was a joke.. kind of :)
Technical Details
Message-ID: <39t870hhkkiism41r8anfi4g23hnupl4g4@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.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!news.cambrium.nl!news.cambrium.nl!newshub2.home.nl!newshub1.home.nl!home.nl!not-for-mail
References: <9317993c.0404060723.2ed1c29e@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <39t870hhkkiism41r8anfi4g23hnupl4g4@4ax.com>
Subject: Re: yEnc multipart binaries
Date: Wed, 07 Apr 2004 23:46:44 +0200
From: Bas Ruiter <lordsnow@home.nl>
References: <9317993c.0404060723.2ed1c29e@posting.google.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.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!news.cambrium.nl!news.cambrium.nl!newshub2.home.nl!newshub1.home.nl!home.nl!not-for-mail
Newsgroups: news.software.nntp
Organization: @Home Benelux
Lines: 22
NNTP-Posting-Host: cc7224-a.ensch1.ov.home.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news2.tilbu1.nb.home.nl 1081374112 12585 212.120.80.34 (7 Apr 2004
X-Complaints-To: abuse@home.nl
NNTP-Posting-Date: Wed, 7 Apr 2004 21:41:52 +0000 (UTC)
X-Newsreader: Forte Agent 1.91/32.564