I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.4 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. #+TITLE: Feeds
  2. #+AUTHOR: Christopher James Hayward
  3. #+EMAIL: chris@chrishayward.xyz
  4. #+PROPERTY: header-args:emacs-lisp :tangle feeds.el :comments org
  5. #+PROPERTY: header-args:shell :tangle no
  6. #+PROPERTY: header-args :results silent :eval no-export :comments org
  7. Setup a news feed inside of Emacs using ~elfeed~[fn:1], an Emacs web feeds client.
  8. * Setup
  9. + Add the feed for my [[file:website.org][Website]][fn:2] to make sure the RSS feeds are updating correctly
  10. + Add some subreddits, mostly about ~linux~, ~emacs~ and ~org-mode~
  11. #+begin_src emacs-lisp
  12. (use-package elfeed
  13. :commands (elfeed elfeed-update)
  14. :custom (elfeed-feeds (quote
  15. (("https://chrishayward.xyz/index.xml")
  16. ("https://hexdsl.co.uk/rss.xml")
  17. ("https://lukesmith.xyz/rss.xml")
  18. ("https://reddit.com/r/emacs.rss")
  19. ("https://reddit.com/r/orgmode.rss")
  20. ("https://reddit.com/r/emacsporn.rss")))))
  21. #+end_src
  22. * Shortcuts
  23. Configure ~elfeed~ keybindings behind =SPC l=:
  24. + Open with =l=
  25. + Update with =u=
  26. #+begin_src emacs-lisp
  27. (dotfiles/leader
  28. "l" '(:ignore t :which-key "Elfeed")
  29. "ll" '(elfeed :which-key "Open")
  30. "lu" '(elfeed-update :which-key "Update"))
  31. #+end_src
  32. * Footnotes
  33. [fn:1] https://github.com/skeeto/elfeed
  34. [fn:2] https://chrishayward.xyz/index.xml