From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13650 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.user Subject: Re: rss shimbuns Date: Fri, 12 Feb 2010 16:49:34 +0100 Message-ID: <87zl3eh2sx.fsf@arcor.de> References: <87r5osrifu.fsf@bsdlaptop.bsdlaptop.danakil.selfip.com> <87aavfadpy.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 1265989822 21791 80.91.229.12 (12 Feb 2010 15:50:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2010 15:50:22 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Feb 12 16:50:20 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 1Nfxmc-00008j-7R for gegu-info-gnus-english@m.gmane.org; Fri, 12 Feb 2010 16:50:18 +0100 Original-Received: from localhost ([127.0.0.1]:51704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nfxmb-0005fb-LJ for gegu-info-gnus-english@m.gmane.org; Fri, 12 Feb 2010 10:50:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfxmG-0005W6-2g for info-gnus-english@gnu.org; Fri, 12 Feb 2010 10:49:56 -0500 Original-Received: from [140.186.70.92] (port=48795 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfxmF-0005Vc-FP for info-gnus-english@gnu.org; Fri, 12 Feb 2010 10:49:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfxmC-0002NR-OP for info-gnus-english@gnu.org; Fri, 12 Feb 2010 10:49:55 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:42406) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfxmC-0002NL-Dy for info-gnus-english@gnu.org; Fri, 12 Feb 2010 10:49:52 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NfxmB-0008EL-FJ for info-gnus-english@gnu.org; Fri, 12 Feb 2010 16:49:51 +0100 Original-Received: from dslc-082-083-050-185.pools.arcor-ip.net ([82.83.50.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2010 16:49:51 +0100 Original-Received: from deng by dslc-082-083-050-185.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2010 16:49:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslc-082-083-050-185.pools.arcor-ip.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.92 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:EN1XpH0yqVS/WFOz/1sBIZIjlkg= X-detected-operating-system: by eggs.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:13650 Archived-At: Nigel Beck writes: > David Engster writes: >> 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. >> > > Yes that seems to fix it. OK, I'll see that this makes it into CVS. I guess this would also be useful for rss-hash and atom-hash. > I'll play with atom-hash and also see if I can figure out how the rss-blogs > code could become atom-blogs code. Probably its "obvious" but I've been > looking around for atom-hash usage examples and didn't come across > any. Well, using atom-hash is as simple as putting (setq shimbun-atom-hash-group-path-alist '(("PlanetEmacsen" "http://planet.emacsen.org/atom.xml" t) ("Stackoverflow: Emacs" "http://stackoverflow.com/feeds/tag/emacs" t))) in your .gnus and restarting Emacs. After that, you can subscribe to those two groups by choosing the atom-hash shimbun. Since Planet Emacsen and Stackoverflow publish the full content in their feed, atom-hash can be used here. For creating an atom-blogs shimbun for feeds without fully published content, you would start with sb-rss-blogs and derive the main class from shimbun-atom instead of shimbun-rss. However, the main task is to get familiar with luna, which is an object system for Emacs Lisp and used throughout the shimbun library. Regards, David