preview feeds in google reader
Posted by ark, ,
I dislike that when I click on a feed icon in firefox, it opens a lame google page showing an option to insert on iGoogle or view in reader which automatically subscribes me rather than showing me the feed.

here's how to fix it

make a file like this called openfeed

#!/usr/bin/python2.4
# Copyright 2007 Alex K (wtwf.com) All rights reserved.

import os
import sys
import urllib

def main(argv):
feed_url = urllib.quote(argv[1])
url = 'http://www.google.com/reader/view/feed/' + feed_url
cmd = 'firefox -noraise -remote "openURL(%s,new-tab)" >/dev/null 2>&1' % url
os.system(cmd)

if __name__ == '__main__':
main(sys.argv)
and then in preferences under feed, choose this application and always do it.

I previously tried this, but never got it to work properly....

set
browser.feeds.handlers.webservice
and
browser.contentHandlers.auto.application/vnd.mozilla.maybe.feed
to
http://www.google.com/reader/view/feed/%s

problem solved

Comments

Posted Friday 16 November 2007 Share