« August 2006 | Main | December 2006 »

October 27, 2006

HOWTO Disable Firefox 2's Feed Preview

First off I want to say to the Firefox team, great job on Firefox 2.0. It has replaced Camino as my default browser. It's just as fast as far as I can tell and without the icky memory leak that forced me to restart Camino about every two hours. I also greatly appreciate the inline spell-checker, something I have missed greatly since I stopped using Safari as my default browser. Perhaps once Camino 2.0 is released and picks up the same speed and memory improvements I may switch back. I guess it depends on whether or not I get hooked on having the extra extensions.

That having been said, there has been one thing that has irked me with Firefox 2.0, and that's the built-in feed preview feature. It bothers me because it completely overwrites any styling that some people have done to their feeds. In some cases, people have even decided to serve their site as a stylized feed such as FastAVC. On the left you see what Fred Wilson wants his site to look like, and on the right you see what it looks like in Firefox 2.0.


FastAVC Good

FastAVC Bad

Another place this feature gets in the way is with FeedBurner's BrowserFriendly service. This pretties up the look of the feed and adds a box with several subscription options when you view the feed. So if you are using Firefox 2.0 and want to easily subscribe to a feed with Netvibes or Pageflakes you are S.O.L. Or you have to go through a messy process of hacking your Firefox config to get your preferred web reader on the list. The BrowserFriendly service also makes podcast feeds more convenient by creating "Play Now" links for podcast enclosures. Firefox's feed preview does not show when enclosures exist.


Regular Feed w/ BrowserFriendly


Podcast Feed w/ BrowserFriendly

I'm not sure why Firefox doesn't detect when a stylesheet is used with the feed and then turn off the preview automatically to let the stylesheet show through like they do with the ordinary XML pretty-printing feature. Also, no where is there an option to turn off the feed preview feature altogether. This is only version 2.0 so perhaps version 2.0.1 or higher will correct these inadequacies. In the meantime, I have come up with a work-around to disable the feed preview feature of Firefox. To disable it, you just need to change one line of the FeedConverter.js file in the components directory within the Firefox application directory. On a Windows this file is usually located at C:\Program Files\Mozilla Firefox\components\FeedConverter.js and on Mac OS X you should find it at /Applications/Firefox.app/Contents/MacOS/components/FeedConverter.js. To get to that directory on a Mac, right-click on the Firefox application icon in Finder and choose "Show Package Contents". Once you have found the file, open it in an ordinary text editor. Scroll down to about line 187 (about 1/3rd down the file) and look for this block of code:

      var chromeChannel;
      if (result.doc) {
        // If there was no automatic handler, or this was a podcast,
        // photostream or some other kind of application, we must always
        // show the preview page...

        // Store the result in the result service so that the display page can 
        // access it.
        feedService.addFeedResult(result);
        
        // Now load the actual XUL document.
        var chromeURI = ios.newURI(FEEDHANDLER_URI, null, null);
        chromeChannel = ios.newChannelFromURI(chromeURI, null);
        chromeChannel.originalURI = result.uri;
      }
      else
        chromeChannel = ios.newChannelFromURI(result.uri, null);

      chromeChannel.asyncOpen(this._listener, null);
    }
You just need to change the "if" line to read:
      if (0) {
Then restart Firefox and you should be all set.

October 12, 2006

I love you Mommy, Part 5

It's been quite a while since my last update so anyone trying to keep track of my mother's fight with cancer through my blog is surely wondering what's happening. Things have kinda been less than stellar over the past month. As you know, her first Therasphere procedure went very well and it appeared to knock out the tumors in the right lobe of her liver where the procedure was targeted. On August 30th she had the second procedure to target the tumors in the left lobe of her liver. On September 26th she had CT and PET scans to see how well it worked and we got the results on September 28th. This is where the bad news comes in.

Instead of shrinking, the tumors in her left lobe actually got larger and the tumors in the right lobe were back already. On top of that, the PET scan showed new "hot spots" in other areas of her body. The "hot spots" don't necessarily mean cancer has actually started in these places, but it is a sign that the cancer is definitely trying to spread. The plan now is to put my mother on a fairly aggressive treatment of chemo to knock out the hot spots and hopefully make a dent on the tumors in her liver. By aggressive I mean that this round of chemo is really going to kick her ass and her hair is very likely going to fall out.

On top of all this my mother developed a hernia from the major surgeries to her abdomen (colon and liver resections) and it had really started to bother her. The doctors decided it was best to have surgery on the hernia now, because it was only going to get worse and it would be impossible to do later while she was undergoing chemo treatments. Chemo attacks new cell growth, so it's counter-productive if you are trying to heal from surgery. So the plan was to get the hernia surgery out of the way as quickly as possible so we can start chemo once she's had time to recover. From here I'll let my dad take over as he recaps it best.

Dear Friends & Family:

I don't think I have sent an email lately with the latest news. Natalie had hernia surgery on Friday, 10/6, at Northwestern. Fortunately, it was laproscopic. Thus, chemo will start probably in 2 - 3 weeks since the cancer is growing again in both lobes of the liver and there are some new spots showing up on a pet scan. The hernia itself was 10 centimeters in diameter and almost a perfect circle. That is fairly close to 4 inches and it is no wonder her stomach had been really bothering her for the last 5 weeks. She just didn't let on how much it really did hurt. As soon as she was awake after surgery she said the stomach pain was gone. We obviously have a whole lot of respect for Dr. Eric Hungness.

The concern was that if the surgeon had to do an "open" hernia surgery chemo could not start until early to mid December. This was not what we wanted. Thus, chemo should start within a couple of weeks.

There was some concern that the surgery could not be done until 10/20. However, the MAN upstairs smiled on us and there was a last minute cancellation so we could use the operating room on 10/6. It was a welcome relief to have the planets align in our favor for a change!

The surgery went well and I was able to bring her home on Saturday afternoon. She was there about 32 hours. Paul was with me all day and until we went home after dinner about 10 PM. Debbie was able to get to the hospital about 4 PM and I gave her a ride back to Wheaton. I was very glad and thankful that they were both there.

There was one bit of humor for the day. Paul did a classical reading of one of his mother's romance novels for us with some ad libs thrown in from the perspective of "if I was writing this trash I would have said it this way!" Debbie and I were in tears we were laughing so hard, especially with Paul's voice impersonations. I think this has possibilities of becoming a family tradition with Uncle Paul.

Natalie is walking and resting, feeling stronger each day. She is going to go "cranial prosthesis" shopping on Thursday in preparation for the chemo. She will probably return to work on Thursday or Friday to just get some necessary things done in 2 - 3 hours. She does find her job life-giving and intends to keep at it. Afterall, the quality of life and getting something positive out of each day is what counts. This is no time to feel sorry for ourselves or about our situation. WE ARE GOING TO KEEP ON LIVING and hope each of you do the same.

Thank you so much for your prayers. Keep them coming. The next 6 months will be a challenge. We will be in need of some divine intervention. God's Speed and God Bless.

Bob

PS In case you didn't figure it out, a cranial prosthesis is a wig! Make it a great day.

I was hoping to end this post with the picture of all of us on our family vacation at Pentwater, MI in August, but I'm still waiting for a certain sibling to send it to me. So instead here's a picture of my niece, Riley, riding a pony. More pictures of my nieces here.


Riley Riding a Pony