Firefox 3: browser.feeds.handlers.webservice

Newsgator Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Firefox 3: browser.feeds.handlers.webservice Expand / Collapse
Author
Message
Posted 5/21/2008 12:44:34 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 7/7/2008 4:08:13 AM
Posts: 12, Visits: 26
I want to configure Firefox 3 so that I can click on the RSS icon and add a feed. The parameter for this is browser.feeds.handlers.webservice. What do I have to add as a value that it works with Newsgator online?

Thanks!


http://kb.mozillazine.org/Browser.feeds.handlers.webservice

Post #39915
Posted 5/21/2008 2:48:46 PM
Forum Deity

Forum Deity

Group: Forum Members
Last Login: 6/19/2008 12:21:17 PM
Posts: 1,095, Visits: 1,551
I don't know, but we have a toolbar that will do that for you. You can get it here for free.

Keith Franklin
Post #39927
Posted 5/21/2008 3:36:09 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 7/7/2008 4:08:13 AM
Posts: 12, Visits: 26
I know, Keith. But if things can be done without installing something extra, then I generally try it that way. I see if I figure the URL out and post it here.
Post #39931
Posted 5/21/2008 4:01:55 PM


Forum Deity

Forum Deity

Group: Moderators
Last Login: Today @ 6:18:50 PM
Posts: 1,170, Visits: 3,404
actually, it seems that FF3 doesn't use that key - here's how I got it to work:

What I had to do was replace one of the "default" feed handlers (I swapped out google for this example):

1) go to about:config  like normal, look for the keys browser.contentHandler.types.n.xxx where n is a number from 1 to 6 (not sure if that's constant or just on my system, YMMV on the number) and xxx is either type, uri, or title.  The only one's we're going to work with are uri and title

2) change the value of browser.contentHandler.types.2.title from Google to NewsGator

3) change the value of browser.contentHandler.types.2.uri from http://fusion.google.com/add?feedurl=%s to http://www.newsgator.com/ngs/subscriber/subext.aspx?url=%s

4) close the about:config screen, close all other Firefox windows and restart Firefox

5) In Firefox, go to Tools->Options->Applications and scroll down until you find "Web Feeds".  NewsGator should now be an option on that drop-down menu.  Select it and click OK on the preferences window.

You should now be able to bring up the NewsGator Online subscribe dialog like you do when you click one of the +Newsgator buttons you see on various websites when you click the Feed icon in the FF3 address bar 

Update: I didn't try earlier, but I changed the next one - browser.contentHandler.types.3.title and browser.contentHandler.types.3.uri to the Newgator values above and it added it and let me keep the Google option.  It didn't seem to work earlier, but I realized after I posted this that I had never restarted FF the first time either

critter42

-----------------------------

Note: I am not employed by NewsGator Technologies in any capacity

Post #39933
Posted 5/21/2008 4:17:42 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 7/7/2008 4:08:13 AM
Posts: 12, Visits: 26
OK, I've found it out myself. Copy this code to your user.js and you will be able to select Newsgator (complete with icon!) from the dropdownmenu when you add a feed and select it permanently.

user_pref("browser.contentHandlers.types.3.title", "NewsGator Online");
user_pref("browser.contentHandlers.types.3.uri", "http://www.newsgator.com/ngs/subscriber/subext.aspx?url=%s");


Edit: Adding just this two lines, as critter42 did, is enough. The rest gets added automatically
Post #39934
Posted 5/22/2008 9:08:48 AM
Forum Deity

Forum Deity

Group: Forum Members
Last Login: 6/19/2008 12:21:17 PM
Posts: 1,095, Visits: 1,551
Thanks guys for the extra effort. You both get a gold star.

Keith Franklin
Post #39952
Posted 6/26/2008 1:11:53 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 6/26/2008 1:28:51 PM
Posts: 3, Visits: 7
I could use a little more guidance - about:config doesn't let you add settings, and I could not find the user.js file in my Firefox directories anywhere.
Post #40872
Posted 6/26/2008 1:57:09 PM


Forum Deity

Forum Deity

Group: Moderators
Last Login: Today @ 6:18:50 PM
Posts: 1,170, Visits: 3,404
Those lines should already be there, so there's nothing to add - you just need to edit them.  To add or edit things in about:config, just right-click and a context menu will pop-up with new, edit, copy, etc.

and the file you want is actually called prefs.js not user.js - sorry about that

critter42

-----------------------------

Note: I am not employed by NewsGator Technologies in any capacity

Post #40874
Posted 6/28/2008 12:47:58 AM
Forum Member

Forum Member

Group: Forum Members
Last Login: 7/7/2008 4:08:13 AM
Posts: 12, Visits: 26
You shouldn't change settings in your prefs.js file. You have to make a textfile, rename it user.js and move it to your profile folder (same folder where prefs.js is). The settings in user.js are automatically copied to the prefs.js each time the browser starts and overwrite the respective settings in prefs.js. Firefox has no access to user.js. Making a user.js and copying some important "key" settings to it is a good way to backup your settings and to make sure, Firefox doesn't change them somehow.
Post #40908