Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Nigel Beck <me@nigelbeck.com>
To: info-gnus-english@gnu.org
Subject: Re: rss shimbuns
Date: Thu, 11 Feb 2010 12:23:21 -0500	[thread overview]
Message-ID: <87aavfadpy.fsf@bsdlaptop.bsdlaptop.danakil.selfip.com> (raw)
In-Reply-To: <m2r5orex6n.fsf@imac-c2.pc.gwdg.de>

Thanks for the comments

David Engster <deng@randomsample.de> writes:

> Nigel Beck <me@nigelbeck.com> 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.
>

Yes that seems to fix it.

>> 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.
>

Yes indeed. Thanks for the pointer.

>> 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.
>

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.
If anyone has one before I hack through it, it would be appreciated!

> -David

-- 
Nigel Beck
http://www.nigelbeck.com

  reply	other threads:[~2010-02-11 17:23 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 [this message]
2010-02-12 15:49     ` David Engster
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=87aavfadpy.fsf@bsdlaptop.bsdlaptop.danakil.selfip.com \
    --to=me@nigelbeck.com \
    --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).