Done. Update the Author Tutorial with a section in the development
tips labelled "Adding Commands Programmatically".
https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial#Adding_Commands_Programmatically

Special thanks to Atul for the initial pointer (and a very easy to
read code base)!
-Edwin

On Jan 12, 10:20 am, Aza <[email protected]> wrote:
> Edwin,
>
> If you get something working -- it would be wonderful if you could add a
> little blurb on it in the Author Tutorial.
>
> https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial
>
> Thanks!
>
> -- aza | ɐzɐ --
>
> On Mon, Jan 12, 2009 at 10:06 AM, Edwin Khodabakchian <
>
> [email protected]> wrote:
>
> > Thank you very much for your responsiveness and the code sample. I am
> > going to explore this today and try to build a small prototype. -Edwin
>
> > On Jan 12, 9:25 am, Atul Varma <[email protected]> wrote:
> > > Hi Edwin,
>
> > > Right now the easiest way to do this with 0.2pre is to obtain the feed
> > > manager from Ubiquity and use it to subscribe to a new feed for the
> > > user.  This will probably go something like:
>
> > >    var jsm = {};
> > >    Components.utils.import("resource://ubiquity/modules/setup.js", jsm);
> > >    jsm.UbiquitySetup.feedManager.addSubscribedFeed(feedInfo);
>
> > > For the 'feedInfo' parameter above, take a look at the code for
> > > 'installDefaults()' in default_feed_plugin.js.  Let me know if you have
> > > any other questions... We'll probably provide a cleaner API for this
> > > soon too, I imagine.
>
> > > - Atul
>
> > > On 1/12/09 9:12 AM, Edwin Khodabakchian wrote:
>
> > > > Hi, My name is Edwin Khodabakchian. I am one of the contributors to
> > > > the feedly project. I am currently exploring integrating feedly with
> > > > Ubiquity and I have a question: is there an internal API for a firefox
> > > > extension to programmatically register a command? I am going to take a
> > > > look at the source but I through I might ask first.
> > > > Thank you. -Edwin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to