UP / HOME

Making elfeed config neater

I had this long list of YouTube feeds in elfeed-feeds & it looked ugly. So I finally decided to fix it & wrote this:

(setq yt-chans
      '(
        "UCsooa4yRKGN_zEE8iknghZA" ;; TED-Ed
        ))

(while yt-chans
  (push (concat
         "https://www.youtube.com/feeds/videos.xml?channel_id="
         (car yt-chans))
        elfeed-feeds)
  (setq yt-chans (cdr yt-chans)))

My elfeed config looks a lot neater now & it's easier to manage. Nothing special, just thought I'll share it here.

Andinus / 2020-08-28 / Modified: 2020-10-06 Tue 23:32 Emacs 27.2 (Org mode 9.4.4)