From 684f0700bc8f098fccad9dc1cbc787ea53105bcd Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 13 May 2018 16:17:06 +0200 Subject: [PATCH] Emacs: use elfeed-protocol --- emacs/emacs.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/emacs/emacs.el b/emacs/emacs.el index bc67a71..1943cec 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -1022,8 +1022,23 @@ (defun elfeed-search-format-date (date) (format-time-string "%Y-%m-%d %H:%M" (seconds-to-time date)))) +;; elfeed-protocol +;; use Nextcloud as RSS server +(use-package elfeed-protocol :after (elfeed) :config + (setq elfeed-use-curl t) + (elfeed-set-timeout 36000) + (setq elfeed-feeds (list + (list "owncloud+https://mmk2410@cloud.mmk2410.org" + :password (funcall + (plist-get + (nth 0 + (auth-source-search + :host "cloud.mmk2410.org" + :user "mmk2410")) + :secret))))) + (elfeed-protocol-enable)) ;; bug-hunter ;; Hunt down errors by bisecting elisp files