diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-04-17 17:46:22 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-04-17 17:46:22 -0700 |
| commit | 8d9095c427f0a3b54c771365c9a353dd0f341ea7 (patch) | |
| tree | 337e4a806a774e722aa5e08d7b627a4e71bddf32 /emacs/custom/my-org.el | |
| parent | delete authinfo (diff) | |
| download | emacs.d-8d9095c427f0a3b54c771365c9a353dd0f341ea7.tar.gz | |
elfeed: capture an entry in org-mode
Diffstat (limited to 'emacs/custom/my-org.el')
| -rw-r--r-- | emacs/custom/my-org.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/custom/my-org.el b/emacs/custom/my-org.el index 81f7a07..1197687 100644 --- a/emacs/custom/my-org.el +++ b/emacs/custom/my-org.el @@ -171,8 +171,7 @@ The page title is used as an entry heading." (pdf (string-suffix-p "pdf" url-string))) (unless pdf (let ((page-title (org-web-tools--html-title (org-web-tools--get-url url-string)))) - (concat "* " - page-title + (concat "* [[" url-string "][" page-title "]]" "\t%^g" "\n:PROPERTIES:\n:CREATED: %T\n:URL: " url-string @@ -185,6 +184,9 @@ The page title is used as an entry heading." ("n" "Note" entry (file "notes.org") "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n") + ("f" "Feed" entry (file "inbox.org") + "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n") + ("l" "Bookmark" entry (file "bookmarks.org") (function my/org-capture-link)) |
