Article View: news.software.readers
Article #211491Re: downloading plain text list of subject lines from a newsgroup?
From: Whiskers
Date: Sun, 09 Dec 2007 22:56
Date: Sun, 09 Dec 2007 22:56
104 lines
5360 bytes
5360 bytes
On 2007-12-09, B Thomas <no@email.org> wrote:
> Hi,
>
> In my area Internet is expensive, ISPs limit bandwidth and
> have download quotas. However the do provide faster, unlimited
> downloads during 2:00am and 8:00am. Hence I am trying to set
> my system (Debian/GNU Linux) so that articles and binaries that
> I am interested in are downloaded during these times as I sleep.
>
> To this end I discoved aub (assemble usenet binaries), nget,
> brag and other such command line tools that may be scripted.
> However I need some means to obtain a plain text list of subject
> lines for all the articles of a given group, a subset of which
> I can use as input to my scripts or one of the programs above.
>
> Could you please suggest an effective (not taking to much time,
> and preferably a commandline tool) that can do this ?
>
> sincerely
> b thomas
Take a look at Noffle; from the man file:
NOFFLE is an Usenet package optimized for low speed dialup Internet
connections and few users. The noffle program is used for running and
steering of the proxy news server, for retrieving new articles from the
remote server and for expiring old articles from the database. NOFFLE
can fetch newsgroups in one of the following modes:
full fetch full articles,
over fetch only article overviews by default. Opening an article
marks it for download next time online,
thread like over, but download articles full if an article of the same
thread already has been downloaded.
[...]
Leafnode is another possibility, and can do much the same thing although
with a different approach.
("fetch only article overviews" is the way to get your "list of all
subject headers"; the overview actually includes a basic sub-set of
headers which let you identify and filter or score on those headers so
that you can avoid ever seeing mention of articles you know you won't
want). When logged into your news-server via telnet, you can enter the
command
list overview.fmt
to see exactly which headers are in the overview. For example:
[mark@tavy ~]$ telnet news.readfreenews.net nntp
Trying 204.153.245.131...
Connected to news.readfreenews.net (204.153.245.131).
Escape character is '^]'.
201 yellow.readfreenews.net NNRP Service Ready - news@readfreenews.com (no
posting).
list overview.fmt
215 Order of fields in overview database.
Subject:
From:
Date:
Message-ID:
References:
Bytes:
Lines:
Xref:full
.
quit
205 Transferred 209 bytes in 0 articles, 0 groups. Disconnecting.
Connection closed by foreign host.
[mark@tavy ~]$
You use Noffle or Leafnode as a local caching proxy nntp server, in
conjuntion with your preferred newsreader(s) - which can operate in
'on-line' mode even when you aren't connected to the upstream
news-server(s). Use cron to set the times at which you let your proxy
connect with the upstream servers (or do it by hand).
Noffle keeps its 'stuff' mostly in compact database files not as 'plain
text', but that need not be a problem if all you really want to do is use
a newsreader to select which articles you want to get the bodies for
later. Leafnode keeps its stuff as 'plain text' files.
Don't be put off by "optimised for low-speed dial-up"; both Noffle and
Leafnode work very nicely over 'broadband' connections too.
Newsreader programs designed specifically for use with 'binary' newsgroups
incorporate several features that are designed to optimise your use of
bandwidth, and don't require use of a seperate local proxy. I'm not
interested in binary newsgroups so I can't help you with that.
You can use telnet to log into a news-server and get the 'overview'
for a newsgroup, and individual bodies, entirely manually. I haven't
looked into scripting telnet sessions - but that is roughly what Leafnode,
slrn, Noffle, etc, achieve anyway.
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Technical Details
Message-ID:
<20071209225659.1C8A.8.NOFFLE@ID-107770.user.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<475c1cb8$0$23750$88260bb3@free.teranews.com>Show Full Headers
Complete Article Headers
Message-ID: <20071209225659.1C8A.8.NOFFLE@ID-107770.user.individual.net> Subject: Re: downloading plain text list of subject lines from a newsgroup? Date: Sun, 9 Dec 2007 22:56:59 +0000 From: Whiskers <catwheezel@operamail.com> References: <475c1cb8$0$23750$88260bb3@free.teranews.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 104 X-Trace: individual.net 6AxFZ2QqA4xuwuH5R7v+OwHtDSC/95Lr3ku8FvITSaefqf00gc X-Orig-Path: ID-107770.user.individual.net!not-for-mail Cancel-Lock: sha1:TspwhlJL311Ow/+Xk8WzwoEMscc= X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p& g^8<z5>HA User-Agent: slrn/0.9.8.1 (Linux)