Fix elfeed synchronization with Miniflux

This commit is contained in:
2025-12-22 08:28:33 +01:00
parent d0fa140a9b
commit c82e9ce6fa

15
+rss.el
View File

@@ -1,18 +1,21 @@
;;; +rss.el -*- lexical-binding: t; -*- ;;; +rss.el -*- lexical-binding: t; -*-
;; Elfeed configuration ;; Elfeed configuration
;; ;;
;; Tweak appeareance of the main page
(setq elfeed-sort-order 'ascending
elfeed-search-filter "@all +unread"
elfeed-goodies/tag-column-width 0)
;; Synchronize elfeed with Miniflux ;; Synchronize elfeed with Miniflux
(use-package! elfeed-protocol
:after elfeed
:config
(setq elfeed-use-curl t (setq elfeed-use-curl t
elfeed-protocol-enabled-protocols '(fever) elfeed-protocol-enabled-protocols '(fever)
elfeed-protocol-feeds (list elfeed-protocol-feeds (list
(list "fever+https://coolneng@rss.psydnd.org" (list "fever+https://coolneng@rss.psydnd.org"
:api-url "https://rss.psydnd.org/fever/" :api-url "https://rss.psydnd.org/fever/"
:password (auth-source-pass-get 'secret "api/miniflux"))) :password (auth-source-pass-get 'secret "api/miniflux"))))
elfeed-protocol-lazy-sync t (elfeed-protocol-enable))
elfeed-sort-order 'ascending
elfeed-search-filter "@all +unread"
elfeed-goodies/tag-column-width 0)
(elfeed-protocol-enable)
;; Update RSS feeds on startup ;; Update RSS feeds on startup
(add-hook! 'elfeed-search-mode-hook 'elfeed-update) (add-hook! 'elfeed-search-mode-hook 'elfeed-update)
;; Use different font and show article in fullscreen ;; Use different font and show article in fullscreen