Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Links to Devonthink Pro
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rev  
View profile  
 More options Nov 10 2012, 8:41 am
From: rev <s...@simonsmailus.com>
Date: Sat, 10 Nov 2012 05:41:01 -0800 (PST)
Local: Sat, Nov 10 2012 8:41 am
Subject: Links to Devonthink Pro

Hi all,

I've just started using TW and love it. I also use Devonthink and have it
on my Mac and iPad. Devonthink allows you to copy a link to any file in
it's database. However, I can't seem to get it working from TW.

Devonthink links are in this format:

x-devonthink-item://0EF37776-E601-4FE0-80A6-709AB4BFCEC6

Any ideas?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Shulman  
View profile  
 More options Nov 10 2012, 12:35 pm
From: Eric Shulman <elsdes...@gmail.com>
Date: Sat, 10 Nov 2012 09:35:35 -0800 (PST)
Local: Sat, Nov 10 2012 12:35 pm
Subject: Re: Links to Devonthink Pro

> I've just started using TW and love it. I also use Devonthink and have it
> on my Mac and iPad. Devonthink allows you to copy a link to any file in
> it's database. However, I can't seem to get it working from TW.

> Devonthink links are in this format:

> x-devonthink-item://0EF37776-E601-4FE0-80A6-709AB4BFCEC6

The TWCore uses regular expressions to parse the tiddler content
syntax.  Included in that is a pattern that defines what the TWCore
sees as "external links".  Here's the standard definition:

config.textPrimitives.urlPattern="(?:file|http|https|mailto|ftp|irc|
news|data):[^\\s'\"]+(?:/|\\b)";

To customize this pattern for your purposes, you would add "x-
devonthink-item" to the list of protocols (file, http, https, etc.),
like this:

config.textPrimitives.urlPattern="(?:file|http|https|mailto|ftp|irc|
news|data|x-devonthink-item):[^\\s'\"]+(?:/|\\b)";

To apply this change to your documents, just place the above code (all
on one line [1]) in a new tiddler, e.g. [[DevonThinkLinkPlugin]], and
tag it with "systemConfig".  Save-and-reload, and the TWCore will then
recognize the 'x-devonthink-item:' prefix as an external link.  QED.

[1] note: GoogleGroups adds word-wrapping newlines to posts.  This
often messes up any code that is posted.  Make sure you remove all
newlines from the above code snippets.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »