From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13652 Path: news.gmane.org!not-for-mail From: Nigel Beck Newsgroups: gmane.emacs.gnus.user Subject: Re: rss shimbuns Date: Fri, 12 Feb 2010 19:24:23 -0500 Message-ID: <87zl3e3ruw.fsf@bsdlaptop.bsdlaptop.danakil.selfip.com> References: <87r5osrifu.fsf@bsdlaptop.bsdlaptop.danakil.selfip.com> <87aavfadpy.fsf@bsdlaptop.bsdlaptop.danakil.selfip.com> <87zl3eh2sx.fsf@arcor.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1266020698 26922 80.91.229.12 (13 Feb 2010 00:24:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2010 00:24:58 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Feb 13 01:24:56 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 1Ng5od-0004rw-BH for gegu-info-gnus-english@m.gmane.org; Sat, 13 Feb 2010 01:24:55 +0100 Original-Received: from localhost ([127.0.0.1]:44520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ng5oc-0003Sf-UJ for gegu-info-gnus-english@m.gmane.org; Fri, 12 Feb 2010 19:24:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ng5ob-0003SJ-Bw for info-gnus-english@gnu.org; Fri, 12 Feb 2010 19:24:53 -0500 Original-Received: from [140.186.70.92] (port=53741 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ng5oa-0003Rp-MJ for info-gnus-english@gnu.org; Fri, 12 Feb 2010 19:24:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ng5oW-00015J-1v for info-gnus-english@gnu.org; Fri, 12 Feb 2010 19:24:52 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:49583) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ng5oV-00015B-Kx for info-gnus-english@gnu.org; Fri, 12 Feb 2010 19:24:48 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ng5oU-0004lD-0I for info-gnus-english@gnu.org; Sat, 13 Feb 2010 01:24:46 +0100 Original-Received: from 200.21.171.66.subscriber.vzavenue.net ([66.171.21.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2010 01:24:45 +0100 Original-Received: from me by 200.21.171.66.subscriber.vzavenue.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2010 01:24:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 62 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200.21.171.66.subscriber.vzavenue.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEVOMSkwIR7z8vGEfn18 B1naAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABdklEQVQoz03S P07DMBQG8M9KKiRUVYmUrByAKRIbYnBLsnSoGvCjW9g5Qqcy9AgcgAEJ9Y8EQ/ZKFTMLvQRH6AB8 z6YCK0r8yxc7znOwYFvi/Uuv0NOqHk/2B6xFnNn/ohW224DvnULOFa/O96Wn2FUBEbEqQ18c0UoO NuoTi1wEEdBRLHkLGxSJYiUyBrb63CmeOJL9LnGHVoFCkynmHNNlgFyG2GlSFAWnaxQ1X1PUQjxw 5m200ZfeEK6CpAxkokluw+ImeAuLDJh72P8Yi5+g/UuaANft5K5qdKG6BtMp8waPfKS2Z4Bhsib4 QTFQXRGARTJGnA5wL1qOSk8nmHVwESGOLTIPbYZHgxl7EUzCZIQXf9/108zssYpYjTxNMnO0wFIT m9jYXrPWs9rCcnw2IJYfSFhrY/z+tH4+lEPFuo5Z+TI9Vjw7y6wf+4Q7lKGMZeoxF1dzLwNCGdKR h355lUmA/i1Oyt4BdZm5ywDnyiStssUPtUy5uTU5Io0AAAASdEVYdGNvbW1lbnQAQXBwbGVNYXJr CnntC6wAAAAldEVYdGNyZWF0ZS1kYXRlADIwMTAtMDEtMjJUMTU6MzQ6MjAtMDU6MDAut/G6AAAA EXRFWHRqcGVnOmNvbG9yc3BhY2UAMix1VZ8AAAAgdEVYdGpwZWc6c2FtcGxpbmctZmFjdG9yADJ4 MiwxeDEsMXgxSfqmtAAAACV0RVh0bW9kaWZ5LWRhdGUAMjAxMC0wMS0yMlQxNTozNDoyMC0wNTow MHEGh44AAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) Cancel-Lock: sha1:66De4bBd4LNjDGT5g6zFLVIibN4= 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:13652 Archived-At: Thanks for the followup and the example re atom hash. I noticed the luna stuff and will add it to the list of "things to get familiar with"! While I'm on rss-blogs shimbuns... In a "normal" group, I enter the group, read stuff, mark it with E, and quit. Then I don't see those things again. With my rss-blogs shimbuns, every type I type "g" in the *Group* buffer to refresh, I get the same count and article subset. For example, I might get 4 articles for a particular blog, regardless of whether I've expired them or not. Is there something I'm supposed to do differently when dealing with shimbuns to get the articles to actually expire? It works well with, for example, the NY Times shimbun, so its not "all shimbuns", simply (for me) "all rss-blogs shimbuns" David Engster writes: > 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 -- Nigel Beck http://www.nigelbeck.com +1-323-NDUGU-ME (323-638-4863)