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
-~----------~----~----~----~------~----~------~--~---