From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38164 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: More fun with nnweb Date: Tue, 21 Aug 2001 23:51:50 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173787 19373 80.91.224.250 (21 Oct 2002 04:16:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:16:27 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 19320 invoked from network); 21 Aug 2001 21:52:01 -0000 Original-Received: from quimby.gnus.org (195.204.10.139) by gnus.org with SMTP; 21 Aug 2001 21:52:01 -0000 Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id XAA01417 for ding@gnus.org; Tue, 21 Aug 2001 23:51:59 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 998430718 30260 195.204.10.148 (21 Aug 2001 21:51:58 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 21 Aug 2001 21:51:58 GMT Mail-Copies-To: never X-Now-Playing: Bronski Beat's _The Age Of Consent_: "Run From Love (remix)" User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > The bug number is unique, and I should correctly parse it out of the > initial list-of-bugs page. This seems suggest that I would want to > use it instead of (cdr active) as the number parameter to > make-full-mail-header, yes? Yup. > Is there better documentation than C-h f for this function and how > it's relevant to things? Nope. There's not much documentation for nnweb. > (It looks like the way I do things now is to parse out the URL and bug > name from the list-of-bugs page, and then, if the URL isn't already in > nnweb-hashtb, I do > (push > (list > (incf (cdr active)) > (make-full-mail-header > (cdr active) subject from nil nil nil 0 0 url)) > map) > This looks like it should guarantee that each "article" has a unique > number, but if the same thing is encountered more than once with > different URLs, it winds up in the list multiple times.) Yes -- you could index the table based on the bug number instead of the URL, I think. (It's been a while since I worked with nnweb -- ShengHuo probably has more recent experiences with the internals...) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen