Re-org the elfeed-org configuration

This commit is contained in:
Howard Abrams 2023-10-10 08:12:35 -07:00
parent 4bd7dd4272
commit a6e875e5c5

View file

@ -26,17 +26,10 @@ A literate programming file for configuring =elfeed= in Emacs.
* Configuring Elfeed * Configuring Elfeed
Let's get our feeds from a collection of org mode files. By default, Doom configures =rmh-elfeed-org-files= to [[file:~/Dropbox/org/elfeed.org][elfeed.org]] in =org-directory=, so that will be fine. Let's get our feeds from a collection of org mode files. By default, Doom configures =rmh-elfeed-org-files= to [[file:~/Dropbox/org/elfeed.org][elfeed.org]] in =org-directory=, so that will be fine.
By setting this variable, we configure elfeed to use elfeed:
#+begin_src emacs-lisp
(setq rmh-elfeed-org-files (list (f-join hamacs-source-dir "ha-feed-reader.org")))
#+end_src
While I would like to share the /status/ of my reads, so ...
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package elfeed (use-package elfeed
:init :init
;; While I would like to share the /status/ of my reads, so ...
(setq elfeed-db-directory "~/dropbox/.elfeed/") (setq elfeed-db-directory "~/dropbox/.elfeed/")
;; While not an elfeed-specific variable, this make reading articles ;; While not an elfeed-specific variable, this make reading articles
@ -57,10 +50,6 @@ While I would like to share the /status/ of my reads, so ...
"u" 'elfeed-update "u" 'elfeed-update
"U" 'elfeed-unjam)) "U" 'elfeed-unjam))
(use-package elfeed-org
:after elfeed
:config (elfeed-org))
(defun ha-elfeed-tag-unread () (defun ha-elfeed-tag-unread ()
(interactive) (interactive)
(elfeed-search-untag-all 'unread) (elfeed-search-untag-all 'unread)
@ -104,6 +93,14 @@ And some global keys to display them in the =apps= menu:
"a F" '("elfeed start" . ha-elfeed-persp-start)) "a F" '("elfeed start" . ha-elfeed-persp-start))
#+end_src #+end_src
* The Feeds :elfeed: * The Feeds :elfeed:
The [[https://github.com/remyhonig/elfeed-org][elfeed-org]] project configures =elfeed= to read the RSS feeds from an Org file … like this one!
#+begin_src emacs-lisp
(use-package elfeed-org
:after elfeed
:config
(setq rmh-elfeed-org-files (list (f-join hamacs-source-dir "ha-feed-reader.org")))
(elfeed-org))
#+end_src
** Personal :personal: ** Personal :personal:
*** [[http://www.howardism.org/index.xml][Howardisms]] :mustread: *** [[http://www.howardism.org/index.xml][Howardisms]] :mustread:
Clearly, I know what I write, but often good to see how it displays elsewhere. Clearly, I know what I write, but often good to see how it displays elsewhere.