Welcome to Community Server Sign in | Join | Help

NewsGator right-click-subscribe for Firefox 0.9x

I don't know beans about developing Firefox extensions, but Stuart Hamilton's right-click subscribe-in-Newsgator extension was much welcomed over here where it seems like we're looking for any available reason to lapse back into IE.

Somewhere around Firefox 0.9 the extension broke. Changing the following lines in ngsubscribe.js seems to get it back on track.


// GC: winhooks deprecated for cross-platfom shell service
//const lfContractID1 = "@mozilla.org/winhooks;1"
//var reg = Components.classes[lfContractID1].createInstance(nsIWindowsRegistry);

const lfContractID1 = "@mozilla.org/browser/shell-service;1";
var reg = Components.classes[lfContractID1].getService(Components.interfaces.nsIWindowsShellService);

Modified xpi file can be installed in FireFox by clicking this link. Tested only on XP SP1 with FF 0.9.0 and 0.9.2, completely caveated with a standard “it works on my machine” disclaimer, ymmv.

Updated: mime type issue fixed on server, direct install works fine now. Zipped version of the xpi is still here.

Published Friday, July 09, 2004 12:05 PM by grant

Comments

Thursday, July 15, 2004 5:03 AM by grant

# re: NewsGator right-click-subscribe for Firefox 0.9x

Hi,
This works great. I'm a Firefox newbie, but the installation of the XPI file was a breeze: just open it using the Firefox File menu and follow the instructions. Then close all instances of Firefox, open a page containing a FeedBurner webfeed and right click the icon. Subscribe in Newsgator should appear at the bottom of the list.

Thanks for posting this and thanks to Greg Reinacker for referring me here.

Marjolein
Friday, July 16, 2004 11:08 AM by grant

# re: NewsGator right-click-subscribe for Firefox 0.9x

With respect to the hosting of XPI files, I've tested serving this file from my own site as "application/x-xpinstall" and it works great. If you have some problem hosting the XPI files, I'd be happy to host a copy on my site. I tried to contact you using your contact page but I got an error, so if you don't mind me redistributing this file please respond to this comment and I'll post the link here and on my site.
Saturday, July 17, 2004 8:16 PM by grant

# re: NewsGator right-click-subscribe for Firefox 0.9x

Sure thing Patrick
Tuesday, July 20, 2004 10:37 AM by grant

# re: NewsGator right-click-subscribe for Firefox 0.9x

Friday, October 01, 2004 6:56 AM by grant

# BlogJetThis! Extension for FireFox 0.3

Sunday, October 24, 2004 11:08 AM by grant

# Newgator

Monday, October 25, 2004 4:22 AM by grant

# Newsgator

Saturday, November 20, 2004 3:14 AM by grant

# re: NewsGator right-click-subscribe for Firefox 0.9x

I added an install.rdf file to the ngsubscriber.xpi Firefox extension, and it installs just fine on Firefox 1.0 now. Thanks for writing this wonderful extension! I just uploaded it to my website (http://www.tardistech.com). I was going to e-mail you and ask for permission, but embarrassingly, I couldn't find your e-mail address. Feel free to e-mail me at rob@tardistech.com if you want me to remove it. You are welcome to copy it to host at your site.
Anonymous comments are disabled