From 5ac732973c6ee58222101b6331f7ebaff7ead326 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 9 Jan 2021 14:41:26 -0600 Subject: Add elfeed --- config.org | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/config.org b/config.org index aaf5978..221bc4a 100644 --- a/config.org +++ b/config.org @@ -1871,6 +1871,44 @@ I’m only enabling this at home for now, since it requires building stuff. ;; TODO : add tokens ... somehow #+end_src +** RSS + +*** elfeed + + #+begin_src emacs-lisp + (straight-use-package 'elfeed) + (require 'elfeed) + (define-key acdw/map "w" 'elfeed) + + (cuss elfeed-use-curl (executable-find "curl")) + (cuss elfeed-curl-extra-arguments '("--insecure") + "Extra arguments for curl.") + (elfeed-set-timeout (* 60 3)) + + (defun acdw/setup-elfeed-show () + (setq visual-fill-column-center-text t) + (visual-fill-column-mode +1)) + + (add-hook 'elfeed-show-mode-hook #'acdw/setup-elfeed-show) + #+end_src + +*** elfeed-protocol + + #+begin_src emacs-lisp + (straight-use-package 'elfeed-protocol) + (require 'elfeed-protocol) + + (cuss elfeed-protocol-ttrss-maxsize 200) + + (cuss elfeed-feeds (list + (list "ttrss+https://acdw@rss.tildeverse.org" + :use-authinfo t))) + + (setq elfeed-log-level 'debug) + + (elfeed-protocol-enable) + #+end_src + * System integration ** Linux -- cgit 1.4.1-21-gabe81