Damon Cortesi's blog

Musings of an entrepreneur.

RSS/Atom Feed View-source Bookmarklet

| Comments

See, this is why I love Twitter. One of my gripes with Firefox is that it automatically assumes any RSS or atom feed I enter into the address bar is one that I want to subscribe to using some sort of feed reader like Google Reader. While this is true 90% of the time, there is that occasional instance where I actually want to see the plain text of the feed. I posed my question to the Twittersphere and merely moments later, somebody replied with just the right solution:

Picture 4.png

I gave it a shot and it worked perfectly, but the only problem was that it required a few too many keystrokes for my liking. With that in mind, I whipped up a quick bookmarklet to take care of it for me. Here’s the source in, conveniently enough, less than 140 characters.

1
javascript:(function(){s=location.href;location.href='view-source:'+unescape(s.substr(s.indexOf("feedurl")+8));})();void(0);

You can also just drag this View Feed Source link to your bookmarks.

Thanks, @popthestack!

Comments