🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60090

Re: Tech Question: How to programmatically determine attachment encoding method (base64, MIME, UUEncode, Yenc)?

#60090
From: Klaas
Date: Wed, 28 Aug 2002 05:52
32 lines
2725 bytes
After careful consideration, Andy H muttered:

> I'm a little confused by this paragraph.  I don't think I need hardly
> any computing power for this.  Basically I have a GUI with two fields
> which take user input: wildcarded group to search, and then wildcarded
> subject (maybe I'll add search by author later).  I then get all the
> matching groups from the server (LIST ACTIVE), select each group one
> at a time (GROUP), and use XPAT to search for the matching subject
> headers.  I present this as a list to the user.  Only when the user
> selects an article and requests to download it do I start the mess of
> determining whether or not there is an attachment and what type.  

Newsreaders that leverage XPAT already exist--see XNews for an example.  
I'm not sure that any currently allow a wildcard secification of the 
group, however.

It would be a lot easier to integrate a feature like that in a newsreader 
that already supports XPAT, because the problems of attatchment 
detection, decoding, multi-parts, etc. will have already been solved.  
Things like multiple server support, multi-threaded, streamed 
downloading, queues, et al. are already done.

It's not the XPAT search which is the difficult part, it is augmenting 
that into a useful binaries downloader.  And if you have acheived that, 
why not add "standard" header retrieval and call it a newsreader?

-Mike




Technical Details
Message-ID: <Xns927797BCC7943nothing@209.98.50.131>
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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!solnet.ch!solnet.ch!triton.net!smallfeed.triton.net!blue.readfreenews.net!news.readfreenews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
References: <um4up98ldl41dd@news.supernews.com> <5717n.k82200@archiver.winews.net> <um7j45ia9bfl55@news.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns927797BCC7943nothing@209.98.50.131>
Subject: Re: Tech Question: How to programmatically determine attachment encoding method (base64, MIME, UUEncode, Yenc)?
Date: Wed, 28 Aug 2002 05:52:30 +0000
From: Klaas <spamhole@klaas.ca>
References: <um4up98ldl41dd@news.supernews.com> <5717n.k82200@archiver.winews.net> <um7j45ia9bfl55@news.supernews.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!solnet.ch!solnet.ch!triton.net!smallfeed.triton.net!blue.readfreenews.net!news.readfreenews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: This is a valid email address
User-Agent: Xnews/5.04.25
Lines: 31
NNTP-Posting-Date: 28 Aug 2002 00:52:30 CDT
NNTP-Posting-Host: ee2fd5bf.authen.yellow.readfreenews.net
X-Trace: DXC=<0n<4J<ENm]XXWXmcV7BO^bQ9W<K20`3RO6Gh9bA988^=cW8ei1\82Q4E?RHcOQk;UY0]T72P?cg\C1biYmf66c]
X-Complaints-To: abuse@readfreenews.com