summaryrefslogtreecommitdiff
path: root/mms-misc-rss.org
diff options
context:
space:
mode:
Diffstat (limited to 'mms-misc-rss.org')
-rw-r--r--mms-misc-rss.org48
1 files changed, 41 insertions, 7 deletions
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