🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56639

Re: Binary posting (MIME, yEnc, & co)

#56639
From: Jeffrey M. Vinocur
Date: Mon, 18 Feb 2002 22:13
54 lines
2309 bytes
In article <Xns91B9E9CB1E501M8@62.2.16.82>,
Mortimer  <mortimer.porte@usa.net> wrote:
>
>Still trying to code my own news reader (don't ask me why I got so 
>dumb to get such an idea)

Yes, did you read

http://www.newsreaders.com/misc/twpierce/news/newsreader-manifesto.html

first?


>Looking around and looking at all the output and input of a normal 
>news reader, I find that even a text file was not directly posted but 
>encoded first.

Well, it depends on the encoding scheme -- MIME can include text
files plain, for example.


>- how do I know that a binary is included in a post? (is the "begin 
>644 file-name ... end" the standart key? where is this defined?)

It depends on the encoding used.  MIME is easy, it has a
standard.  uuencode you just guess, really.


>- what encoding is the standart? UU, MIME, yEnc? which one should I 
>use to post? (I should be able to read all of them...)

It should be up to the user -- look at an existing newsreader for
ideas.


>- how to know which encoding is used?

Try them all.


>- where to find definitions (algorithm) for all those encoding?

MIME has an RFC.  The others...try google.


>does somebody know java api that already suport them?

I don't...there might be one for MIME, though.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <a4ru9h$akj$1@marduk.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <Xns91B9E9CB1E501M8@62.2.16.82>

Show Full Headers
Complete Article Headers
Message-ID: <a4ru9h$akj$1@marduk.litech.org>
Subject: Re: Binary posting (MIME, yEnc, & co)
Date: Mon, 18 Feb 2002 22:13:05 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <Xns91B9E9CB1E501M8@62.2.16.82>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 53
Sender: jeff@litech.org
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 1014070385 10899 128.84.154.54 (18 Feb 2002 22:13:05 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 18 Feb 2002 22:13:05 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)