🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Jacques Jamain Thu, 13 Jun 1996 00:00
message-id to article number
#8505
Author: Jacques Jamain
Date: Thu, 13 Jun 1996 00:00
12 lines
813 bytes
 Is there a way to obtain the article number from the message-id?
 More generally, news servers seem to have extensions  not described
 in rfc977.
 Where to find these specs and the nntp FAQ?
 TIA.

--
Jacques JAMAIN   - jamain@ibm.net
   ... on the french riviera ...

Re: message-id to article number
#8536
Author: Richard E Stealey
Date: Fri, 14 Jun 1996 00:00
12 lines
735 bytes
Jacques Jamain (jamain@ibm.net) wrote:
:  Is there a way to obtain the article number from the message-id?


run this:

     grephistory '<   message id     >'



Re: message-id to article number
#8541
Author: Jacques Jamain
Date: Sat, 15 Jun 1996 00:00
31 lines
1740 bytes
In article <4psiq8$qjd@anchor.cis.att.com>,
res@cmprime.cis.att.com (Richard E Stealey) wrote:
>Jacques Jamain (jamain@ibm.net) wrote:
>:  Is there a way to obtain the article number from the message-id?
>
>
>run this:
>
>     grephistory '<   message id     >'
>
>

 Thanks, but i'm running os2, behind a dialup connection trying to improve
 my soup reader: 1- don't miss lagging articles coming asynchroneously and
 2- lessening my telco taxes (not very cheap in France d:() doing selective
 retrieval on headers.
 If my news server implemented correctly rfc977 there are some commands in the
 nntp protocol (STAT, HEAD, BODY, ARTICLE) that return article number
 and msg-id  together. But it's not the case when  the selection is made by
 message-id. Hence my post, as i'm relatively new to nntp (the protocol)
 and possibly i could have miss something.
 Anyway, i find the FAQ posted just after my post and discovered there
 are extensions (xover for instance) i have to learn.
 Thanks again, had a good day.

--
Jacques JAMAIN   - jamain@ibm.net
   ... on the french riviera ...(sunny & hot)...

Re: message-id to article number
#8563
Author: Brian Hernacki
Date: Mon, 17 Jun 1996 00:00
22 lines
1242 bytes
Jacques Jamain wrote:
> 
>  Is there a way to obtain the article number from the message-id?
>  More generally, news servers seem to have extensions  not described
>  in rfc977.
>  Where to find these specs and the nntp FAQ?
>  TIA.

try xpath. this looks like what you want:

xpath <4q3kka$8hv@newsource.ihug.co.nz>
223 junk/1099478


--brian
--------------------------------------------------------
Brian Hernacki                 mailto:bhern@netscape.com
Usenet foot-soldier	       Netscape Communications
(setf disclaimer "I speak for myself, not the company")

Re: message-id to article number
#8579
Author: Mark Delany
Date: Tue, 18 Jun 1996 00:00
28 lines
1329 bytes
Brian Hernacki <bhern@netscape.com> writes:

>Jacques Jamain wrote:
>> 
>>  Is there a way to obtain the article number from the message-id?
>>  More generally, news servers seem to have extensions  not described
>>  in rfc977.
>>  Where to find these specs and the nntp FAQ?
>>  TIA.

>try xpath. this looks like what you want:

>xpath <4q3kka$8hv@newsource.ihug.co.nz>
>223 junk/1099478

Erm, I'd be a bit carful of this method as the returned path isn't
defined as including an article number (though most implementations do
return it that way). It would be interesting to know what, eg, DNEWS
does with an xpath request.

I'm curious to know why the original poster wanted to determine this
info?


Regards.

Re: message-id to article number
#8610
Author: Wayne Davison
Date: Tue, 18 Jun 1996 00:00
25 lines
1535 bytes
> Brian Hernacki <bhern@netscape.com> writes:
> >xpath <4q3kka$8hv@newsource.ihug.co.nz>
> >223 junk/1099478

According to Mark Delany  <markd@mira.net.au>:
> Erm, I'd be a bit carful of this method as the returned path isn't
> defined as including an article number

It's defined as returning the filename of all the article's crosspostings,
so by definition it includes the article number.  If the server uses
some weird storage method then I doubt that the xpath command is even
implemented.

If the server doesn't support xpath, you can generally fake it by using
"XHDR xref <message-id>" and using that.

If the news server doesn't use xrefs (like apparently DNews doesn't?),
then you might be able to issue a "STAT <message-id>" and get an article
number back (if you're in the right group).  This works with INN and a
modern reference nntpd.

...wayne..

Re: message-id to article number
#8634
Author: Mark Delany
Date: Wed, 19 Jun 1996 00:00
27 lines
1437 bytes
wayne@clarinet.com (Wayne Davison) writes:

>> Brian Hernacki <bhern@netscape.com> writes:
>> >xpath <4q3kka$8hv@newsource.ihug.co.nz>
>> >223 junk/1099478

>According to Mark Delany  <markd@mira.net.au>:
>> Erm, I'd be a bit carful of this method as the returned path isn't
>> defined as including an article number

>It's defined as returning the filename of all the article's crosspostings,
>so by definition it includes the article number.  If the server uses
>some weird storage method then I doubt that the xpath command is even
>implemented.

(Wierd, harrumph).

Perhaps moving onto a slightly different topic, when and why is xpath
used in an nntp environment? Apart from trying to deduce an article
number, does it serve other purposes?


Regards.


Re: message-id to article number
#8685
Author: Rich Salz
Date: Fri, 21 Jun 1996 00:00
14 lines
1115 bytes
In <4q8ur9$fhf@bushwire.mira.net.au> Mark Delany <markd@mira.net.au> writes:
>Perhaps moving onto a slightly different topic, when and why is xpath
>used in an nntp environment? Apart from trying to deduce an article
>number, does it serve other purposes?

My memory's fuzzy, but...  If you want to kill a thread of discussion
regardless of cross-posts, then you can use XPATH on everything in the
References line and update .newsrc easily.

I think.
	/r$

Re: message-id to article number
#8705
Author: Mark Delany
Date: Sat, 22 Jun 1996 00:00
25 lines
1530 bytes
rsalz@osf.org (Rich Salz) writes:

>In <4q8ur9$fhf@bushwire.mira.net.au> Mark Delany <markd@mira.net.au> writes:
>>Perhaps moving onto a slightly different topic, when and why is xpath
>>used in an nntp environment? Apart from trying to deduce an article
>>number, does it serve other purposes?

>My memory's fuzzy, but...  If you want to kill a thread of discussion
>regardless of cross-posts, then you can use XPATH on everything in the
>References line and update .newsrc easily.

Ahuh. In effect, using the path to deduce the group name and article
number, then doing with it whatever you will.

Clearly there are needs for access paths (if we're not overloading
that word enough already) in all directions for readers.

That 'concidental' knowledge that comes from XPATH is a bit
disconcerting though.


Regards.

Re: message-id to article number
#8716
Author: Jacques Jamain
Date: Sun, 23 Jun 1996 00:00
54 lines
2923 bytes
In article <4q4tts$4bn@bushwire.mira.net.au>,
Mark Delany <markd@mira.net.au> wrote:
>Brian Hernacki <bhern@netscape.com> writes:
>
>>Jacques Jamain wrote:
>>>
>>>  Is there a way to obtain the article number from the message-id?
>>>  More generally, news servers seem to have extensions  not described
>>>  in rfc977.
>>>  Where to find these specs and the nntp FAQ?
>>>  TIA.
>
>>try xpath. this looks like what you want:
>
>>xpath <4q3kka$8hv@newsource.ihug.co.nz>
>>223 junk/1099478
>
>Erm, I'd be a bit carful of this method as the returned path isn't
>defined as including an article number (though most implementations do
>return it that way). It would be interesting to know what, eg, DNEWS
>does with an xpath request.
>

>I'm curious to know why the original poster wanted to determine this
>info?
>

 it's a bit intricate... I'm using a dial up connection to read offline
 newsgroups (souper/yarn for os/2) in a country where telco taxes are not
 very cheap. Souper retrieves news based on article number range and i find
 that sometimes there are "holes" in the article number range. With this
 technique articles in the holes will never be retrieved if by chance they
 appear later at the news server as the whole article range is marked as read
 after the retrieval (in fact i don't understand how an article number can
 be allocated without its head/body, but i'm a naive user...).
 Hoping that those articles will show at the server one day or an other
 i decided to retrieve the articles with the NEWNEWS command that gives
 articles received by the server since the time and date you specified,
 no one vanishing! NEWNEWS returns a list of <message_id> and to reuse
 the main line of the soup reader, i find convenient to have a mechanism
 converting the <message_id> to article_number. STAT, ARTICLE, HEAD, BODY are
 supposed to return both according to RFC 977; my ISP news server doesn't and
 also some others i can have access to, hence my post.
 If i'm right in thinking that newnews is better that a retrieval by range,
 this conversion will also make the process of doing selective (-telco taxes)
 retrieval among headers easier (lazy opinion d:).


--
Jacques JAMAIN   - jamain@ibm.net
   ... on the french riviera ...(sunny & windy)...

Re: message-id to article number
#8760
Author: Mark Turner
Date: Mon, 24 Jun 1996 00:00
28 lines
1887 bytes
In article <LMazxA3ibRmD091yn@ibm.net>, Jacques Jamain <jamain@ibm.net> wrote:
> 
>  it's a bit intricate... I'm using a dial up connection to read offline
>  newsgroups (souper/yarn for os/2) in a country where telco taxes are not
>  very cheap. Souper retrieves news based on article number range and i find
>  that sometimes there are "holes" in the article number range. With this
>  technique articles in the holes will never be retrieved if by chance they
>  appear later at the news server as the whole article range is marked as read
>  after the retrieval (in fact i don't understand how an article number can
>  be allocated without its head/body, but i'm a naive user...).

Hmmmm.... I consider any server that "fills in" earlier numbered
articles later to be broken.  I've read and reread the relevant RFCs in
the past to try to find a definitive answer one way or the other on
whether or not such behaviour is legal.  I came to the conclusion that
whether legal or not it was a silly thing to do given that there are
vast numbers of readers out there in the real world that have (*maybe*
wrongly) assumed that it cannot happen.

Are there any servers that exhibit this behaviour?  Does anyone consider
it legal?

Cheers,

Mark.

Re: message-id to article number
#8822
Author: Brian Blackmore
Date: Thu, 27 Jun 1996 00:00
49 lines
3489 bytes
Mark Turner <mark@kram.org> wrote:
>In article <LMazxA3ibRmD091yn@ibm.net>, Jacques Jamain <jamain@ibm.net> wrote:
>> 
>>  it's a bit intricate... I'm using a dial up connection to read offline
>>  newsgroups (souper/yarn for os/2) in a country where telco taxes are not
>>  very cheap. Souper retrieves news based on article number range and i find
>>  that sometimes there are "holes" in the article number range. With this
>>  technique articles in the holes will never be retrieved if by chance they
>>  appear later at the news server as the whole article range is marked as read
>>  after the retrieval (in fact i don't understand how an article number can
>>  be allocated without its head/body, but i'm a naive user...).

>Hmmmm.... I consider any server that "fills in" earlier numbered
>articles later to be broken.  I've read and reread the relevant RFCs in
>the past to try to find a definitive answer one way or the other on
>whether or not such behaviour is legal.  I came to the conclusion that
>whether legal or not it was a silly thing to do given that there are
>vast numbers of readers out there in the real world that have (*maybe*
>wrongly) assumed that it cannot happen.

>Are there any servers that exhibit this behaviour?  Does anyone consider
>it legal?

There are servers that an exhibit this behaviour the best know example
around here being the one owned by Demon Internet the biggest ISP in
the UK. The reason the Demon Internet news server does this is that it is
in fact presently 4 news servers which keep in sync with each other,
keeping the arrival dates and article numbers consistant between the
servers means that edge effects do occur and you sometimes get a slight
backfilling effect, this *seems* to break about 50% of offline newsreaders
that make the assumption of no backfilling. Also if you consider broken
master -> slave connections on caching news servers the same effects
could occur.

Looking at the RFC's they just say that you must provide the highest and
lowest article numbers (for which not all articles in between may be
present) a guess at how may articles may be used (which must be equal or
greater than that actually present) and the concept of a next and previous
article. It *is* perfectly legal to count backwards if you really want to.

Multiple news servers that attempt to provide a single interface are always
likely to exhibit this effect, the solution is to either implement the
server properly so it can do this how the author of RFC977 intended (via
NEWNEWS) or for the offline reader to remember what it has downloaded.

-- 
Brian Blackmore                         http://www.wonderland.org/~eternal/

Re: message-id to article number
#8862
Author: Ben Polk
Date: Fri, 28 Jun 1996 00:00
76 lines
4387 bytes
Brian Blackmore wrote:
> 
> Mark Turner <mark@kram.org> wrote:

> >Hmmmm.... I consider any server that "fills in" earlier numbered
> >articles later to be broken.  I've read and reread the relevant RFCs in
> >the past to try to find a definitive answer one way or the other on
> >whether or not such behaviour is legal.  I came to the conclusion that
> >whether legal or not it was a silly thing to do given that there are
> >vast numbers of readers out there in the real world that have (*maybe*
> >wrongly) assumed that it cannot happen.
> 
> >Are there any servers that exhibit this behaviour?  Does anyone consider
> >it legal?
> 
> There are servers that an exhibit this behaviour the best know example
> around here being the one owned by Demon Internet the biggest ISP in
> the UK. The reason the Demon Internet news server does this is that it is
> in fact presently 4 news servers which keep in sync with each other,
> keeping the arrival dates and article numbers consistant between the
> servers means that edge effects do occur and you sometimes get a slight
> backfilling effect, this *seems* to break about 50% of offline newsreaders
> that make the assumption of no backfilling. 

Not just offline newsreaders I bet.  It breaks any reader that caches
the XOVER information and watches the high article number returned by
the GROUP command to know when new stuff has arrived.  A lot of them 
do this now.

I'm not quite sure that keeping multiple servers in sync requires that
some of the servers may see higher number articles arriving before lower
numbered ones.  Doesn't the master-slave stuff work by always redirecting
the posting to the master and then replicating the post to the slave?
Why would you see out of order arrivals in that scheme?

> Looking at the RFC's they just say that you must provide the highest and
> lowest article numbers (for which not all articles in between may be
> present) a guess at how may articles may be used (which must be equal or
> greater than that actually present) and the concept of a next and previous
> article. It *is* perfectly legal to count backwards if you really want to.

Because of the poor state of the News standards there are lots of
legal but dumb things you can do.  It's hard to imagine a dumber
one than this.

> Multiple news servers that attempt to provide a single interface are always
> likely to exhibit this effect, 

Why always?

> the solution is to either implement the
> server properly so it can do this how the author of RFC977 intended (via
> NEWNEWS)

This is one solution, but it would require reworking an awful 
lot of software on both the client and server sides. 

Also, since NEWNEWS returns Message-IDs, not articles numbers, 
the claim that it was intended to be used for this purpose is 
questionable.  The RFC talks about using IHAVE, NEWNEWS, and
NEWGROUPS as a way to "distribute news", so it's clear that
the intent was as a mechanism to do sucking feeds, not as a 
per-group newsreader mechanism. 

> or for the offline reader to remember what it has downloaded.

This is not relevent to the problem above.  Remembering what
has been downloaded is by definition what an offline reader does,
but this doesn't help much with newness notification.  I guess
you could get a list of all the article numbers and see if
any new ones had showed up, but that wouldn't be very efficient.

I think we should update the standard to say that each new article
must be numbered higher than any existing article.

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