🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #155664

Re: [xpn] : Python-Based News Reader

#155664
From: Nemesis
Date: Tue, 14 Sep 2004 19:36
123 lines
5397 bytes
Mentre io pensavo ad una intro simpatica "Cousin Stanley" scriveva:

[XPN]
>>>    o Article searches may be limited,
>>>      but I may need more experience with it     
>> Why do you think it is limited ?  
>
>   The article search function seems to be limited 
>   to a  SINGLE  article .... 
>   Is this so ?

Hmmm ... if continue pressing "Forward" XPN will find next articles
that match you search.


>> What are you missing ? 

>     o Search  Subjets
>   Have I missed something obvious ?

I think so :-)
In the "Find Article" window you can perform a search on these fields:
From,Subject,Message-ID,References,Body.
You can perform a search in each of these fields with a plain string or
with a regular expression, and then you can combine the results with AND
or OR logic.

>>>  o Retrieving articles seems a bit slow
>> Hmm maybe, the article retrieving is not so optimized. 
>> Have you tried it online or with a local newssever ?
>
>   I've only started the program while online
>   directly from the command-line ....
>   
>       python xpn.py 
>       
>   This seems to be  ONLINE  but I'm not sure 
>   about the terminology, and I don't have 
>   a local NewsServer set up, just smtp via
>   my ISP .... 

You used it online if you connected to a remote nntp server.

>   The delays here in clicking on a header
>   and having the article show up in the article pane
>   are on the border-line of acceptability and many
>   would probably deem it un-acceptable .... 
>   
>   I looked at a bit of the Python source code,
>   and noticed that you use cPickle protocol 1
>   for storing the files .... 
>   
>   Using cPickle protocol 2 might help,
>   but that is only a guess based on
>   some previous experience with pickling 
>   a few config files ....

I already use the binary dump. The problem is in another method, I'm
thinking for a workaround.

> A few more comments/questions/suggestions .... 
>
>   When using  Manage Groups  it seems that the Group List
>   is being re-built each time I click on  Manage Groups .... 

Yes, it's true, and it is very slow. This is another thing I have to
fix.

>   Will using  File/Export/News Source  circumvent this
>   and then subseqently only check for  NEW  groups ?
>   Would a  File/Import/News Source  then be required ?

No. "Export Newsrc" creates a file (newsrc) that contains informations
on the groups you follow and the articles you have already read. This
file has a "standard" format, you can use it with other newsreader, so
you will have the same groups subscribed, the same articles read ...

>   When adding groups, it might help the user
>   to display a  progress bar  instead of the
>   simple phrases that you now use in the status bar
>   and that only change once at the on-set .... 

I used the progress bar in this way in the past, but I changed my mind
because it was very slow.

>   It might be worth considering only adding the group
>   to the groups list at this point in  Manage Groups 
>   and delaying the group building until the user
>   actually tries to enter the group back in the main GUI ....

This would require to change a lot of things, and at the moment I don't
have time :-/

> Date Fields .... 
>
>   Is it possible to display and subsequently sort
>   the date fields in the header pane by Year-Month-Day
>   instead of Day-Month-Year ? 

No, at the moment you can only get the Day-Mont-Year format. But I can't
understand wich is the difference between a sort on Y-M-D and another
one on D-M-Y. A date is a date, and you always have one date that is
greater than the other one.
Maybe you are confused by the fact that the sort is made on a thread
base. I.e. the first threads are sorted (using the first article of the
thread) and then the article are sorte inside the thread.


>   The Day-Month-Year sorts are  VERY  confusing to me ....

It's also a cultural confusion, in Italy we never use YMD dates, we
alway use DMY :-D

> Again, thanks for providing xpn ....

Thank you for you feedback.

-- 
Always drink upstream from the herd.
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
Technical Details
Message-ID: <i2h7ic.612.ln@orion.homeinvalid>
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!news2.euro.net!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
References: <2qkds0FvtaokU1@uni-berlin.de> <v5n4ic.0v1.ln@orion.homeinvalid> <2qoq5fF1138c3U1@uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <i2h7ic.612.ln@orion.homeinvalid>
Subject: Re: [xpn] : Python-Based News Reader
Date: Tue, 14 Sep 2004 19:36:32 GMT
From: Nemesis <nemesis@nowhere.invalid>
References: <2qkds0FvtaokU1@uni-berlin.de> <v5n4ic.0v1.ln@orion.homeinvalid> <2qoq5fF1138c3U1@uni-berlin.de>
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!news2.euro.net!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: XPN/0.3.1 (All Good Things...)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Lines: 123
NNTP-Posting-Host: 151.26.61.59
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1095190592 151.26.61.59 (Tue,
NNTP-Posting-Date: Tue, 14 Sep 2004 21:36:32 MET DST
Organization: [Infostrada]