Subscribe to the RSS feed and follow me on Twitter

Tag Archive for 'rss'

April Fools and RSS

Wordpress 2.0 and Mod-rewrites

I discovered the hard way, that if you have built an audience subscribed to a custom rss extension, you might need to think twice before upgrading your Wordpress install. Wordpress has changed the way it handles the feeds from the site. The old /wp-rss2.php file is still there, but frankly that is an ugly extension. On this and my other sites I have always used a rewrite so that people could pull the RSS feed at mwgblog.com/rss.xml. Turns out Wordpress 2.0 breaks this. Buried somewhere in the permalink building code it causes a 404 error to be posted to the header breaking aggregators. Interestingly it will display in the browser and only seems to effect rewrites to the feeds. All the other rewrites work just fine. A few other people have posted in detail about this problem. Of course, you find this out once you have already done the upgrade. I don’t know that it is a high priority fix; 2.0 is new and they have bigger fish to fry. If you are a php expert, feel free to dig into the classes.php file, my guess is that is where the problem lies.

So how did I fix it? It’s complicated. I have a script that scrapes the wp-rss2.php file and posts it to a static xml file. I then changed the rewrite to point /rss.xml to the static xml file. That is a pain the ass way of doing it, but it works.

I am still hopeful someone with PHP prowess will care enough to find the real fix.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Recent Posts

Monthly Archives

Categories

About

Michael W. Geoghegan is founder and CEO of GigaVox Media, a production, consulting and technology company focused on audio/video new media.

As a pioneer of podcasting, Michael created some of the first corporate podcasts, including efforts by Disney. Michael is also creator of the 2008 James Beard Award winning "GrapeRadio" and "Reel Reviews: Films Worth Watching". He is editor-in-chief of the Podcast Academy™ book series and co-author of Podcast Solutions: The Complete Guide to Podcasting.

Michael speaks frequently on podcasting's impact on new media and its corporate applications and is often quoted by the media including in The New York Times, USA Today, CNN and Wired Magazine.