SqrtMinusOne/elfeed-summary

help regarding setup

Closed this issue · 2 comments

Hello, i discovered your package yesterday and i'm trying to set it up to manage my podcasts, however when i open a specific feed it defaults to the @6-months-ago +unread default of elfeed, i also tried using (setq-default elfeed-search-filter "10-years-ago +unread ") to no avail, how could i set it up so it searches back a long time in all feeds added?, thanks in advance.

(use-package elfeed
  :config
  (setq elfeed-feeds
        '(
          ("https://feeds.megaphone.fm/albasalix" podcast)
          ("https://www.spreaker.com/show/4576709/episodes/feed" podcast)
          )))
(use-package elfeed-summary
  :config
  (setq elfeed-summary-settings
        '((group
           (:title . "Podcasts")
           (:elements
            (query . podcast)
	    (search (:filter . "@10-years-ago +unread ")(:title . "Search")(:tags (podcast))))))))

Formatted you comment a bit.

This part is configured by the elfeed-summary-default-filter variable, which is a default filter in every case.

(setq elfeed-summary-default-filter "@10-years-ago ")

Don't forget the last space here :)

You also have to update the elfeed-summary-look-back variable if you want the summary buffer to show the unread/total numbers for 10 years:

(setq elfeed-summary-look-back (* 60 60 24 365 10))

I'll add a few lines to the README about that.

Thank you!!! it worked perfectly.