From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68314 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.gnus.general Subject: nnrss: relative links in message bodies Date: Fri, 20 Feb 2009 12:47:43 +0800 Message-ID: <87ljs14suo.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235105318 22041 80.91.229.12 (20 Feb 2009 04:48:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 04:48:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16754@lists.math.uh.edu Fri Feb 20 05:49:53 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LaNKj-0005wn-9S for ding-account@gmane.org; Fri, 20 Feb 2009 05:49:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LaNIp-0000YJ-Ov; Thu, 19 Feb 2009 22:47:55 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LaNIn-0000Xx-Uo for ding@lists.math.uh.edu; Thu, 19 Feb 2009 22:47:53 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LaNIj-0002eZ-Ls for ding@lists.math.uh.edu; Thu, 19 Feb 2009 22:47:53 -0600 Original-Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a4.dreamhost.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LaNJ4-0005qD-00 for ; Fri, 20 Feb 2009 05:48:10 +0100 Original-Received: from jidanni.org (122-127-38-237.dynamic.hinet.net [122.127.38.237]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a4.dreamhost.com (Postfix) with ESMTP id 172B241434 for ; Thu, 19 Feb 2009 20:47:46 -0800 (PST) X-Spam-Score: -0.6 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68314 Archived-At: What should nnrss do when encountering a link like:

Bob, the fact is that the Israeli government ... refugee relief aid; see my previous letter. When tabbed to, we see "buffer://../04/on-netanyahu-on-gaza". What is this "buffer:" protocol? A red flag that there is a bug. Why can't it detect that this is a relative link? 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, From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68316 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.w3m,gmane.emacs.gnus.general Subject: [emacs-w3m:10716] Re: nnrss: relative links in message bodies Date: Fri, 20 Feb 2009 14:03:54 +0800 Message-ID: <877i3l4pbp.fsf@jidanni.org> References: Reply-To: jidanni@jidanni.org, 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 1235109848 30896 80.91.229.2 (20 Feb 2009 06:04:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 06:04:08 +0000 (UTC) Cc: ding@gnus.org, emacs-w3m@namazu.org To: yamaoka@jpl.org Original-X-From: emacs-w3m-admin@namazu.org Fri Feb 20 06:04:06 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 1LaOUV-00066t-Ax for emacs-w3m@deer.gmane.org; Fri, 20 Feb 2009 06:04:03 +0000 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LaOUp-0006zm-00 for ; Fri, 20 Feb 2009 07:04:23 +0100 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id 9671599F33; Fri, 20 Feb 2009 15:03:59 +0900 (JST) Original-Received: from homiemail-a2.g.dreamhost.com (sd-green-bigip-66.dreamhost.com [208.97.132.66]) by vaj.namazu.org (Postfix) with ESMTP id 11DFE1BB1E for ; Fri, 20 Feb 2009 15:03:59 +0900 (JST) Original-Received: from jidanni.org (122-127-38-237.dynamic.hinet.net [122.127.38.237]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id 27FACD2701; Thu, 19 Feb 2009 22:03:57 -0800 (PST) X-ML-Name: emacs-w3m X-Mail-Count: 10716 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, please contact emacs-w3m-admin@namazu.org; X-Spam-Flag: No X-Spam-Probability: 0.000000 Precedence: bulk Original-Lines: 7 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:8076 gmane.emacs.gnus.general:68316 Archived-At: >>>>> "KY" == Katsumi Yamaoka writes: KY> ;; BTW, this feature has been made by your request. ;-) KY> ;; Cf. http://news.gmane.org/find-root.php?message_id=b4mbpynrbmw.fsf@jpl.org http://mid.gmane.org/b4mbpynrbmw.fsf@jpl.org and Google can't find anything. OK, glad it will be fixed soon. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68324 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.gnus.general Subject: Re: [emacs-w3m:10715] Re: nnrss: relative links in message bodies Date: Sat, 21 Feb 2009 10:43:19 +1100 Organization: Bah Humbug Message-ID: <874oyoy8rs.fsf@blah.blah> References: <87ljs14suo.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235173935 9702 80.91.229.12 (20 Feb 2009 23:52:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 23:52:15 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16764@lists.math.uh.edu Sat Feb 21 00:53:31 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LafBT-00086V-01 for ding-account@gmane.org; Sat, 21 Feb 2009 00:53:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Laf93-00068l-RF; Fri, 20 Feb 2009 17:51:01 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Laf2Z-00066t-4X for ding@lists.math.uh.edu; Fri, 20 Feb 2009 17:44:19 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Laf2W-0007WY-AO for ding@lists.math.uh.edu; Fri, 20 Feb 2009 17:44:19 -0600 Original-Received: from mailout2-1.pacific.net.au ([61.8.2.224] helo=mailout2.pacific.net.au) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Laf2q-00041q-00 for ; Sat, 21 Feb 2009 00:44:37 +0100 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout2.pacific.net.au (Postfix) with ESMTP id 935D71AB9E7 for ; Sat, 21 Feb 2009 10:44:09 +1100 (EST) Original-Received: from blah.blah (ppp2243.dyn.pacific.net.au [61.8.34.67]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 28EB28C0D for ; Sat, 21 Feb 2009 10:44:09 +1100 (EST) Original-Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1Laf1b-0000jg-Js for ding@gnus.org; Sat, 21 Feb 2009 10:43:19 +1100 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68324 Archived-At: Katsumi Yamaoka writes: > > The base tag, like , in the > ... section is needed to expand relative links to > the absolute ones. That sounds easiest for generated html. The alternative would be the Content-Location header in "MHTML" style, which I posted a bit for a while ago (passing that location to w3m).