1
0
Fork 0

Compare commits

..

No commits in common. "881650a96bc2db415b0f962a4918c7150e93b283" and "62ec19f8ddc1f19cfcc6399879783d788263f7c2" have entirely different histories.

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2023.1106.145401
;; Version: 2023.0727.160959
;; Package-Requires: (elfeed olivetti)
;; This program is free software; you can redistribute it and/or modify
@ -30,7 +30,6 @@
;;; Code:
(require 'elfeed)
(require 'elfeed-search)
(require 'shr)
(defun oni-elfeed-enable-olivetti-mode ()
@ -85,8 +84,7 @@
"https://hackaday.com/tag/cyberdeck/feed/"
"https://bm.babab.nl/feed/atom"
"https://finalspaceends.com/blogs/news.atom"
"https://www.geepawhill.org/weekly/rss"
("https://blabbermouth.net/feed" music)))
"https://www.geepawhill.org/weekly/rss"))
(add-hook 'elfeed-new-entry-hook
(elfeed-make-tagger :before "2 weeks ago"
@ -115,33 +113,15 @@
(defvar oni-elfeed-duplicate-tagger
(elfeed-make-tagger :feed-url (rx "planet.emacslife.com")
:entry-title (rx bos (or "Irreal"
(seq "Sacha" whitespace "Chua")
"Andrea"
(seq "Mickey" whitespace "Petersen"))
(seq "Sacha" whitespace "Chua")
"Andrea"
(seq "Mickey" whitespace "Petersen"))
":")
:remove 'unread)
"Tagger for elfeed that marks certain posts as read for Emacslife.")
(defvar oni-elfeed-blabbermouth-review-tagger
(elfeed-make-tagger :feed-url (rx "blabbermouth.net")
:entry-link (rx "/reviews/")
:add 'review)
"Tagger that marks any reviews from Blabbermouth.")
(defvar oni-elfeed-blabbermouth-favourite-tagger
(elfeed-make-tagger :feed-url (rx "blabbermouth.net")
:entry-title (rx (or "SLIPKNOT"
(seq "DREAM" whitespace "THEATER")))
:add 'favourite)
"Tagger that highlights specific bands from Blabbermouth.")
(add-hook 'elfeed-new-entry-hook oni-elfeed-blabbermouth-favourite-tagger)
(add-hook 'elfeed-new-entry-hook oni-elfeed-blabbermouth-review-tagger)
(add-hook 'elfeed-new-entry-hook oni-elfeed-duplicate-tagger)
(add-to-list 'elfeed-search-face-alist '(review :slant italic) t)
(add-to-list 'elfeed-search-face-alist '(favourite :foreground "#f17272") t)
(add-hook 'elfeed-show-mode-hook #'oni-elfeed-enable-olivetti-mode)
(provide 'oni-elfeed)