From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Dresser Subject: Re: "Capture"-like browser plugin? Date: Wed, 29 Jul 2015 19:48:51 +0000 (UTC) Message-ID: References: <6sw6c7y4i7nejo.fsf@dhcp-10-92-133-17.hmco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKXLi-0007o2-PT for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:49:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKXLd-0000NS-QM for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:49:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:55753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKXLd-0000NG-Je for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:49:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZKXLb-0005gl-SW for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 21:49:04 +0200 Received: from c-73-202-45-37.hsd1.ca.comcast.net ([73.202.45.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jul 2015 21:49:03 +0200 Received: from org-mode by c-73-202-45-37.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jul 2015 21:49:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Peter Davis pfdstudio.com> writes: > Frequently when I'm doing a Web search and find pages I like, I want to save a link to the page, along with the > title and perhaps a > few notes. Something like org-mode's capture would be great, but I'd like to initiate it from a browser. I > imaging hitting a plugin > button on the the browser's toolbar to open emacs via emacsclient, and essentially do a capture with the > link and whatever text I > care to enter. > > Has anyone seen or heard of or written something like this? > > Thanks! > -pd Not sure that you need a plug-in or extension, I just use this bookmarklet: javascript:location.href='org- protocol://capture://x/'+encodeURIComponent(location.href)+'/'+encodeURIComp onent(document.title)+'/'+encodeURIComponent(prompt('Tags?')) It prompts for the tags, which I separate with ":" (to be org-like). This works fine in Chromium and I would think Firefox too. Then it calls this capture template: ("x" "Browser Capture to Incoming" entry (file+headline "~/Org/bookmarks.org" "Incoming") "* %c :%i:" :immediate-finish t) This makes bookmarks of the form: * [[url][title]] :tags: but of course you can change that with the template.