🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by David Morrison Wed, 27 Jan 1999 00:00
Use of XOVER?
#35016
Author: David Morrison
Date: Wed, 27 Jan 1999 00:00
15 lines
1227 bytes
Hi, 

what is the best way to retrieve a summary list of all header
information from a given newsgroup. I'm currently using XOVER and
parsing each line into each of its separate components but I wondered
whether there is a better method. XOVER gives me the information I
need but it also send a whole load that I don't.

I could use XHDR xxxx but I'm not sure whether you can string the
field names together or not (I tried XHDR subject, date and I just got
(none) back.

Dave

Re: Use of XOVER?
#34983
Author: Fluffy
Date: Tue, 26 Jan 1999 00:00
35 lines
2012 bytes
David Morrison <dave@hafodty.demon.co.uk!NoSpam!> wrote:
> Hi, 
> 
> what is the best way to retrieve a summary list of all header
> information from a given newsgroup. I'm currently using XOVER and
> parsing each line into each of its separate components but I wondered
> whether there is a better method.

In general?  Probably not, unless you want headers not found in the
overview.  Then you'll have to resort to XHDR or HEAD.

> XOVER gives me the information I need but it also send a whole load
> that I don't.

So throw it away =)  Sometimes it's less work to grab too much with a
few simple commands than to use a bunch of commands to get the subset
you need.

> I could use XHDR xxxx but I'm not sure whether you can string the
> field names together or not (I tried XHDR subject, date and I just got
> (none) back.

XHDR limits you to one header at a time.  To get what you want, you'd
want to do something like:

xhdr from 400-567
xhdr subject 400-567

....and then merge the results on your end.  You get the article numbers
in with the response; for easy handling, think about arrays or hash
tables.
-- 
"Meow."  --me

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