Feed is not a registered protocol - Firefox , gnome and Fedora Core

line Tags:

I’ve put up with this error message for some time now:

Feed: is not a registered protocol

I run a firefox on gnome on fedora core, installation on my laptop. No matter how much googleing I did, I could not work out which part of the puzzle was at fault.

Well, today I sussed it, if I visit feed:myfeed the feed opens in google reader :cool:

So what have I done ?
Well it turns out that gnome was at fault :( Basically firefox passed the Feed: protocol back to the os (which gnome handles), what you need to do, is tell gnome what to do with Feed:. on my laptop there are two directories of interest:

  • /home/nick/.gconf/desktop/gnome/url-handlers
  • /etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/url-handlers

what I did, was go into each of these can copy the http directory as feed.
This will cause the feed protocol to be opened with your web-browser (you may need to log in & out each time you change these file or directories), In my case this is firefox, and firefox doesn’t know what to do with the links. So to change where to send the feed protocol else where I edited /etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/url-handlers/feed/%gconf.xml so that the command ran was “feed %s” (rather than firefox %s) I then created a bash script called feed (and placed it in my $PATH).

#!/bin/bash
FEED=${1#*:}
firefox http://www.google.com/reader/preview/*/feed/$FEED

Now when I click feed:myfeed it previews the feed in google :D

nick

 

Leave a Reply

 

Some other things that might interest you...

---