elfeed icon indicating copy to clipboard operation
elfeed copied to clipboard

Feature request: Add org-save-link in elfeed entry

Open dsdshcym opened this issue 9 years ago • 4 comments

When I read some great articles, I really want to save them into my org files.

And since we already have a database, so can we add this feature into elfeed? Or is there already a package can do this?

dsdshcym avatar Dec 22 '15 10:12 dsdshcym

No package but you can use code from here and modify it to your needs: http://heikkil.github.io/blog/2015/05/09/notes-from-elfeed-entries/

heikkil avatar Jan 21 '16 09:01 heikkil

@heikkil Thanks for your tips! It works for me.

Based on your code, I made some improvement to provide a org-store-link-function for elfeed entry.

(defun private/org-elfeed-entry-store-link ()
  (when elfeed-show-entry
    (let* ((link (elfeed-entry-link elfeed-show-entry))
           (title (elfeed-entry-title elfeed-show-entry)))
      (org-store-link-props
       :link link
       :description title)
      )))

(add-hook 'org-store-link-functions 'private/org-elfeed-entry-store-link)

dsdshcym avatar Jan 26 '16 07:01 dsdshcym

See also #34

groks avatar Apr 10 '16 11:04 groks

Done, close please.

Thaodan avatar Nov 17 '22 16:11 Thaodan