From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13738 invoked from network); 8 Apr 2021 21:21:07 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 8 Apr 2021 21:21:07 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lUc59-00FAnA-Tj for ml@inbox.vuxu.org; Thu, 08 Apr 2021 16:20:55 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1lUc59-006T6Q-Ac for ml@inbox.vuxu.org; Thu, 08 Apr 2021 16:20:55 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lRvo0-004xoJ-Kz for ding@lists.math.uh.edu; Thu, 01 Apr 2021 06:48:08 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lRvny-00A9Fp-Gr for ding@lists.math.uh.edu; Thu, 01 Apr 2021 06:48:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:Message-ID:Date:Subject:From:To: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZhaNkKxa5RdPRfp7Q72V8NuXXCklAHAiMeclUIEyFVY=; b=rz+fnN9CSI/6RDvvKSKuJgcaVz zd2lAosA010xmoIYtCt1mb8C6xwFlRP/YfvZZJDmBDXPE0DSD0fnHUq4x9xGtyDuFuSTGwM1lbocT 1nj1X46MBewSYQa8e2Kyb5YbcUhk5FVHbAEPmOYA4LOGS44zBf/XRS+cOirD/NMnLR7E=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRvno-0006m2-Py for ding@gnus.org; Thu, 01 Apr 2021 13:48:01 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lRvno-0003iT-46 for ding@gnus.org; Thu, 01 Apr 2021 13:47:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Garjola Dindi Subject: RSS in Gnus - elfeed backend? Date: Thu, 01 Apr 2021 13:47:49 +0200 Message-ID: <871rbuql96.fsf@pc-117-162.ovh.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:Z9HPxagiJT7xzScX2QGgmW9WBNc= List-ID: Precedence: bulk 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. --