From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61656 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.w3m,gmane.emacs.gnus.general Subject: [emacs-w3m:08495] Re: nnrss should borrow nnshibmun's RSS date processor...or something Date: Tue, 10 Jan 2006 19:13:34 +0900 Organization: Emacsen advocacy group Message-ID: References: <87y82dokdt.fsf@stone.tss.usg.edu> <8764p2g0wc.fsf@stone.tss.usg.edu> <87psn8aepk.fsf@stone.tss.usg.edu> <87lkxwadgc.fsf@stone.tss.usg.edu> <878xtug279.fsf@stone.tss.usg.edu> <871wzlpkbf.fsf@stone.tss.usg.edu> Reply-To: emacs-w3m@namazu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136888051 15392 80.91.229.2 (10 Jan 2006 10:14:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2006 10:14:11 +0000 (UTC) Cc: emacs-w3m@namazu.org Original-X-From: emacs-w3m-admin@namazu.org Tue Jan 10 11:14:09 2006 Return-path: Envelope-to: emacs-w3m@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EwGVi-0001GX-09 for emacs-w3m@deer.gmane.org; Tue, 10 Jan 2006 11:13:50 +0100 Original-Received: from vaj.namazu.org ([61.215.208.42]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EwGVh-00062K-00 for ; Tue, 10 Jan 2006 11:13:49 +0100 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id 2E4D61DDAD; Tue, 10 Jan 2006 19:13:43 +0900 (JST) Original-Received: from washington.hostforweb.net (washington.hostforweb.net [66.225.201.13]) by vaj.namazu.org (Postfix) with ESMTP id E27BA1DDA6 for ; Tue, 10 Jan 2006 19:13:41 +0900 (JST) Original-Received: from [205.234.185.198] (port=53823 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1EwGWi-0007t9-3Z; Tue, 10 Jan 2006 04:14:52 -0600 Original-To: ding@gnus.org X-ML-Name: emacs-w3m X-Mail-Count: 08495 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (anyone can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address emacs-w3m-ctl@namazu.org; help= User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:852Qt6hWydUxdKQuLhTPhKqLAB0= X-Hashcash: 1:20:060110:ding@gnus.org::J06+yddSqoJn3Zrk:00002O/2 X-Hashcash: 1:20:060110:emacs-w3m@namazu.org::w+9jFTnQk3CQTFJb:000000000000000000000000000000000000000000TRk X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - namazu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Flag: No X-Spam-Probability: 0.000000 Precedence: bulk Original-Lines: 34 List-Id: emacs-w3m.namazu.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: Xref: news.gmane.org gmane.emacs.w3m:5856 gmane.emacs.gnus.general:61656 Archived-At: >>>>> In <871wzlpkbf.fsf@stone.tss.usg.edu> Mark Plaksin wrote: > Katsumi Yamaoka writes: >> BTW, reading using >> nnrss gave me a hint. Some articles contain html tags, e.g., >>

...

,
...
, even in the text/plain >> parts (they are quoted like "<p>" in the xml source). >> Perhaps we might need to render such contents properly. I don't >> have an idea how to do it, though. > This brings me back to wondering about the utility of text/plain parts in > RSS feed articles. I might not be qualified for saying how text/plain parts are useful, but > I mean the "right" way to handle

,

, and > such is to render them as HTML which is what happens when you look at the > text/html part. You never know what HTML tags are going to show up in RSS > articles so you have handle them all. I realized it is effective to render even text/plain parts as HTML if a user prefers to see them, and we will be able to call it a bug that text/plain parts contain raw HTML tags. So, I've added the following variable (and the code). Could you try it? `nnrss-wash-html-in-text-plain-parts' Non-`nil' means that `nnrss' renders text in `text/plain' parts as HTML. The function specified by the `mm-text-html-renderer' variable (*note Display Customization: (emacs-mime)Display Customization.) will be used to render text. If it is `nil', which is the default, text will simply be folded. Leave it `nil', if you prefer to see `text/html' parts.