[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Org Remember idea
From: |
Bastien |
Subject: |
Re: [Orgmode] Org Remember idea |
Date: |
Thu, 08 Nov 2007 03:57:40 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
John Rakestraw <address@hidden> writes:
> I ask because it would be great to block (and perhaps copy) a section
> of a web page, click on the bookmarklet, and then see a template with
> the link/title and the section of text that I blocked/copied already
> entered.
I tried to do that. Here's an updated version of org-annotation-helper.
org-annotation-helper.el
Description: application/emacs-lisp
The template I used is
(?f "* %^{Paste the link}%?\n\n%:region")
The bookmarklet:
javascript:location.href='remember://' + location.href + '%1C' + \
escape(document.title) + '%1C' + escape(window.getSelection())
This basically add a :region property to the link created by the
bookmarklet, :region containing data from window.getSelection()
> I don't know whether others will use this functionality.
Would be nice to know... I didn't use it a lot myself for now; I can
put the file somewhere on the web if needed.
--
Bastien
Re: [Orgmode] Org Remember idea, Adam Spiers, 2007/11/06
Re: [Orgmode] Org Remember idea, Carsten Dominik, 2007/11/07
Re: [Orgmode] Org Remember idea, Dmitri Minaev, 2007/11/09