🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55042

Re: Announce: yEncoding - site with info has been created.

#55042
From: The Archiver
Date: Thu, 08 Nov 2001 08:56
38 lines
2115 bytes
"=?ISO-8859-1?Q?Marcus=20M=F6nnig?=" <minibbjd@gmx.net> wrote:

>> The draft, additional comments, examples, sourcecode, .....
>
>Nice idea. I'll implement it in my newsreader project.

Thanks a lot for the support.
Without newsreaders which can decode and understand yEnc it has no chance.

>Just one question regarding the format:
>
>=ybegin part=1 line=128 size=500000 name=mybinary.dat
>
>You are mentioning quotes around filenames in the subject line, but there 
>are no quotes around the filename in the =ybegin line. Is the order of the 
>attribute/value pairs mandatory, so that everything after "name=" is the 
>filename? If not, filenames with spaces would break the parsing.

It would be really a good idea to make to order mandantory.
It would not be critical for part, line, size - but the 'name=' must be always
the last keyword.
I will add this to the "implementation notes'.
Thanks for finding this topic. 

>Generally, I like quotes a lot when parsing.

Yes - I like it too. But if the first people want to post filenames with 
quotes then this method still works. ;-)

I hope you agree that placing the 'name=' at the end of a line is the
best method to offer best flexibility combined with minimum effort
for extracting the filename.

-- 
Juergen, [The Archiver]


Technical Details
Message-ID: <05569.8b1201@archiver.winews.net>
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!sn-xit-01!supernews.com!news.alt.net!archiver.winews.net!not-for-mail
References: <3be943fa.12864292@news.alt.net> <37203.02644%dlg@40tude.com>

Show Full Headers
Complete Article Headers
Message-ID: <05569.8b1201@archiver.winews.net>
Subject: Re: Announce: yEncoding - site with info has been created.
Date: Thu, 08 Nov 2001 08:56:05 +0000
From: archiver@i3w.com (The Archiver)
References: <3be943fa.12864292@news.alt.net> <37203.02644%dlg@40tude.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!news.alt.net!archiver.winews.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 37
X-Newsreader: MyNews