diff options
author | 2023-04-01 23:18:07 -0700 | |
---|---|---|
committer | 2023-04-01 23:18:07 -0700 | |
commit | 92f4d8b53e47ab071293abe95411773165dc0abf (patch) | |
tree | 85053d1724b7d721101c09a35d2c9ce8fe0d271d /oni-elfeed.el | |
parent | b402ee0c31a1955155b2400fdd087434347b8440 (diff) | |
download | emacs-config-92f4d8b53e47ab071293abe95411773165dc0abf.tar.gz emacs-config-92f4d8b53e47ab071293abe95411773165dc0abf.zip |
[oni-elfeed] Ignore some blog posts from Planet Emacslife
These are posts that happend to point at blogs that I already follow.
Diffstat (limited to 'oni-elfeed.el')
-rw-r--r-- | oni-elfeed.el | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/oni-elfeed.el b/oni-elfeed.el index 734f599..bffaa18 100644 --- a/oni-elfeed.el +++ b/oni-elfeed.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2023.0108.120326 +;; Version: 2023.0331.141153 ;; Package-Requires: (elfeed olivetti) ;; This program is free software; you can redistribute it and/or modify @@ -103,6 +103,15 @@ (seq "1920" (minimal-match (zero-or-more whitespace)) nonl (minimal-match (zero-or-more whitespace)) "1080")))) :remove 'unread)) +;;; Mark any post from Planet Emacslife read if I also follow the originating +;;; blog. This way I won't have so many duplicates. +(add-hook 'elfeed-new-entry-hook + (elfeed-make-tagger :feed-url (rx "planet.emacslife.com") + :entry-title `(not ,(rx bos (or "Irreal" + "Sacha Chua" + "Andrea") + ":")))) + (add-hook 'elfeed-show-mode-hook #'oni-elfeed-enable-olivetti-mode) (provide 'oni-elfeed) |