Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Garjola Dindi <garjola@garjola.net>
To: info-gnus-english@gnu.org
Subject: RSS with Gnus (elfeed backend?)
Date: Thu, 01 Apr 2021 20:59:47 +0200	[thread overview]
Message-ID: <87blaxq198.fsf@pc-117-162.ovh.com> (raw)


Hi,

I read RSS/Atom feeds in Gnus everyday using a couple of ways.

The first one, is the standard nnrss backend with the following trick I
found somewhere to convert Atom to RSS:
,----
| (require 'mm-url)
| (defadvice mm-url-insert (after DE-convert-atom-to-rss () )
|   "Converts atom to RSS by calling xsltproc."
|   (when (re-search-forward "xmlns=\"http://www.w3.org/.*/Atom\"" 
| 			   nil t)
|     (goto-char (point-min))
|     (message "Converting Atom to RSS... ")
|     (call-process-region (point-min) (point-max) 
| 			 "xsltproc" 
| 			 t t nil 
| 			 (expand-file-name "~/.emacs.d/atom2rss.xsl") "-")
|     (goto-char (point-min))
|     (message "Converting Atom to RSS... done")))
`----

Since the nnrss fetching blocks Emacs, this is not useable for a large
number of feeds. So I reserve this approach to a few feeds which are
responsive and that I don't need to check while offline.

For most of my feeds, I use feed2imap
https://github.com/feed2imap/feed2imap which allows me to download to
disk and view offline using an e-mail backend (I use nnmaildir).
Feed2imap seems to be unmaintained and is not very robust wrt updated
items on the feeds.

Looking for alternatives I found this:
https://protesilaos.com/dotemacs/#h:7e4448ec-3878-4ea2-9cd6-75e9faaac373

which actually describes rather well my issues. I think I am more of a
Gnus fan person than Protesilaos, and I resist to split my inboxes
between Elfeed (https://github.com/skeeto/elfeed) for feeds and Gnus for
everything else.

What I was wondering (but it may be completely dumb) is that if elfeed
itself (which is written in Elisp) could be used as a backend for Gnus.

Since there seem to be Gnus backends for nearly everything, maybe that
interfacing with Elfeed is possible.

What do you think? 

I am not an elisp programmer, but I may try to have a look at it if it
doesn't seem a bad idea to people having written backends for Gnus.

Thanks for your feedback.
  
-- 


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

             reply	other threads:[~2021-04-01 19:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01 18:59 Garjola Dindi [this message]
2021-04-01 19:19 ` Jose A. Ortega Ruiz
2021-04-02  6:43   ` Garjola Dindi
2021-04-02 20:44     ` Jose A. Ortega Ruiz
2021-04-03  7:34       ` Garjola Dindi
2021-04-02 15:04 ` Jeffrey DeLeo
2021-04-02 15:29   ` Garjola Dindi
2021-04-02 18:21     ` Tim Landscheidt
2021-04-03  7:30       ` Garjola Dindi
2021-04-04  0:06         ` Eric Abrahamsen
2021-04-04  9:59           ` Garjola Dindi

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=87blaxq198.fsf@pc-117-162.ovh.com \
    --to=garjola@garjola.net \
    --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).