From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68315 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.w3m,gmane.emacs.gnus.general Subject: [emacs-w3m:10715] Re: nnrss: relative links in message bodies Date: Fri, 20 Feb 2009 14:52:16 +0900 Organization: Emacsen advocacy group Message-ID: References: <87ljs14suo.fsf@jidanni.org> 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: ger.gmane.org 1235109151 29424 80.91.229.2 (20 Feb 2009 05:52:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 05:52:31 +0000 (UTC) Cc: ding@gnus.org, emacs-w3m@namazu.org To: jidanni@jidanni.org Original-X-From: emacs-w3m-admin@namazu.org Fri Feb 20 05:52:30 2009 Return-path: Envelope-to: emacs-w3m@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by ciao.gmane.org with esmtp (Exim 4.43) id 1LaOJJ-0005kd-N9 for emacs-w3m@deer.gmane.org; Fri, 20 Feb 2009 05:52:29 +0000 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LaOJd-0006qM-00 for ; Fri, 20 Feb 2009 06:52:49 +0100 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id CED7699EA6; Fri, 20 Feb 2009 14:52:25 +0900 (JST) Original-Received: from orlando.hostforweb.net (orlando.hostforweb.net [216.246.45.90]) by vaj.namazu.org (Postfix) with ESMTP id DDA801BB1E for ; Fri, 20 Feb 2009 14:52:24 +0900 (JST) Original-Received: from localhost ([127.0.0.1]:45129) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1LaOJA-0001Si-0D; Thu, 19 Feb 2009 23:52:20 -0600 X-ML-Name: emacs-w3m X-Mail-Count: 10715 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.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) X-Hashcash: 1:20:090220:jidanni@jidanni.org::8lVliSPiC1xsawQP:0000000000000000000000000000000000000000000glh X-Hashcash: 1:20:090220:ding@gnus.org::hk8XUYrk4SQG0YHN:00004NMN X-Hashcash: 1:20:090220:emacs-w3m@namazu.org::dTQPqmPvudZ2yw30:0000000000000000000000000000000000000000000Nx 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:9jDTTd0dzSCKBNj5i7I8NOAQhx4= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.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: 30 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:8075 gmane.emacs.gnus.general:68315 Archived-At: >>>>> jidanni@jidanni.org wrote: > What should nnrss do when encountering a link like: >

Bob, the fact is that the Israeli government ... refugee relief > aid; see my previous letter. The base tag, like , in the ... section is needed to expand relative links to the absolute ones. If it exixts, emacs-w3m, an html renderer for Gnus, should handle it properly. The base tag is often omitted in html data. Even in such a case, shimbun (bundled with emacs-w3m) uses the directory of the current page address to generate the base tag. However, IIUC, nnrss doesn't. > When tabbed to, we see "buffer://../04/on-netanyahu-on-gaza". > What is this "buffer:" protocol? A red flag that there is a bug. The `buffer:' scheme is for the emacs-w3m internal. It is mainly for accessing `name' tags within an html article. Maybe emacs-w3m misidentifies it as a name link because of no base tag. ;; BTW, this feature has been made by your request. ;-) ;; Cf. > Why can't it detect that this is a relative link? To make it work, nnrss.el needs to be improved further. Regards,