The nutorious RSS hack

Posted Sep 27, 16:43

Doesn’t it always annoy you that when you click on the link to the RSS feed of a textpattern site, firefox prompts you to download a file, instead of the feed being displayed in the browser window? no? well, it really annoys me.

So, after working for about 2 seconds, I managed to find and fix the problem with textpattern’s RSS feed. You see, textpattern serves it’s feeds as “application/rss+xml”, which causes the RSS feed to not be recognized by Firefox as a renderable XML file. However, if you change publish/rss.php in the textpattern folder and replace the first instance of “application/rss+xml” with “text/xml”, Firefox will gladly display it in the browser window.

or, alternatively, you could just replace publish/rss.php with this file

4 Comments for The nutorious RSS hack

  1. Michael Wright said,

    Jan 18, 04:27 #

    Hi,

    Tried uploading your file – did not work.

    Tried changing original rss.php – did not work.
  2. Michael Wright said,

    Jan 18, 04:39 #

    Hi,

    Works fine – except you end up with the whole feed – would be nice to just have link / title/ excerpt.

    Excellent tip!

    Thanks
  3. noam samuel said,

    Jan 21, 05:07 #

    That is a good idea, i’ll see if I can add some CSS to the feed.
  4. SplitInfinity said,

    Aug 8, 21:40 #

    Working great for me! I had real problems fixing this, until I’ve found your tip! Thank you for sharing! :)

Comment on The nutorious RSS hack
Forget my information