🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #174791

Re: [xnews] new icons and formatting?

#174791
From: if
Date: Thu, 06 Oct 2005 21:32
42 lines
2911 bytes
V S Rawat <VSRawat@Invalid.none> wrote in 
news:432f9580$0$82460$892e7fe2@authen.white.readfreenews.net:

> I think there is more development "needed" in xnews.
> 
> 1. simpler gui instead of those dozens of windows.
> 
> 2. saving the posts in individual ng, so that it can be read 
> later on offline.

Set storage options to "headers and articles". I think you have to do this 
for each group, though I may be wrong, since I did set the default expiry 
to 7 days for all groups using an .ini setting.

> 3. automatic downloading.

You can do this by adding the following macro to the groups.ini file

[~binaries]
OnLoaded=acvShowNew,acaSelectAll,acaFetch,acvRemoveFilter

Hey presto, you have just turned Xnews into an offline newsreader!

Xnews already loads new headers on opening a group, this macro selects 
those headers and fetches their bodies. It then removes the filter it 
applied to do this.

The ~binaries bit at the start is to exclude binary groups from the 
behaviour since that would probably take forever. Alternatively you could 
use [.] for all groups.

The macro will be automatically run not only when you open a group but also 
when you press F5 to refresh the headers.

The main thing that's missing is you can only fetch bodies on a group by 
group basis, which is a bit of a chore. A true offline reader would fetch 
all new articles for all subscribed groups at startup. Maybe there's a way 
to do this with macros at the news-server window level, I don't know.


-- 
It was a place to kill time, for those who like it better dead.
Technical Details
Message-ID: <Xns96E7E5402E710vtqj3@84.92.1.10>
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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!nntpfeed.zonnet.nl!solnet.ch!solnet.ch!news.clara.net!valentin.news.clara.net!peernews.inweb.co.uk!news.freedom2surf.net!nntp-peering.plus.net!ptn-nntp-feeder01.plus.net!ptn-nntp-spool01.plus.net!ptn-nntp-reader02.plus.net!not-for-mail
References: <432e76ee$0$8493$5fc30a8@news.tiscali.it> <Xns96D6DB2A72514rsingers@IP-Hidden> <Xns96D66E8E0B1F4castleamber@130.133.1.4> <Xns96D68BF1CA813uniquelyme@syrcnyrdrs-02-ge0.nyroc.rr.com> <432f9580$0$82460$892e7fe2@authen.white.readfreenews.net>

Show Full Headers
Complete Article Headers
Message-ID: <Xns96E7E5402E710vtqj3@84.92.1.10>
Subject: Re: [xnews] new icons and formatting?
Date: Thu, 06 Oct 2005 21:32:09 +0000
From: if <if@nospam.uk.invalid>
References: <432e76ee$0$8493$5fc30a8@news.tiscali.it> <Xns96D6DB2A72514rsingers@IP-Hidden> <Xns96D66E8E0B1F4castleamber@130.133.1.4> <Xns96D68BF1CA813uniquelyme@syrcnyrdrs-02-ge0.nyroc.rr.com> <432f9580$0$82460$892e7fe2@authen.white.readfreenews.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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!nntpfeed.zonnet.nl!solnet.ch!solnet.ch!news.clara.net!valentin.news.clara.net!peernews.inweb.co.uk!news.freedom2surf.net!nntp-peering.plus.net!ptn-nntp-feeder01.plus.net!ptn-nntp-spool01.plus.net!ptn-nntp-reader02.plus.net!not-for-mail
Newsgroups: news.software.readers
Organization: ...
User-Agent: Xnews/06.02.16
Lines: 42
NNTP-Posting-Host: c59e2524.ptn-nntp-reader02.plus.net
X-Trace: DXC=WoTfRQZInmCYNW7XMBcgdOigd3Y`7Rb; N37XnI;
 [OUCDlFKN5RRG[kEaVQJ@OIa>EOOGA\Tg\BB; D?; @K`CS<b@L
X-Complaints-To: abuse@plus.net