[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rss shimbuns

From: Nigel Beck
Subject: Re: rss shimbuns
Date: Fri, 12 Feb 2010 19:24:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix)

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" ""; t)
>       ("Stackoverflow: 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
+1-323-NDUGU-ME (323-638-4863)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]