🚸 elfeed-protocol: Add keybinding for reinit

Seems to be the only way to update/retrieve new items
This commit is contained in:
Marcel Kapfer 2022-10-15 16:16:56 +02:00
parent 932e1d02e9
commit 3bfdcb8d6f
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -1753,7 +1753,6 @@ Original Source: [[https://www.emacswiki.org/emacs/ts-mode.el][EmacsWiki: ts-mod
("\\.tsconfig\\'" . ts-mode))) ("\\.tsconfig\\'" . ts-mode)))
#+end_src #+end_src
* Emacs Multimedia System (EMMS) * Emacs Multimedia System (EMMS)
For notes, tasks, writing, and countless other things there is org-mode. For notes, tasks, writing, and countless other things there is org-mode.
@ -1942,21 +1941,20 @@ Using this function I can now define a org-capture template for my purpose.
I currently use it in combination with my Miniflux instance (previously I used it with Nextcloud News and FreshRSS). The reason why I not only use elfeed with a local feed list (managed for example by elfeed-org) is that a cloud service can check for new feed articles continuously and I can read articles on any device. I currently use it in combination with my Miniflux instance (previously I used it with Nextcloud News and FreshRSS). The reason why I not only use elfeed with a local feed list (managed for example by elfeed-org) is that a cloud service can check for new feed articles continuously and I can read articles on any device.
I additionally bind =elfeed-protocol-fever-reinit= to a handy keybinding since this seems to be the only way to retrieve new items from the API.
Source: [[https://github.com/fasheng/elfeed-protocol][GitHub: fasheng/elfeed-protocol]] Source: [[https://github.com/fasheng/elfeed-protocol][GitHub: fasheng/elfeed-protocol]]
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package elfeed-protocol (use-package elfeed-protocol
:init :init
;; FreshRSS (self-hosted) ;; FreshRSS (self-hosted)
;; Disabled since I currently use Miniflux
(setq elfeed-feeds '(("fever+https://mmk2410@rss.mmk2410.org" (setq elfeed-feeds '(("fever+https://mmk2410@rss.mmk2410.org"
:api-url "https://rss.mmk2410.org/api/fever.php" :api-url "https://rss.mmk2410.org/api/fever.php"
:use-authinfo t))) :use-authinfo t)))
;; Miniflux (self-hosted) (elfeed-protocol-enable)
;; (setq elfeed-feeds '(("fever+https://mmk2410@miniflux.rss.mmk2410.org" :bind (:map elfeed-search-mode-map
;; :api-url "https://miniflux.rss.mmk2410.org/fever/" ("C-c C-u" . elfeed-protocol-fever-reinit)))
;; :use-authinfo t)))
(elfeed-protocol-enable))
#+end_src #+end_src
* Mastodon * Mastodon