From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64202: [PATCH] Gnus: Add back end for Atom feeds (nnatom) Date: Wed, 21 Jun 2023 16:02:27 +0300 Message-ID: <83y1kd3r4s.fsf@gnu.org> References: <87v8fhmgvw.fsf@dsemy.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9060"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64202@debbugs.gnu.org To: Daniel Semyonov , Andrew Cohen , Eric Abrahamsen , Stefan Monnier , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 21 15:03:24 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBxUZ-00029B-Rh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Jun 2023 15:03:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBxUQ-0005zS-RD; Wed, 21 Jun 2023 09:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBxUK-0005xV-3e for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 09:03:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBxUE-0004iJ-Kg for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 09:03:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBxUE-0006c8-35 for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jun 2023 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64202-submit@debbugs.gnu.org id=B64202.168735257725414 (code B ref 64202); Wed, 21 Jun 2023 13:03:02 +0000 Original-Received: (at 64202) by debbugs.gnu.org; 21 Jun 2023 13:02:57 +0000 Original-Received: from localhost ([127.0.0.1]:60866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBxU9-0006bq-6x for submit@debbugs.gnu.org; Wed, 21 Jun 2023 09:02:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBxU6-0006bb-Sy for 64202@debbugs.gnu.org; Wed, 21 Jun 2023 09:02:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBxTv-0004gv-Ol; Wed, 21 Jun 2023 09:02:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cD6v4UrY6bn7WE0VjvJuFCTVmY3cgTWtN12llsvuZB4=; b=bUWffXLC47bm ew3jy+p2l1WpMHYdEDu4sb1zXnyqsuG3+Bd3LRJmbDBIldaJR1Ujduq4RuI1NEa7RwWwo8VMV8DCc kIjAkaL88UI5Lpt5vxRcnAkR6pBSt0XfkPnzlATo4YnTae6FQwwmAGwHx5EXSkZyyycJmHlD/Xc5Y CMlkcKBvsBYh1PYyhj9gE4Tb/AHz2jl7+W1g+XAZlnIZFd9MHyqgzASL/Ddqeb4O1I+6kShksx3Gu jarJbIk+l9SpGzHsBFVbdmstUZJmsYpJJXsvEiJN/8A9cMMUPgQI6Nq63yqaZpEbbt464zQpGyTtq Z/uOhPodBSb8YNiGn5B57g==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBxTX-0004Ku-N1; Wed, 21 Jun 2023 09:02:27 -0400 In-Reply-To: <87v8fhmgvw.fsf@dsemy.com> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263812 Archived-At: > Date: Wed, 21 Jun 2023 10:08:51 +0300 > From: Daniel Semyonov via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > This patch adds a back end for Atom feeds to Gnus, and documents it. Thanks for working on this. I don't use Gnus, so my comments will be mostly to the documentation parts. I expect others (CC'ed) to review the code more thoroughly. > +Some web sites provide an Atom Syndication Format feed. Atom is a web > +feed format similar in function to RDF Site Summary (@xref{RSS}). ^^^^^^^^^^ This should be @pxref, not @xref. > +Note, however, that the server address shouldn't be prefixed with > +@code{http://} or @code{https://}. These should use @file, not @code, unless most or all of the rest of the Gnus manual uses @code for URLs. > +The @code{nnatom} back end saves a server data file in the > +@code{atom} sub-directory of @code{gnus-directory} for each feed. These should definitely be @file, not @code, as these are file names. > +@defmac nnatom-define-basic-backend-interface backend > +Define server variables expected by @code{nnatom} and import its back > +end functions for BACKEND. This macro (or code similar to it) should ^^^^^^^ This should be @var{backend}.