From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56402 Path: main.gmane.org!not-for-mail From: David Z Maze Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss not working for me Date: Tue, 17 Feb 2004 22:40:36 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <871xp0xoru.fsf@everett.mit.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1077075727 11407 80.91.224.253 (18 Feb 2004 03:42:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2004 03:42:07 +0000 (UTC) Original-X-From: ding-owner+M4942@lists.math.uh.edu Wed Feb 18 04:42:01 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtIb3-000622-00 for ; Wed, 18 Feb 2004 04:42:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AtIZs-0001GG-00; Tue, 17 Feb 2004 21:40:48 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AtIZk-0001GA-00 for ding@lists.math.uh.edu; Tue, 17 Feb 2004 21:40:40 -0600 Original-Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by justine.libertine.org (Postfix) with ESMTP id 3A95A3A0234 for ; Tue, 17 Feb 2004 21:40:40 -0600 (CST) Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by pacific-carrier-annex.mit.edu (8.12.4/8.9.2) with ESMTP id i1I3ecRD015382 for ; Tue, 17 Feb 2004 22:40:38 -0500 (EST) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by grand-central-station.mit.edu (8.12.4/8.9.2) with ESMTP id i1I3ec04018207; Tue, 17 Feb 2004 22:40:38 -0500 (EST) Original-Received: from no-knife.mit.edu (NO-KNIFE.MIT.EDU [18.7.16.64]) ) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id i1I3ea8H022923; Tue, 17 Feb 2004 22:40:37 -0500 (EST) Original-To: ding@gnus.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUGBgS83KhoOivUeFmC pXj4o39qeFZD1JPmAAACOklEQVR4nE2UQY/bIBCFkVPlbpX0bA2tz7sQcl5SlnsWc7cclv// E/oGjNNxokjz8eYxA7HwR9xLKQGRC4eQezqUj7KWnDOzAOB3EjaBKDl4KPARzkvpAIqoUTwI a2op6WVoeXHOlfgsnJPM1kl0SdMIFEJ0AaIJshiRhkCsHbC/51LycKDmgiw2jVJy9B9IDPNN U5NkSMQoR+c5/zTW3qjZgwg5ylpJ2YT4wubO7FEVEs0NhvPJaqzxDaDS2gUpGUjyDkau9NxB fKsmu4Ir2XSpwAjxYwfsfeqlbJwqcAwwcLINxGRWtIhhMEB7ZLoAJudd4aE42e4RCQDjYMXK CpS6XOBtNM7EVfPAbRgihfU08Sg9jqIr9G9JJuo70cCty66gwY6kzJ9xIygyJs7mDNQcSEUV iPSE1qt5mLgUkcGj8ExTbrvii2CwG3UCQkxUXDUPE03KIqPw8Iq33IBfUcbw/Ez9eeo8VvPr qrRNj2RU1DjeaN6cG8c6RKVNnTg+GIDWfAkPBVdK2jC84fCq4n4yik+VNICNtoPlPkScrKmh bPw+FIGSYmBrOUPeNfATjajPpFXtMl0Hvyt4imfzqDvC9zZ3cAEYvlt/ADq7rvDbNKj3RuxC B7gsZRWzbSAaymNXSPxjia8id1GmV6kUyjDMf9vd3daXAiYFd4GvXNzmaT7AspRyJnoif6Nn Ob8UC94fN6KybTSbvB0e46d3Tyzm+I7v4QWW5WGswZulXFNyv/4DGFvqYRv4BxSm28ZwQ4mv AAAAAElFTkSuQmCC X-Face: &OO..E]'&$Q?jm[7H$]lCS"t#FD[|jK.HfvP#![KZ`/,O)lQ(pE<2QS1i~K3+u\{Bh"(4h4G0W#R-F2zZNO6n\!8bk;tu%)f>y{C` P*^7yM`e/x"b1q[?^-9zxTp In-Reply-To: <871xp0xoru.fsf@everett.mit.edu> (David Z. Maze's message of "Thu, 12 Feb 2004 11:09:57 -0500") User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Artificial Intelligence, usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56402 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56402 --=-=-= David Z Maze writes: > nnrss is this neat theoretical concept for me, but I've never quite > gotten it working (including through the 5.10.x series, so I'll ask > the newsgroup). I'm running current CVS Gnus. If I try to subscribe > to an RSS group, this happens: > > G R http://donut.mit.edu/blog/index.rss > (*Gnus churns for a bit, prodding donut*) > Title: blog.donut > Description: blog.donut > No such newsgroup: nnrss:blog.donut So after much hacking, I finally found out that the root of my problems is that the RSS feed declares but nnrss-get-namespace-prefix was returning a prefix of ":" when looking for "http://purl.org/rss/1.0/" as an XML namespace; it should have returned "". It turns out that you can have two distinct empty elisp strings that are equal but not eq, so: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- nnrss.el 14 Feb 2004 00:29:45 -0000 7.5 +++ nnrss.el 18 Feb 2004 03:39:12 -0000 @@ -730,7 +730,7 @@ "") ((eq (length nslist) 2) ; extract prefix (cadr nslist))))) - (if (and ns (not (eq ns ""))) + (if (and ns (not (equal ns ""))) (concat ns ":") ns))) --=-=-= Thanks, -- David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell --=-=-=--