Article View: news.software.nntp
Article #34983Re: Use of XOVER?
From: Fluffy
Date: Tue, 26 Jan 1999 00:00
Date: Tue, 26 Jan 1999 00:00
35 lines
2012 bytes
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
Technical Details
Message-ID:
<78lcj1$hoo@meow.invalid>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<36aec18f.1664709@news.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <78lcj1$hoo@meow.invalid> Subject: Re: Use of XOVER? Date: Tue, 26 Jan 1999 00:00:00 +0000 From: meowing@banet.net (Fluffy) References: <36aec18f.1664709@news.demon.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 437272171 Mail-Copies-To: never X-Notice: should be reported to postmaster@ibm.net X-P-36: modulator/space; kaboom=earth-shattering X-Complaints-To: postmaster@ibm.net X-Trace: 26 Jan 1999 21:37:46 GMT, 32.100.243.58 Organization: If one may meow, all may meow. X-URL: http://members.tripod.com/~gerglery/ X-P-Meow: Meow Cancel-Lock: sha1:fFgjUJkpaCcioXARjNu1JSC3Hfs= Newsgroups: news.software.nntp