Update with kagi integration
This commit is contained in:
parent
b04e676203
commit
73a2cb21ec
12
gists.org
12
gists.org
|
@ -817,7 +817,17 @@ Based on an answer at the [[https://emacs.stackexchange.com/a/77480/34645][Emacs
|
|||
|
||||
(org-set-property "URL" (if (consp url)
|
||||
(car url)
|
||||
url)))
|
||||
url))
|
||||
|
||||
(goto-char (point-max))
|
||||
|
||||
;; Requires kagi.el at https://codeberg.org/bram85/kagi.el
|
||||
(require 'kagi)
|
||||
(when (yes-or-no-p "Insert summary?")
|
||||
(kagi-summarize-url url t
|
||||
(completing-read
|
||||
(format-prompt "To language" "EN")
|
||||
'("EN" "NL")))))
|
||||
|
||||
;;; Elfeed integration
|
||||
|
||||
|
|
|
@ -85,7 +85,17 @@ looking at the <title> tags."
|
|||
|
||||
(org-set-property "URL" (if (consp url)
|
||||
(car url)
|
||||
url)))
|
||||
url))
|
||||
|
||||
(goto-char (point-max))
|
||||
|
||||
;; Requires kagi.el at https://codeberg.org/bram85/kagi.el
|
||||
(require 'kagi)
|
||||
(when (yes-or-no-p "Insert summary?")
|
||||
(kagi-summarize-url url t
|
||||
(completing-read
|
||||
(format-prompt "To language" "EN")
|
||||
'("EN" "NL")))))
|
||||
|
||||
;;; Elfeed integration
|
||||
|
||||
|
|
Loading…
Reference in a new issue