Re: [Zim-wiki] Thunderbird compatible?

2012-08-18 Thread Peter Schwede
Am 18.08.2012 11:21, schrieb Rui Nibau:
 Hi Michael.
 
 Le 18/08/2012 09:41, Michael Mulqueen a écrit :
 You could probably write a new extension to do what you want without
 much hassle. My (unmaintained) Zim Capture extension may be a good
 starting point - look at the source code, it's pretty simple. AFAIK I
 did not use Firefox's SDK, I used the old XPCOM stuff.
 
 You can also use XPCOM interfaces with Add-on SDK ; that's the only way
 to do some i/o stuff. The point is to know how to use specific
 Thunderbird's API : connect to events (right-click), get some content
 (selected text in a message), etc. I don't know if it's similar to
 Firefox's API (which is, by the way, a simple DOM manipulation).
 
 Once zim-clip will be stable enough, I'll take a look at Thunderbird
 extension dev.
 
 

AFAIK, Thunderbird uses the same framework and gecko engine and stuff.
But I never produced any Extension neither for FF or TB. One day I will.
Hopefully that Jetpack extension system will be stable then.


Greetings, Pete

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Thunderbird compatible?

2012-08-18 Thread Rui Nibau
Hi Michael.

Le 18/08/2012 09:41, Michael Mulqueen a écrit :
 You could probably write a new extension to do what you want without
 much hassle. My (unmaintained) Zim Capture extension may be a good
 starting point - look at the source code, it's pretty simple. AFAIK I
 did not use Firefox's SDK, I used the old XPCOM stuff.

You can also use XPCOM interfaces with Add-on SDK ; that's the only way
to do some i/o stuff. The point is to know how to use specific
Thunderbird's API : connect to events (right-click), get some content
(selected text in a message), etc. I don't know if it's similar to
Firefox's API (which is, by the way, a simple DOM manipulation).

Once zim-clip will be stable enough, I'll take a look at Thunderbird
extension dev.


-- 
Rui Nibau
http://omacronides.com

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Thunderbird compatible?

2012-08-18 Thread Michael Mulqueen
You could probably write a new extension to do what you want without much
hassle. My (unmaintained) Zim Capture extension may be a good starting
point - look at the source code, it's pretty simple. AFAIK I did not use
Firefox's SDK, I used the old XPCOM stuff.
On Aug 17, 2012 7:07 PM, Rui Nibau rui.ni...@omacronides.com wrote:

 Le ven. 17 août 2012 18:24:14 CEST, Peter Schwede a écrit :
  but maybe you can use the add-on SDK for Thunderbird with the same thing
  you made?

 There is no add-on SDK for Thunderbird. The add-on SDK is a specific
 tool that provides a simple developpment platform and APIs to
 communicate with Firefox and Fennec (Firefox mobile). Only the html to
 wiki module could be reuse in a thunderbird extension, but i don't
 have any knowledge of thunderbird APIs.

 --
 Rui Nibau
 http://omacronides.com

 ___
 Mailing list: https://launchpad.net/~zim-wiki
 Post to : zim-wiki@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~zim-wiki
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp