Add username/password to scuttle feed

This commit is contained in:
Tom Willemse 2016-06-07 00:51:18 +02:00
parent 69d68f772e
commit a89c7128ce

View file

@ -40,6 +40,12 @@
(autoload 'org-clocking-p "org-clock") (autoload 'org-clocking-p "org-clock")
(defvar oni:org-scuttle-feed-username nil
"Username used by the scuttle feed.")
(defvar oni:org-scuttle-feed-password nil
"Password used by the scuttle feed.")
(with-eval-after-load 'org-crypt (with-eval-after-load 'org-crypt
(org-crypt-use-before-save-magic)) (org-crypt-use-before-save-magic))
@ -200,12 +206,14 @@ predecessor if there is a non-DONE sibling defined before it."
(setq org-agenda-todo-ignore-scheduled t) (setq org-agenda-todo-ignore-scheduled t)
(setq org-html-htmlize-output-type 'css) (setq org-html-htmlize-output-type 'css)
(setq org-feed-alist (setq org-feed-alist
'(("MyEpisodes" `(("MyEpisodes"
"http://www.myepisodes.com/rss.php?feed=mylist&uid=Slash&pwdmd5=04028968e1f0b7ee678b748a4320ac17" "http://www.myepisodes.com/rss.php?feed=mylist&uid=Slash&pwdmd5=04028968e1f0b7ee678b748a4320ac17"
"~/documents/org/tasks" "MyEpisodes" "~/documents/org/tasks" "MyEpisodes"
:formatter oni:myepisodes-formatter) :formatter oni:myepisodes-formatter)
("Lookat bookmarks" ("Lookat bookmarks"
"https://ryuslash.org/scuttle/api/posts_all.php?tag=lookat&order=asc&type=rss" ,(format "https://%s:%s@ryuslash.org/scuttle/api/posts_all.php?tag=lookat&order=asc&type=rss"
oni:org-scuttle-feed-username
oni:org-scuttle-feed-password)
"~/documents/org/tasks" "Inbox" "~/documents/org/tasks" "Inbox"
:template " :template "
* TODO %h :bookmark: * TODO %h :bookmark: