From: David Engster <deng@randomsample.de>
To: info-gnus-english@gnu.org
Subject: Re: rss shimbuns
Date: Fri, 12 Feb 2010 16:49:34 +0100 [thread overview]
Message-ID: <87zl3eh2sx.fsf@arcor.de> (raw)
In-Reply-To: <87aavfadpy.fsf@bsdlaptop.bsdlaptop.danakil.selfip.com>
Nigel Beck <me@nigelbeck.com> writes:
> David Engster <deng@randomsample.de> 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
next prev parent reply other threads:[~2010-02-12 15:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 19:37 Nigel Beck
2010-02-11 13:09 ` David Engster
2010-02-11 17:23 ` Nigel Beck
2010-02-12 15:49 ` David Engster [this message]
2010-02-13 0:24 ` Nigel Beck
2010-02-13 10:40 ` David Engster
2010-02-17 0:10 ` Nigel Beck
2010-02-17 13:46 ` David Engster
2010-02-17 17:08 ` Nigel Beck
2010-02-18 22:38 ` David Engster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zl3eh2sx.fsf@arcor.de \
--to=deng@randomsample.de \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).