🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #9005

Re: common news-article-access code (was Re: The mush is dead, long live the elm?)

#9005
From: Sam Rushing
Date: Thu, 12 May 1994 22:43
45 lines
3038 bytes
>>>>> "wd" == Wayne Davison <davison@borland.com> writes:
In article <CpLKsu.8LB@borland.com> davison@borland.com (Wayne Davison) writes:

  wd> Wayne Davison <davison@borland.com> wrote:
  >> What would be cool would be for a low-level mailbox-accessing
  >> library and a newsgroup-accessing library to be written in a
  >> compatible manner so that the trn interface layer (or the elm
  >> interface layer for that matter) could be used over the top to
  >> access the data in a threaded manner.

Ok, I missed the first part of this. (too busy coding to read news 8^)

I am implementing a Usenet-access library (called 'newsapi') that may
be a start at what you're looking for.  Currently, it knows about NNTP
& local file access.  It's still under development (I don't want to
consider it ready for prime-time until at least one newsreader is
written to use it).

I've developed it on linux, and tested it on SunOS, OSF/1 (dec
alpha), linux, and win32 (NT, win32s).

I have the beginnings of an interface to python, which I intend to use
as the extension language for a Windows newsreader, and possibly on
other platforms, it'd be nice to have a common easy-to-hack interface
across different machines.

I'm also thinking of adding a DCE/RPC interface (a form of RPC understood
by OSF/1 boxes, and Windows NT/Chicago).

It's a simple-minded API, you ask for article #x from group y, and you
get back an article 'object', that contains the article text, #lines,
#bytes, etc... which you can later free.

I could certainly use some feedback from newsreader authors.

If you're interested, a snapshot can be found at

ftp.ksc.nasa.gov:[pub.win3.private.proto]newsapi.zip
(you'll also find a day-old nt/python/newsapi stuff there)

-Sam
--
-- 
rushing@titan.ksc.nasa.gov	(work)
rushing@squirl.oau.org		(home)
Technical Details
Message-ID: <RUSHING.94May12184327@Zeno.ksc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!ames!dale.ksc.nasa.gov!algol.ksc.nasa.gov!niven.ksc.nasa.gov!niven!rushing
References: <CpEDEt.5A5@borland.com> <CpH726.KL3@borland.com> <940509.183201.5W5.rusnews.w164w_-_@alpha3.ersys.edmonton.ab.ca> <2qo7pb$3te$1@sdl.Warren.MENTORG.COM> <CpLKsu.8LB@borland.com>

Show Full Headers
Complete Article Headers
Message-ID: <RUSHING.94May12184327@Zeno.ksc.nasa.gov>
Subject: Re: common news-article-access code (was Re: The mush is dead, long live the elm?)
Date: Thu, 12 May 1994 22:43:27 +0000
From: rushing@Zeno.ksc.nasa.gov (Sam Rushing)
References: <CpEDEt.5A5@borland.com> <CpH726.KL3@borland.com> <940509.183201.5W5.rusnews.w164w_-_@alpha3.ersys.edmonton.ab.ca> <2qo7pb$3te$1@sdl.Warren.MENTORG.COM> <CpLKsu.8LB@borland.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!ames!dale.ksc.nasa.gov!algol.ksc.nasa.gov!niven.ksc.nasa.gov!niven!rushing
Newsgroups: news.software.b,news.software.readers
Organization: NASA, Kennedy Space Center, Payload Operations
Lines: 45
Reply-To: rushing@titan.ksc.nasa.gov
NNTP-Posting-Host: zeno.ksc.nasa.gov
To: davison@borland.com (Wayne Davison)
In-reply-to: davison@borland.com's message of Tue, 10 May 1994 17:34:06 GMT