emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: elfeed and orgmode integaration?
Date: Fri, 04 Dec 2015 09:22:54 +0100	[thread overview]
Message-ID: <m2poymbp29.fsf@charm-wifi.irisa.fr> (raw)
In-Reply-To: <CAOQHXPoCXUvFVFR-LwsVNkm=CopHfoi=C-Q=GfDce2yVpbwVOA@mail.gmail.com> (Xebar Saram's message of "Fri, 4 Dec 2015 09:06:30 +0200")

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]

Hi,

On 2015-12-04 08:06, Xebar Saram <zeltakc@gmail.com> writes:

> I was wondering if anyone uses elfeed and org and how people integrate it into
> orgmode.
>
> It would be great if anyone can share code dealing with capturing from elfeed
> into org, linking and any other uses people are coming up with

I use elfeed, and I have minimal integration: a way to store the linked
page.

#+begin_src emacs-lisp
(defun as/elfeed-entry-as-html-link ()
  "Store an http link to an elfeed entry."
  (when (equal major-mode 'elfeed-show-mode)
    (let ((description (elfeed-entry-title elfeed-show-entry))
	  (link (elfeed-entry-link elfeed-show-entry)))
      (org-store-link-props
       :type "http"
       :link link
       :description description))))

(add-hook 'org-store-link-functions 'as/elfeed-entry-as-html-link)
#+end_src

Someone has proposed a better linking mechanism here
https://github.com/skeeto/elfeed/issues/34#issuecomment-158824561 where
you can link to an elfeed search or entry.

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated November 29, 2015, Mauna Loa Obs.): 400.37 ppm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

  reply	other threads:[~2015-12-04  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04  7:06 elfeed and orgmode integaration? Xebar Saram
2015-12-04  8:22 ` Alan Schmitt [this message]
2015-12-04 11:27 ` John Kitchin
2015-12-07 15:56 ` Grégoire Jadi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2poymbp29.fsf@charm-wifi.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).