From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27644 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: prefer text/plain alternative over text/html Date: 03 Dec 1999 20:13:21 -0500 Organization: Linux Hippopotamus Preserve Sender: owner-ding@hpc.uh.edu Message-ID: References: <99Dec2.132900est.115205@gateway.intersys.com> <5biu2h428y.fsf@giga.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164634 25623 80.91.224.250 (21 Oct 2002 01:43:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:43:54 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA20930 for ; Fri, 3 Dec 1999 20:17:12 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id TAB08115; Fri, 3 Dec 1999 19:17:02 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 03 Dec 1999 19:14:03 -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 TAA02765 for ; Fri, 3 Dec 1999 19:13:52 -0600 (CST) Original-Received: from ljz.net (gnus@ljz.net [205.230.65.138]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA20903 for ; Fri, 3 Dec 1999 20:13:27 -0500 (EST) Original-Received: (from gnus@localhost) by ljz.net (8.8.7/8.8.7) id UAA06264; Fri, 3 Dec 1999 20:13:22 -0500 Original-To: ding@gnus.org X-Face: "!ga1s|?LNLE3MeeeEYs(%LIl9q[xV9!j4#xf4!**BFW_ihlOb;:Slb>)vy>CJM writes: > >>>>> "Lloyd" == Lloyd Zusman writes: > > [...] > > Lloyd> Which brings up another question: does anyone know of an > Lloyd> existing elisp utility (maybe even something in Gnus!) which > Lloyd> would do a quick-and-dirty-but-marginally-acceptable job of > Lloyd> removing HTML markup tags? > > `nnweb-remove-markup'. Maybe you also need `nnweb-decode-entities', or > `nnwarchive-decode-entities' which supports decoding numbered > entities. Thank you very much. After posting this question and reading your answer, I realize that I should have asked a bit more in my original query. The question I really want to ask is this: Is there a canonical Gnus method for stripping out unwanted HTML and keeping everything from automatically being sent through the `w3' package in the case where there is no corresponding text/plain in a message that contains HTML? Given that I should be using one or more of the functions you mentioned above, is there perhaps a hook I should use for this? Or does this require some sort of special article treatment? Or what? My goal is for any such HTML to be automatically stripped and the message not filtered through `w3', and in addition, for me to somehow have the capability to manually cause the article to be passed again through `w3' if I deem that to be desirable. I can't find anything in the doc's about this. Thanks in advance. -- Lloyd Zusman ljz@asfast.com