emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Gendre" <seb@k-7.ch>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Capture from Firefox to Org-mode
Date: Tue, 09 Jul 2024 15:30:51 +0200	[thread overview]
Message-ID: <87r0c2d75g.fsf@k-7.ch> (raw)

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

Hello everyone,

How to capture data from a web page to Org-mode ?



* What I need

I want to be able to capture different kind of information :

- Article, to read later

- Book, with all its metadata (title, author, subject, etc)

- Magazin, to buy later (title, editor, price, etc)

- IRL event, that I want to go


For each case, different kind of data is needed to be extracted from the
web page and passed to Org-capture.



* Capture Protocol

I know it exist an org-protocol for capture, but after reading the
manual (section 17.16.2 The capture protocol), there is something
I did not understand.

On the URL of the capture protocol, key value pairs can be specified.
But are they a predefined set of keys, independent to the capture
template, or are they related to the capture template special words (ex:
%a) ?

Is it possible, with Org-protocol, to pass data to be stored into org entry
properties, or an arbitrary string ?



* Firefox extension for Org capture

I have found 2 extensions for capturing to Org-mode from Firefox:

- Org Capture (by Kosta):
  https://addons.mozilla.org/fr/firefox/addon/org-capture/

- org-protocol (by Wojciech Siewierski):
  https://addons.mozilla.org/fr/firefox/addon/org-protocol/

Which one do you suggest ?





Best regards

-------
Gendre Sébastien



PS:

I have seen a typo in the manual "17.16.2 The capture protocol":
https://orgmode.org/manual/The-capture-protocol.html

At the end of the first phrase, it miss a space between the "a" and
"capture". Instead of "a capture", we have "acapture".

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

             reply	other threads:[~2024-07-09 13:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-09 13:30 Sébastien Gendre [this message]
2024-07-09 15:07 ` Capture from Firefox to Org-mode Chris Keschnat
2024-07-09 16:45   ` Morgan Willcock
2024-07-11 14:27     ` Max Nikulin
2024-07-11 21:04       ` Sébastien Gendre
2024-07-11 20:59     ` Sébastien Gendre
2024-07-11 20:57   ` Sébastien Gendre
2024-07-22  1:52   ` Robert Weiner
2024-07-11 14:03 ` Ihor Radchenko
2024-07-11 20:55   ` Sébastien Gendre
2024-07-12 11:37     ` Ihor Radchenko
2024-07-12 16:42       ` Sébastien Gendre

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=87r0c2d75g.fsf@k-7.ch \
    --to=seb@k-7.ch \
    --cc=emacs-orgmode@gnu.org \
    /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).