Skip to content

Latest commit

 

History

History
259 lines (240 loc) · 12.9 KB

ha-feed-reader.org

File metadata and controls

259 lines (240 loc) · 12.9 KB

My RSS Feeds

A literate programming file for configuring elfeed in Emacs.

Configuring Elfeed

Let’s get our feeds from a collection of org mode files. By default, Doom configures rmh-elfeed-org-files to elfeed.org in org-directory, so that will be fine.

(use-package elfeed
  :config
  ;; While I would like to share the /status/ of my reads, so ...
  (setq elfeed-db-directory "~/dropbox/.elfeed/")

  ;; Let's limit what is initially displayed, and then expand it:
  (setq elfeed-search-filter "@6-months-ago +unread -science -funny")

  ;; While not an elfeed-specific variable, this make reading articles
  ;; with images easier:
  (setq pixel-scroll-precision-mode t)

  (defvar ha-elfeeds-title
    (concat (all-the-icons-faicon "rss") " Feed Reader"))

  (major-mode-hydra-define elfeed-search-mode
    (:title ha-elfeeds-title)
    ("Feeds"
     (("U" (elfeed-search-fetch 4) "Refresh Feeds")
      ("u" elfeed-update "Update Screen")
      ("f" elfeed-search-live-filter "Filter")
      ("F" elfeed-search-clear-filter "Clear Filter")
      ("X" elfeed-unjam "Unjam"))
     "Entry"
     (("r" elfeed-search-untag-all-unread "Mark read" :color pink)
      ("R" ha-elfeed-tag-unread "Mark read/refresh")
      ("y" elfeed-search-yank "Copy URL"))))

  (major-mode-hydra-define elfeed-show-mode
    (:title ha-elfeeds-title)
    ("Entry"
     (("n" elfeed-show-next "Next Entry" :color pink)
      ("p" elfeed-show-prev "Previous Entry" :color pink))
     "Read"
     (("b" elfeed-show-visit "Show in EWW")
      ("B" elfeed-show-visit-gui "Show in Browser")
      ("y" elfeed-show-yank "Copy URL"))
     "Navigation"
     (("o" link-hint-open-link "Open Link")
      ("q" bury-buffer "Close")
      ("Q" delete-window "Close Window")))))

(defun ha-elfeed-tag-unread ()
  (interactive)
  (elfeed-search-untag-all 'unread)
  (elfeed-search-update))

According to Ben Maughan and this Pragmatic Emacs essay, we could easily browse an article in the GUI browser instead of EWW with capital B:

(defun elfeed-show-visit-gui ()
  "Wrapper for elfeed-show-visit to use gui browser instead of eww"
  (interactive)
  (let ((browse-url-generic-program "/usr/bin/open"))
    (elfeed-show-visit t)))

And some global keys to display them in the apps menu:

(ha-leader "a f" `("feed reader" . ,(ha-app-perspective "elfeed" #'elfeed)))

The Feeds

The elfeed-org project configures elfeed to read the RSS feeds from an Org file … like this one!

(use-package elfeed-org
  :after elfeed
  :config
  (setq rmh-elfeed-org-files (list (f-join hamacs-source-dir "ha-feed-reader.org")))
  (elfeed-org))

Personal

Clearly, I know what I write, but often good to see how it displays elsewhere.

Interesting articles I find through various channels gets saved here. Not sure if this is the best approach, but…

Software Development

Emacs

Currently the best Emacs weblog as an aggregator of all things Emacscy. Lots of duplication with what I already follow, so I may have trim things down.

Was the best overall Emacs weblog (in the traditional sense), but has since been replaced. I’ll leave it here for a bit.

Her curated summary of the world of Emacs is quite helpful (to make sure I don’t miss something).

Wrote the wonderful book, Mastering Emacs.

Has had some good essays with a bent toward modern updates.

Lovely peelings of the onion’s layers.

The Pragmatic Emacs blog.

Artur Malabarba’s blog mostly about Emacs.

As stated here, a blog mostly dedicated to Emacs tips and tricks.

Bozhidar Batsov’s Emacs-focused blog. While it hasn’t been updated in about a year (end of 2017), we’ll leave it here, as well as his newer, personally-focused blog.

The null program blog, has discussed technical aspects of Emacs, including the use of elfeed, which is my current favorite way to read my RSS feeds.

A personal blog of a Scala engineer that uses Emacs on MacOS.

While just starting out, this blogger from China is off to a good start.

The Emacs Polish professor and author of mbork.pl, and new book on intermediate Lisp programming.

Jon Sander’s blog mostly on Emacs.

A self-proclaimed Emacs addict and Free Software enthusiast from Koblenz, Germany. While the blog is currently short, I have high hopes.

An Emacs-learning blog by Junji Zhi.

Abhinav Tushar’s blog is heavily Emacs and org-focused.

A new blog about Emacs.

Intrigued with Emacs org-assistant project, but a good Emacs blog.

Programming

While he hasn’t updated the blog in a while, keep an eye on his Github projects.

Thoughtful and inspirational, her creative projects are always fun to explore.

Send More Paramedics blog. Wrote Functional JavaScript and, of course, The Joy of Clojure.

Most prolific engineer, who ran Emacs Redux, is the principal mind behind the wonderful Cider project.

Personal friend who often has fun interesting projects to keep tabs.

Mike Zamansky’s posts on Emacs and computer education.

Other

Quirky and fun. Looking forward to her new project.

Irreverent and fun. The summary is hilarious, and often sets my mental state correctly before diving into Hacker News.

David McCandless’ blog on graphical display of information.

History of technology that is well researched and personal.

Science

Do I need more science articles? Perhaps, but most of my news in this arena comes from my Twitter lists…

Space

A pretty good blog of interesting articles that post about once a month.

General

Essays on the mathematics of combinatorics.

An interesting blog from Discover that has moved on with retirement. Hopefully, Dr. Christie Wilcox will continue writing.

Another of my favorite science blogs is retiring.

Geeky

The penultimate geek cartoon.

A daily helping of geeky humor.

Regular Sunday features of this long-running comic is now even more geeky

Quite geeky.

Oddly drawn, quirky and often geeky.

Odd and quirky.

A geeky, gaming-theme comic.

Insightful coding strip.

Sure, make me wish I had continued my studies…

Political

While Iron Knee requires a break, any time he posts, its a joy.

Often political, hopefully more political.

Smart and Irreligious

Smart, inventive and usually hilarious

I’ve used to enjoy this comic years ago, but had lost track. Love that Mark is still doing work.

While funny, sometimes blesses with longer thought pieces.

Philosophical, and one would be smarter just by following along (and the Twitter feed too).

News from the world of religious favoritism.

Irreligious, as one can guess. Hasn’t posted for a while. Break?

Favorite celebrities arguing with Bar Maid.

Role Playing Games

Interested in both RPGs and Emacs? Probably.

Misc

Always been fascinated with the ideas associated with making a 10,000 year clock.

Has some good, thought-provoking essays.

Technical Artifacts

Let’s provide a name so we can require the file: