Article View: news.software.readers
Article #63005[slrn] non-bug ;-) extract_article_header fails... sometimes
From: Arjan Drieman
Date: Tue, 04 Jul 2000 00:00
Date: Tue, 04 Jul 2000 00:00
29 lines
1845 bytes
1845 bytes
While writing a script I encountered what seemed to be an odd bug.
I have this function:
define get_headers(o_from, o_subj, o_mid, groups) {
@o_from = extract_article_header ("From");
@o_subj = extract_article_header ("Subject");
@o_mid = extract_article_header ("Message-ID");
@groups = extract_article_header ("Newsgroups");
}
Now when I'm in the article window, and I view a message, all works
fine. However, when I move my cursor down to the next article, but
don't hit enter to view it, and call this function, all works fine
*except* for the Newsgroups line.
[snip rest of original bug report ;-)]
Okay so now I checked what overview.mft gives me and suddenly I
understand why ;-) Slrn initially pulls the headers from the overview
database but Newsgroups isn't one of them. When you view the article,
it downloads the full header of the message.
Just wanted to share anyways and make a fool of myself ;-)
Cheers,
Arjan
Technical Details
Message-ID:
<slrn8m2nom.fl.qhpxvr@quack.node0911.a2000.nl>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!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn8m2nom.fl.qhpxvr@quack.node0911.a2000.nl> Subject: [slrn] non-bug ;-) extract_article_header fails... sometimes Date: Tue, 04 Jul 2000 00:00:00 +0000 From: qhpxvr@abqr0911.n2000.ay.invalid (Arjan Drieman) 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!not-for-mail X-Deja-AN: 642094338 X-Complaints-To: abuse@a2000.nl X-Trace: weber.a2000.nl 962682642 3935 62.108.9.17 (4 Jul 2000 03:50:42 GMT) Organization: A2000 Kabeltelevisie en Telecommunicatie User-Agent: slrn/0.9.6.2 (Linux) Reply-To: duckie@duckie.neep.net NNTP-Posting-Date: 4 Jul 2000 03:50:42 GMT Newsgroups: news.software.readers X-Authors-Homepage: http://duckie.neep.net/