diff options
author | User Mms <mms@voyager.local> | 2024-10-30 21:50:08 +0100 |
---|---|---|
committer | User Mms <mms@voyager.local> | 2024-10-30 21:50:08 +0100 |
commit | f50c5240edf959f14c84b895cc8e64d38ba414ab (patch) | |
tree | 87e6dee747e7b1da14cdb0986b7f36c404a3c301 | |
parent | ae00c756719d1201051e619b3d28da6fb66826eb (diff) |
feat: use miniflux as backend for elfeec
-rw-r--r-- | config.org | 1 | ||||
-rw-r--r-- | mms-configuration.org | 2 | ||||
-rw-r--r-- | mms-misc-rss.org | 48 |
3 files changed, 43 insertions, 8 deletions
@@ -20,6 +20,7 @@ #+BEGIN_SRC emacs-lisp (setq vc-follow-symlinks t) + (setq ispell-program-name "hunspell") #+END_SRC diff --git a/mms-configuration.org b/mms-configuration.org index 1292894..e745e47 100644 --- a/mms-configuration.org +++ b/mms-configuration.org @@ -182,7 +182,7 @@ I use two machines on different OSes (personal on FreeBSD and work on MacOS). On a few occasions, I will use device to use correct behavior. #+begin_src emacs-lisp - (setq mms-is-voyager (string= (system-name) "voyager")) + (setq mms-is-voyager (string= (system-name) "voyager.local")) (setq mms-is-mac (string= (system-name) "RN90Y7RDHT")) #+end_src diff --git a/mms-misc-rss.org b/mms-misc-rss.org index 3eb72b2..11fc32b 100644 --- a/mms-misc-rss.org +++ b/mms-misc-rss.org @@ -17,9 +17,43 @@ Elfeed is the single best RSS reader for Emacs and of the best out there. #+begin_src emacs-lisp (use-package elfeed - :ensure t) + :ensure t + :config + + ;; horizontal-split for search view + ;; from https://karthinks.com/software/lazy-elfeed/ + (setq elfeed-show-entry-switch #'elfeed-display-buffer) + + (defun elfeed-display-buffer (buf &optional act) + (pop-to-buffer buf) + (set-window-text-height (get-buffer-window) (round (* 0.7(frame-height))))) + ) #+end_src +* Elfeed-protocol + +#+begin_src emacs-lisp + (use-package elfeed-protocol + :ensure t + :after elfeed + :config + + (elfeed-set-timeout 36000) + (setq elfeed-protocol-feeds '(("fever+https://mms@miniflux.crys.site" + :api-url "https://miniflux.crys.site/fever/" + :use-authinfo t))) + + (setq elfeed-protocol-fever-update-unread-only nil) + (setq elfeed-protocol-fever-fetch-category-as-tag t) + (setq elfeed-use-curl t) + + + (setq elfeed-protocol-enabled-protocols '(fever)) + (elfeed-protocol-enable)) +#+end_src + + + * Elfeed-org I want to manage my subscription as org subtree - makes it easier to make sense of it. @@ -28,12 +62,12 @@ Lucky, elfeed-org does exact this! You can read my intro to elfeed org [[https://michal.sapka.me/emacs/elfeed-literate-config/][on my website.]] #+begin_src emacs-lisp - (use-package elfeed-org - ;; :after elfeed - :ensure t - :config - (setq rmh-elfeed-org-files (list "~/.emacs.d/mms-misc-rss.org")) - (elfeed-org)) + ;; (use-package elfeed-org + ;; :after elfeed + ;; :ensure t + ;; :config + ;; (setq rmh-elfeed-org-files (list "~/.emacs.d/mms-misc-rss.org")) + ;; (elfeed-org)) #+end_src And some keybindings |