Set up elfeed-protocol w/ Fever

This commit is contained in:
Case Duckworth 2021-02-26 11:32:02 -06:00
parent d3b6cd94ec
commit 3f74ea8d42

View File

@ -2281,96 +2281,29 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast
(acdw/bind "f" #'elfeed :map acdw/leader)
#+end_src
**** Elfeed feeds
**** Elfeed-protocol
I have Miniflux set up on my server, so I can use its Fever integration.
#+begin_src emacs-lisp :noweb-ref packages
(straight-use-package 'elfeed-protocol)
#+end_src
#+begin_src emacs-lisp :noweb-ref settings
(setq-default elfeed-use-curl t
elfeed-curl-extra-arguments '("--insecure"))
;;(elfeed-set-timeout 36000)
#+end_src
#+begin_src emacs-lisp :noweb-ref settings
(setq elfeed-feeds
`(
("https://computer.rip/rss.xml" tech newsletter)
("https://weather-broker-cdn.api.bbci.co.uk/en/forecast/rss/3day/4315588" weather)
("https://www.realbakingwithrose.com/month?format=rss" food)
("https://xfnw.tilde.institute/sandcats/feed.rss" fwend pix)
("https://www.makeworld.gq/feed.xml" blag)
("https://whyarentyoucoding.com/feed.xml" comix)
("https://xkcd.com/atom.xml" comix)
("https://falseknees.com/rss.xml" comix)
("https://chrisman.github.io/rss.xml" fwend dozens blag)
("https://tilde.team/~dozens/dreams/rss.xml" fwend dozens blag)
("https://society.neocities.org/rss.xml" fwend dozens)
("https://supervegan.neocities.org/feed.xml" fwend dozens food)
("https://blog.astrosnail.pt.eu.org/feed.atom" tech blag)
("https://www.greghendershott.com/feeds/all.atom.xml" tech blag)
("https://hans.gerwitz.com/feeds/writing.rss" fwend)
("http://planet.lisp.org/rss20.xml" tech lisp)
("https://wflewis.com/feed.xml" blag fwend)
("HTTPS://atthis.link/rss.xml" blag tech)
("https://rachelbythebay.com/w/atom.xml" blag tech)
("https://notes.neeasade.net/rss_full.xml" blag tech)
("https://www.uninformativ.de/blog/feeds/en.atom" blag tech)
("http://blog.z3bra.org/rss/feed.xml" blag tech)
("https://blog.sanctum.geek.nz/feed/" blag tech)
("https://drewdevault.com/blog/index.xml" blag tech)
("https://usesthis.com/feed.atom" tech)
("https://occasionallycogent.com/feed.xml" blag)
("https://www.murilopereira.com/index.xml" blag tech)
("https://botanistinthekitchen.blog/feed/" blag food)
("https://www.careercenterbr.com/feed/" work)
("https://blog.ebrpl.com/feed/" work)
(,(concat ; long-ass url
"https://lemmy.ml/feeds/front/"
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9."
"eyJpZCI6MTY4MjQsImlzcyI6ImxlbW15Lm1sIn0"
".yE2zUGjvlEuTZZi3TiF9HR7L7ITM9f_"
"fQnquyYLgdJ4.xml?sort=Active")
news)
("https://lobste.rs/rss" news tech)
("https://feeds.npr.org/1001/rss.xml" news)
(,(concat ; long-ass url
"https://tilde.news/rss?token="
"FvdFj8rQkhrBy9j1yON1t6RYKDdcuG1MoUlyvRICmbgDGCf2JTWAEObDhdgt")
news tildes tech)
("https://www.acdw.net/atom.xml" fwend)
("https://envs.net/~lucidiot/rsrsss/feed.xml" fwend)
("https://planet.emacslife.com/atom.xml" emacs tech)
("http://tilde.town/~lucidiot/fridaypostcard.xml" tildes art)
("https://quasivoid.net/feed.atom" tildes)
("https://benjaminwil.info/feed.xml" tildes fwend)
("https://benjaminwil.info/antisocial/feed.xml" tildes)
("https://blog.ryliejamesthomas.net/feed/" tildes)
("https://p1k3.com/feed" tildes)
("https://cosmic.voyage/rss.xml" tildes fiction sci-fi)
("https://jackreid.xyz/index.xml" tildes)
("http://lambdacreate.com/static/feed.rss" tildes fwend)
("https://gaffen.co.uk/feed.xml" tildes)
("https://gmb.21x2.net/rss.xml" tildes)
("https://www.insom.me.uk/feed.xml" tildes)
("https://invisibleup.com/atom.xml" tildes)
("https://m455.casa/feed.rss" tildes fwend)
("https://petras.space/index.xml" tildes)
("https://www.benovermyer.com/post/index.xml" tildes)
("https://tilde.town/~trm/blog/atom.xml" tildes)
("https://tilde.team/feed.rss" tildes)
("http://ajroach42.com/feed.xml" tildes)
("http://tilde.town/~mroik/blog/rss.xml" tildes)
("https://hamster.dance/blog/rss/" tildes)
("https://m455.neocities.org/feed.rss" tildes fwend)
("https://eli.li/feed.rss" tildes fwend)
("https://aiweirdness.com/rss" tech)
("http://tilde.town/~m455/javapool.rss" tilde)
("https://spwhitton.name/blog/index.rss" blag)
(,(concat "https://www.theadvocate.com/search/?"
;; Let's Build A URL!!!
"f=rss" ; RSS feed
"&l=10" ; 10 most recent (length)
"&c[]=" ; I'm guessing ... categories?
"baton_rouge/news*,"
"baton_rouge/opinion*"
"?t=article" ; type=article
)
news)
("https://esoteric.codes/rss" tech)
("https://wphicks.github.io/feed.xml" blag)
))
'(("fever+https://acdw@mf.acdw.net"
:api-url "https://mf.acdw.net/fever/"
:use-authinfo)))
#+end_src
#+begin_src emacs-lisp :noweb-ref modes
(elfeed-protocol-enable)
#+end_src
** 0x0 (null pointer) :package: