From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13643 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.user Subject: Re: rss shimbuns Date: Thu, 11 Feb 2010 14:09:20 +0100 Message-ID: References: <87r5osrifu.fsf@bsdlaptop.bsdlaptop.danakil.selfip.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265893793 11708 80.91.229.12 (11 Feb 2010 13:09:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 13:09:53 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Feb 11 14:09:50 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NfYnm-0005DU-3k for gegu-info-gnus-english@m.gmane.org; Thu, 11 Feb 2010 14:09:50 +0100 Original-Received: from localhost ([127.0.0.1]:42149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfYnl-0006Xx-Ed for gegu-info-gnus-english@m.gmane.org; Thu, 11 Feb 2010 08:09:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfYnk-0006Xs-0Z for info-gnus-english@gnu.org; Thu, 11 Feb 2010 08:09:48 -0500 Original-Received: from [199.232.76.173] (port=39068 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfYnj-0006Xk-Nh for info-gnus-english@gnu.org; Thu, 11 Feb 2010 08:09:47 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfYnh-0003Zk-OT for info-gnus-english@gnu.org; Thu, 11 Feb 2010 08:09:47 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:43650) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfYnh-0003Zg-6L for info-gnus-english@gnu.org; Thu, 11 Feb 2010 08:09:45 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NfYnc-00056g-Nn for info-gnus-english@gnu.org; Thu, 11 Feb 2010 14:09:40 +0100 Original-Received: from imac-c2.pc.gwdg.de ([134.76.4.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2010 14:09:40 +0100 Original-Received: from deng by imac-c2.pc.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2010 14:09:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: imac-c2.pc.gwdg.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (darwin) Mail-Copies-To: never Cancel-Lock: sha1:Fsv4uEgQsEcM5tGWb4k+iEatICU= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13643 Archived-At: Nigel Beck writes: > I've been experimenting with the generic shimbun reader for rss and have > it mostly working, but a few things puzzle me: > > 1) Changing shimbun-rss-blogs-group-url-regexp requires a complete emacs > shutdown and restart to be recognized. Even a gnus restart within emacs > doesn't work. This seems like a bit of an onerous requirement to add a > new blog I agree. This is due to shimbun-rss-blogs-groups being defvar'ed. Adding (luna-define-method shimbun-groups ((shimbun shimbun-rss-blogs)) (mapcar 'car shimbun-rss-blogs-group-url-regexp)) to sb-rss-blogs.el (after the 'defvar' of shimbun-rss-blogs-groups) should fix this. Please let me know if this works for you. > 2) Similar to #1 - if a name has ever been used - eg "Nigels Blog" - it > seems to "stick" even after total reset and can never be used again. > This means that if I give the wrong url (typo, stupidity, whatever) for > a blog, I need to rename it the next time. I'm guessing you only tried to 'kill' the group? The verb is misleading here; in Gnus, 'killing' only means 'unsubscribing'. You can actually *delete* a group from the shimbun server by using 'C-u G DEL' on the group. Alternatively, you can delete the remaining overview/marks files manually in ~/News/shimbun/rss-blogs/FEEDNAME and restart Gnus. > 3) How *does* one deal with atom feeds? I've seen the stuff here > http://www.randomsample.de/dru5/node/8 for converting an atom feed to > rss, but I'm not clear on how/whether that plays nicely with the > nnshimbun rss-blogs facility. The shimbun library uses w3m instead of mm-url for retrieving the feeds, so this approach will not work. If you have atom feeds with fully published content, you can use the atom-hash shimbun. For atom feeds without full content, I think implementing a atom-blogs shimbun based on the rss-blogs code should be straightforward. I'll eventually do that, but I'm currently pretty busy. -David