Thread View: news.software.misc
4 messages
4 total messages
Started by Anand Gupta
Thu, 07 Dec 2000 00:00
tracking valid messages
Author: Anand Gupta
Date: Thu, 07 Dec 2000 00:00
Date: Thu, 07 Dec 2000 00:00
21 lines
1339 bytes
1339 bytes
What is the command I can pass to a news server which will give the following information : List of all VALID news articles in a particular group. I am currently using the GROUP command This returns me the low watermark, high watermark and total number of valid articles. Since I want to display the headers, I wish to retrieve the headers of ONLY the valid articles. I am using the HEAD <article number> command. I iterate this from the high to low watermark and skip the numbers where I get an error from the server. However, I wish to reduce my interaction with the server and therefore wish to use the HEAD command *only* for the valid article numbers. If I can pass some command to get this information, I can design my script accordingly. Please help. Thanks...
Re: tracking valid messages
Author: David Efflandt
Date: Thu, 07 Dec 2000 00:00
Date: Thu, 07 Dec 2000 00:00
23 lines
1574 bytes
1574 bytes
On Thu, 07 Dec 2000 16:06:37 GMT, Murray Peterson <mwp@home.com.invalid> wrote: >prence@aclindia.net (Anand Gupta) wrote: > >>What is the command I can pass to a news server which will give the >>following information : >> >>List of all VALID news articles in a particular group. > >XOVER <range> > >where <range> is <first article number>-<last article number> >E.G.: XOVER 123-456 But you still need to code for the possibility that articles may expire between the time you get such a list, grab the headers, and/or grab the bodies. -- David Efflandt efflandt@xnet.com http://www.de-srv.com/ http://www.autox.chicago.il.us/ http://www.berniesfloral.net/ http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
Re: tracking valid messages
Author: Murray Peterson
Date: Thu, 07 Dec 2000 16:06
Date: Thu, 07 Dec 2000 16:06
17 lines
1386 bytes
1386 bytes
prence@aclindia.net (Anand Gupta) wrote: >What is the command I can pass to a news server which will give the >following information : > >List of all VALID news articles in a particular group. XOVER <range> where <range> is <first article number>-<last article number> E.G.: XOVER 123-456 -- Murray Peterson Email: murray_peterson@home.com (remove underscore) URL: http://www.members.home.net/murraypeterson
Re: tracking valid messages
Author: Murray Peterson
Date: Fri, 08 Dec 2000 00:00
Date: Fri, 08 Dec 2000 00:00
16 lines
1422 bytes
1422 bytes
efflandt@xnet.com (David Efflandt) wrote: >But you still need to code for the possibility that articles may >expire between the time you get such a list, grab the headers, >and/or grab the bodies. That's very true. The ONLY way to determine if a message is "valid" is by downloading it. Quite a few servers add headers before bodies and delete bodies before headers, which causes the mismatch. -- Murray Peterson Email: murray_peterson@home.com (remove underscore) URL: http://www.members.home.net/murraypeterson
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