From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26538 Path: main.gmane.org!not-for-mail From: Eric Marsden Newsgroups: gmane.emacs.gnus.general Subject: Re: Announce: nnwarchive Date: 09 Nov 1999 19:39:15 +0100 Organization: LAAS-CNRS http://www.laas.fr/ Sender: owner-ding@hpc.uh.edu Message-ID: References: <5biu3bd2dh.fsf@giga.cs.rochester.edu> <5baeoncyk4.fsf@giga.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035163728 19915 80.91.224.250 (21 Oct 2002 01:28:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:28:48 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA20810 for ; Tue, 9 Nov 1999 13:40:07 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB00444; Tue, 9 Nov 1999 12:39:58 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 09 Nov 1999 12:40:05 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA04169 for ; Tue, 9 Nov 1999 12:39:53 -0600 (CST) Original-Received: from laas.laas.fr (root@laas.laas.fr [140.93.0.15]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA20795 for ; Tue, 9 Nov 1999 13:39:19 -0500 (EST) Original-Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.9.3/8.9.3) with ESMTP id TAA13966; Tue, 9 Nov 1999 19:39:13 +0100 (MET) Original-Received: (from emarsden@localhost) by dukas.laas.fr (8.9.3/8.9.3) id TAA18864; Tue, 9 Nov 1999 19:39:16 +0100 (MET) Original-To: Shenghuo ZHU X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ In-Reply-To: Shenghuo ZHU's message of "09 Nov 1999 13:25:15 -0500" Original-Lines: 33 X-Mailer: Gnus v5.7/Emacs 20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26538 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26538 >>>>> "ZSH" == Shenghuo ZHU writes: >>>>> "ecm" == Eric Marsden writes: ecm> So I am wondering if there is scope for a generic "wash.el" ecm> which would take as an argument an URL (which is dynamically ecm> generated in certain cases), a parser function which returns ecm> matches, operating on the raw HTML, and provides automatic or ecm> semi-automatic update services which connect to some trusted ecm> web site where washing-authors can put updates. ZSH> A generic "wash.el" is not easy. Different pages need different ZSH> wash. Some pages need rebuild headers, some others need dissect ZSH> a page into several articles. A generic "wash.el" would have to ZSH> use callback functions or so. However, a "wash-util.el" may be ZSH> possible. I was thinking of an interface something like (wash url-generator washer) where URL-GENERATOR is a function which takes `&rest args', and WASHER is a function which operates on the current buffer and returns a list of items (of arbitrary type, to be interpreted by the caller). But the area where there's the most scope for reuse IMO is in the semi-automatic updates. The current state of nnweb.el shows that there is a need for auto-updates, and I think it would be easier for users to trust a single module (which connects to a trusted server) to download new code to be run in their emacs. -- Eric Marsden It's elephants all the way down