🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #69231

Re: Extarting the headers of the Valid article No.s

#69231
From: J.B. Moreno
Date: Fri, 15 Dec 2000 07:50
18 lines
1839 bytes
<hjerath@my-deja.com> wrote:

> Hi All!!
> 
> I have made an algorithm which passes the head command with the article
> no.It iterates and get the specific header but if the article no is
> invalid then it stops iterating and gives the bad article.How can I
> prevent this.This algorithm has to get 10 headers of different article
> in one page becoz i am making a web interface.

You'll have to explain what you want to do a bit more carefully -- but
it sounds like what you should be doing is counting backwords instead of
forward (or backword and then forward).

-- 
JBM
"Moebius strippers only show you their back side." -- Unknown
Technical Details
Message-ID: <1elnugp.1e22dpp1basse1N%planb@newsreaders.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.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!grolier!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!ppp-205.person.NET!not-for-mail
References: <91cd6r$80g$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <1elnugp.1e22dpp1basse1N%planb@newsreaders.com>
Subject: Re: Extarting the headers of the Valid article No.s
Date: Fri, 15 Dec 2000 02:50:54 -0500
From: planb@newsreaders.com (J.B. Moreno)
References: <91cd6r$80g$1@nnrp1.deja.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.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!grolier!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!ppp-205.person.NET!not-for-mail
Newsgroups: news.software.readers
Organization: NetNews BOFH wannabe
Lines: 17
NNTP-Posting-Host: ppp-205.person.net (166.82.184.205)
X-Trace: fu-berlin.de 976866481 3782869 166.82.184.205 (16 [22426])
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8
  N*x>d^h
Mail-Copies-To: nobody
X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1>
User-Agent: MacSOUP/2.4.4