From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42245 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: wish: nnmarc.el ? Date: Sat, 19 Jan 2002 18:21:12 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2n1ygmgc5z.fsf@zsh.cs.rochester.edu> References: <81u1trt90h.fsf@zion.bpnetworks.com> <81hepqlofl.fsf@zion.bpnetworks.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177510 10317 80.91.224.250 (21 Oct 2002 05:18:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:18:30 +0000 (UTC) Return-Path: Original-Received: (qmail 7643 invoked from network); 19 Jan 2002 23:21:48 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 19 Jan 2002 23:21:48 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16S4np-0001ol-00; Sat, 19 Jan 2002 17:21:37 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 19 Jan 2002 17:21:30 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id RAA19708 for ; Sat, 19 Jan 2002 17:21:19 -0600 (CST) Original-Received: (qmail 7639 invoked by alias); 19 Jan 2002 23:21:19 -0000 Original-Received: (qmail 7634 invoked from network); 19 Jan 2002 23:21:19 -0000 Original-Received: from roc-24-58-72-167.rochester.rr.com (HELO zsh.2y.net) (@24.58.72.167) by gnus.org with SMTP; 19 Jan 2002 23:21:19 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id g0JNLC421733; Sat, 19 Jan 2002 18:21:12 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C (Ami Fischman's message of "Sat, 12 Jan 2002 23:06:54 -0800") Original-Lines: 53 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42245 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42245 Ami Fischman writes: [...] > I took a crack at it this afternoon (before posting originally), trying to > add source to nnwarchive.el, but quickly realized I really didn't understand > the purpose of each of the elements in the sources list. While I would like > for you (or someone else) to implement this, I would also accept an > explanation as to how to add sources to nnwarchive :) Having a quick look http://marc.theaimsgroup.com/, I found the site is similar to mail-archive. So you can use mail-archive as a template. The elements in the definition are as following: address: basically just a name, e.g. marc.theaimsgroup.com ; open-url: a url to login the web site. For marc, it is nil ; list-url: the url to list all groups, e.g. http://marc.theaimsgroup.com/; list-dissect: a function to analysis the list-url page and update nnwarchive-groups ; list-groups: a function to update nnwarchive-groups for given groups . xover-url: the url (pattern) to list the overview, e.g. http://marc.theaimsgroup.com/?l=openssh-unix-dev&r=1&b=200201&w=2 xover-last-url: similar to xover-url but only for the last page of the overview. xover-dissect: a function to analysis xover-url page; article-url: the url (pattern) of a certain article, e.g. http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=101147459718342&w=2 article-dissect: a function to reformat article-url page xover-files: a function to control which xover-url pages to fetch authentication: set to nil article-offset: a number used to map Gnus article number to the real article number. I hope it helps you to implement the feature. Anyway, I think it would be better if you put your code into the CVS, then I (or someone else) can help to debug it later. (Actually, I am afraid I have little time to do so in a month. And I really got to find some time to fix the yahoogroups feature. :-( ) ShengHuo