🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Luu Tran Mon, 17 Apr 2000 00:00
Re: [Xnews] Show messages from the last X days
#60625
Author: Luu Tran
Date: Mon, 17 Apr 2000 00:00
24 lines
1639 bytes
Ralf.mail@gmx.net (Ralf Hasse) wrote in 
<8F18C978Em7e3oy9xmbne0@130.133.1.4>:

>Additionally, wouldn't it be a good idea to let the user set "Show
>only messages from dd.mm.yy (today)" or better yet "Show messages
>from the last X days" where you can set the number of days in the
>"Open Special" dialog. 
>

I guess I can do it with a newnews command, which returns a list of 
message-ids.  This requires a separate command to retrieve each header.  
Slow!  The other possibility is to estimate how many headers I need to 
get to go back X days then throw out those older than X days.  Of course 
to be sure I get all specified headers, I would have to get all available 
headers.  Eek.

All in all, I'd say what we have now is fine and good.  There's no 
substitute for human intelligence.

-- 
  luu 
author of Xnews - http://Xnews.3Dnews.net

Re: [Xnews] Show messages from the last X days
#60623
Author: Ross Presser
Date: Mon, 17 Apr 2000 00:00
16 lines
1418 bytes
alt.distinguished.luutran@geocities_.com.invalid (Luu 
Tran).wrote.posted.offered:

>I guess I can do it with a newnews command, which returns a list of 
>message-ids. 

newnews *only* gives messageids, not Xref numbers too?  That's silly.  
Is it server-software specific, or part of the standard?

Is there a (server) command to get the Xref number given the messageid?
-- 
Ross Presser * ross_presser@imtek.com
"You can kill more lusers per hour with a dull spoon and a kind sword, 
than with just a dull spoon." -- rsteenw@xs4all.nl (Rik Steenwinkel)

Re: [Xnews] Show messages from the last X days
#60631
Author: Seanna
Date: Mon, 17 Apr 2000 00:00
13 lines
1029 bytes
luutran@geocities_.com.invalid (Luu Tran) 
<8F18B29B9luutrangeocities@151.164.30.56> wrote on 16 Apr 2000, in 
news.software.readers:

>All in all, I'd say what we have now is fine and good.  There's no 
>substitute for human intelligence.

LOL!  Definitely sigworthy, Luu!  :`)
-- 
	Seanna_R *at* goplay.com
	      

Re: [Xnews] Show messages from the last X days
#60637
Author: J. B. Moreno
Date: Mon, 17 Apr 2000 00:00
24 lines
1779 bytes
Ross Presser <rpresser@NOSPAMimtek.com.invalid> wrote:

> (Luu Tran).wrote.posted.offered:
> 
> >I guess I can do it with a newnews command, which returns a list of 
> >message-ids. 
> 
> newnews *only* gives messageids, not Xref numbers too?  That's silly.
> Is it server-software specific, or part of the standard?
> 
> Is there a (server) command to get the Xref number given the messageid?

It's part of the standard, a pretty silly part as far as I'm concerned,
but that's the way it is.

(There was a brief mention in news.software.nntp of creating a new type
of newnews that included additional info -- newsover or something
similar, but I don't think it went anywherem and even if it did it'd
take quite some time for it to be generally useful).

-- 
John B. Moreno

Re: [Xnews] Show messages from the last X days
#60653
Author: Scott Robins
Date: Tue, 18 Apr 2000 00:00
19 lines
1540 bytes
luutran@geocities_.com.invalid (Luu Tran) wrote in
<8F18B29B9luutrangeocities@151.164.30.56>: 

>I guess I can do it with a newnews command, which returns a list of 
>message-ids.  This requires a separate command to retrieve each header. 
>Slow!  The other possibility is to estimate how many headers I need to 
>get to go back X days then throw out those older than X days.  Of course
>to be sure I get all specified headers, I would have to get all
>available headers.  Eek.

Or you could simply get all headers and then filter them on the date.

ScottR
-- 
Scott Robins, Xerox Engineering Systems
Scott.Robins@USA.Xerox.com, http://www.xes.com


Re: [Xnews] Show messages from the last X days
#60682
Author: Ross Presser
Date: Wed, 19 Apr 2000 00:00
27 lines
1515 bytes
alt.distinguished.Ralf.mail@gmx.net (Ralf Hasse).wrote.posted.offered:

>Luu Tran (luutran@geocities_.com.invalid) wrote:
>
>>I guess I can do it with a newnews command, which returns a list of 
>>message-ids.  This requires a separate command to retrieve each
>>header.  Slow!  
>
>Yup, but wouldn't the retrieving of each header up to the point when
>the date changes to another day probably take fewer time than
>downloading all headers and sorting afterwards? 

How about this procedure:

1. newnews <date>
   get first messageid
   ignore rest
2. head <messageid>
   extract number from XRef: header
3. XOVER <num> -
 
-- 
Ross Presser * ross_presser@imtek.com
"You can kill more lusers per hour with a dull spoon and a kind sword, 
than with just a dull spoon." -- rsteenw@xs4all.nl (Rik Steenwinkel)

Re: [Xnews] Show messages from the last X days
#60683
Author: Erland Sommarskog
Date: Wed, 19 Apr 2000 00:00
27 lines
2075 bytes
Joe Mac (joemacmail@this.is.invalid) writes:
>Another possibility is to go back Y headers, pull one, check the date, if 
>it's older than what we want, grab them all then throw out the older ones.  
>If it's young than what we want, go back 2Y headers and try it again.
>
>Of course the value of Y would be user configurable.

Are we talking posting date or arrival date here? Arrival date is
not visible in XOVER data as far as I know. Is it even available
in NNTP at all? The only way appears to be for the newsreader to
save the highest article number each time it checks the active
file, and save that data locally, and then use it for interpolation.

Posting date on the other hand is available in XOVER. But since
articles can arrive in any order, it's not much use of trying to
read only a subset of all articles, unless you accept to miss some
articles. One possibility could of course to download headers of
all available articles, and then throw the headers of articles
that were posted before the cut-off date away. While slow, it is
still helpful for the user, who don't need to dig through more data
than necessary.

-- 
Erland Sommarskog, Stockholm, sommar@algonet.se
This is an incomplete mess.

Re: [Xnews] Show messages from the last X days
#60689
Author: Ross Presser
Date: Wed, 19 Apr 2000 00:00
18 lines
1272 bytes
alt.distinguished.planb@newsreaders.com (J. B.
Moreno).wrote.posted.offered: 

>NEWNEWS returns the message-id's of newly ARRIVED articles, and the
>spec doesn't require that they be sent in any particular order.
>
>Basically the NNTP protocol isn't set up to handle this smoothly.


Fnord.  Well, I tried.

-- 
Ross Presser * ross_presser@imtek.com
"You can kill more lusers per hour with a dull spoon and a kind
sword, than with just a dull spoon." -- rsteenw@xs4all.nl (Rik
Steenwinkel) 

Re: [Xnews] Show messages from the last X days
#60690
Author: J. B. Moreno
Date: Wed, 19 Apr 2000 00:00
32 lines
1989 bytes
Ross Presser <rpresser@NOSPAMimtek.com.invalid> wrote:

> alt.distinguished.Ralf.mail@gmx.net (Ralf Hasse).wrote.posted.offered:
> 
> >Luu Tran (luutran@geocities_.com.invalid) wrote:
> >
> >>I guess I can do it with a newnews command, which returns a list of
> >>message-ids.  This requires a separate command to retrieve each
> >>header.  Slow!  
> >
> >Yup, but wouldn't the retrieving of each header up to the point when
> >the date changes to another day probably take fewer time than
> >downloading all headers and sorting afterwards? 
> 
> How about this procedure:
> 
> 1. newnews <date>
>    get first messageid
>    ignore rest
> 2. head <messageid>
>    extract number from XRef: header
> 3. XOVER <num> -

NEWNEWS returns the message-id's of newly ARRIVED articles, and the spec
doesn't require that they be sent in any particular order.

Basically the NNTP protocol isn't set up to handle this smoothly.

-- 
John B. Moreno

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads