← Back to team overview

zim-wiki team mailing list archive

Re: Sending data to a running zim instance

 

On 29 March 2010 09:40, Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx> wrote:
> On Sun, Mar 28, 2010 at 11:37 PM, Beni Cherniavsky-Paskin
> <cben@xxxxxxxxxxxx> wrote:
>> On Sun, Mar 28, 2010 at 22:48, Jaap Karssenberg
>> <jaap.karssenberg@xxxxxxxxx> wrote:
>>>
>>> However my offer still stands, that is if someone wants to write the
>>> firefox part I will add the necessary dbus interface for interacting
>>> with zim.
>>>
>> Dbus?  Wouldn't HTTP be the natural way to provide a service to a
>> browser (and not only)?
>> (Ideally, Zim could serve a working wiki site to browsers, but here we
>> don't need any UI,
>> just a thin REST interface to the text format of pages.)
>
> Not necessarily. REST would be the logical choice for remote access.
> But for local access I think DBus is more suitable.
>

I don't know how many similarities Tomboy has with Zim, I have never
used tomboy seriously, but they are both notetakers so when I found
the tomfox extension I thought that this could be a starting point.
Tomfox is using dbus and I think that taking a look at
http://svn.gnome.org/viewvc/tomboy/trunk/extra/firefox-extension/content/tomfox.js?revision=2048&view=markup
could give an indication what dbus functionality Zim could start with.
A quick search and replace for tomfox with zimfox would give a quick
mockup to work with. With my lack of experience with both firefox
extensions and dbus in python I have to take small steps at a time and
having a receiving point in zim would help a lot.
Enthusiasts can start thinking how they would like zim to receive and
store the clippings. My preference is something like google notes
extension which ended life with firefox 2, but for a first start a
fixed namespace with the URL as title would do.

-- 
Svenn



Follow ups

References