Puri can be used to open the URL on ThoughtStream's URL
form. The user can choose which of the applications
(handlers defined in Puri's preference panel) to
launch. Some minimal interface code and the calls to
the Puri library are included in the patch.
One negative thing is that the list of handlers is only
updated when entering the form, so changing the scheme
portion of the URI does not automatically update the
handler list while the form is open. Does anyone have
some insight on how I could get this to work? This
probably isn't a huge problem since one doesn't usually
need to open a URL as soon as it is entered. In my use
of ThoughtStream I've noticed that I enter a URL to be
archived in the system and that something like Puri is
perfect for when I'm looking at the URL in an idea
later and want to click on a button to (http) open the
page in a browser or (mailto) send a message to the user.
thoughtstream_puri.patch
Logged In: YES
user_id=288970
I forgot to say that the Puri project can be found at
https://sourceforge.net/projects/puri/ . I'd like to make
the Puri build process more portable, The part of Puri that
this patch uses is a GLib, and it seems linking to stubs is
necessary. The stub archive and headers are including in
the binary puri-lib release, so building with prc-tools and
this patch shouldn't be too much of a headache (as long as
the stub archive and headers are put in a place where gcc
will look for them). Any constructive input is appreciated.