From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UFqVM9Y7jWZMMwAA62LTzQ:P1 (envelope-from ) for ; Tue, 09 Jul 2024 13:32:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UFqVM9Y7jWZMMwAA62LTzQ (envelope-from ) for ; Tue, 09 Jul 2024 15:32:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720531926; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=cIRjsYawBWO2EiiGUu4A8rB82Oe4oNVYf3KFtsAmsaA=; b=qojtB2zsgboO5DArwjZ/q/vfLefuDBFYZazu1Yw41MAGhx04qMGn1RRwwfpz4lS+V71QSc qPcHf0nlOChagFoLxOy1nRLafqbAln/S2vLekPHV0ofCCCmpTQT2oBZLKz4/MmLPZJlXx0 vNQCCHjvoBzu37wvHAsoH567ZUIW34opqWIWrlnqm+yTr4oizsL6fFGlpwft/d77GzBiSZ OuEezZXO3U+w3Fqcrp78JzZn4rJD6tdtB9kBKuK54FfwoimNwTnwDDwmtPTaoQqE954iu3 jUsAXhEpddt+aOgZAF7gbXPCf1IDrSShZzyoZziX/GSZWEezVQz6lFjQaqRUDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720531926; a=rsa-sha256; cv=none; b=B8G2CLKfWDDQddLUFUm2bhlRB9buh5p9lD5+m+a1DhdBH5nnWW9UVV3l+40CVMn58IJ4m4 DSyHSHyG8qG9mcZnHAQAyGY+Zkm4I4X/2uYAFiZFNyl2Vp09s0IzawfKUbO5dDyO+3F61S iFeMhnr/tYhkWZg4zIYLZ5bH8XC8PgQE6xruzb3pb+vIqsxRfyZq4nIUm/GjSWr8wnP65g /1ntqMjQXMy2HPH5SA++Z1KvbSLYhZOIqqthbqIO8xjA38aQUmVpJhTk6b40lSsCbUvTU9 4jdW02R4aNA5WwsDAQ6MJpl9I7OgMBA7ITCEinht+HQJsU3J94N0TmLR2XatLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6300C1C4C6 for ; Tue, 9 Jul 2024 15:32:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRAvs-0001lx-Vd; Tue, 09 Jul 2024 09:31:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRAvq-0001jy-MQ for emacs-orgmode@gnu.org; Tue, 09 Jul 2024 09:30:58 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRAvo-00081I-Lv for emacs-orgmode@gnu.org; Tue, 09 Jul 2024 09:30:58 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 05D33E8109 for ; Tue, 9 Jul 2024 15:30:51 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: "emacs-orgmode@gnu.org" Subject: Capture from Firefox to Org-mode User-Agent: mu4e 1.12.1; emacs 29.4 Date: Tue, 09 Jul 2024 15:30:51 +0200 Message-ID: <87r0c2d75g.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6300C1C4C6 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.97 X-Spam-Score: -6.97 X-TUID: Jn4IcEmT6/RM --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello everyone, How to capture data from a web page to Org-mode=C2=A0? * What I need I want to be able to capture different kind of information=C2=A0: =2D Article, to read later =2D Book, with all its metadata (title, author, subject, etc) =2D Magazin, to buy later (title, editor, price, etc) =2D 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=C2=A0did 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)=C2=A0? Is it possible, with Org-protocol, to pass data to be stored into org entry properties, or an arbitrary string=C2=A0? * Firefox extension for Org capture I have found 2 extensions for capturing to Org-mode from Firefox: =2D Org Capture (by Kosta): https://addons.mozilla.org/fr/firefox/addon/org-capture/ =2D org-protocol (by Wojciech Siewierski): https://addons.mozilla.org/fr/firefox/addon/org-protocol/ Which one do you suggest=C2=A0? Best regards =2D------ Gendre S=C3=A9bastien 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". --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmaNO4sLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p7LLQ//ViXCnh8hNc6tL4RO/Q/dAZhUWhKZCNsboPcA/tot R8qxeYjl90leE6yxbnXp6cQM8PSmzTFs8Ph+FyxtcLE/V1NExLJ1y7vki2JOO8xA YlhwGrhb+1QytAPg6IzLcUdyuoUwZLHnooElDfS4UNzJ8qNejsB9L3/0DvF2vw95 HdKvee1EyV9MomeUqEaULsuial/Sf13TK3MqF1IPUs/L0qgHtZcI8hvLWXPU/g2F GxE6bv3uZfloflUvh0Qeorx36BkUQVt2U6Ea7yssC3V3m9Hh9KdUjbJS4OHBWxF3 4S5owQkdFQoJguMvXEWQqmzq4Ha1gzVacb2BzrluNPwMp9JnglsbE51MZQGBRs68 XnBcmjdCc4xBqpaLrY4c8srFUroT+/PMYKRokw7Fftv7rK2FMu0dWvgVZKG3+b2I 10FIEn4lqUEScR94eAx8EECeL3AWiWn6ps+cmhMqlt866hITZn+dXlgQVEZTg4FM ZDMb4fJnBT8eRxQwBGH9gdFxdAWvYsmJRN3ElA5LyJz7da0ExwbuJyQGv1mFMeIF QOL3oQILpBHVw6AR+khdNFi4eZa5fJ92irW8Y9M/1FHIaeg/lF3IUsT0vfXv1Q1H 7Z8bDjlW88JUPNgUYi5OyyjVAxf7DAuCq+GDwEp/x6PC82rqXGj51OMO4LK5ahn+ X8c= =srg3 -----END PGP SIGNATURE----- --=-=-=--