[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Link-protocols
From: |
Anthony Lander |
Subject: |
Re: [Orgmode] Link-protocols |
Date: |
Fri, 26 Feb 2010 12:18:23 -0500 |
On 10-Feb-26, at 8:57 AM, Christian Zang wrote:
I use org-mode for notes, and DEVONthink and Papers on the mac for
storing reference material. I want to add links to entries in
DEVONthink and Papers to my org-files, but org doesn't understand
links like
papers://doi/10.1038/463860a
or
x-devonthink-item://6EB3DF6A-9B0D-4D26-A7D3-86D0B589E455
However, when I paste these links into my browser, the desired
documents open in the respective app.
Is there a way to add these "protocols" to the protocols org can
handle? I looked into org-follow-link, but couldn't come up with a
solution.
Hi Christian,
Here is a snippet I use for opening Together links (another mac
organizer):
--------------------------------------------------
(org-add-link-type "x-together-item" 'org-together-item-open)
(defun org-together-item-open (uid)
"Open the given uid, which is a reference to an item in Together"
(shell-command (concat "open \"x-together-item:" uid "\"")))
---------------------------------------------------
I suspect that this can be adapted for your purposes as well.
Regards,
--Anthony