Archive for April 20th, 2009
Fix error: Blank line before XML declaration in Wordpress RSS
by Rolando on Apr.20, 2009, under wordpress
If you check your RSS feed and find this error have fun digging through php files until you find the one(s) with the problem. Basically you need to find php files that end with blank line after the php closing tag ?>
First make sure you get the blank line error when validating your RSS feed at http://validator.w3.org/feed/
In my case I had two blank lines at the beginning of the RSS feed and found the problem on these two files:
- /wp-settings.php (in the root)
- /wp-includes/functions.php
Is this doesn’t fix it, try these other files as explained in the W3C website (http://validator.w3.org/feed/docs/error/WPBlankLine.html)
- /wp-config.php
- functions.php inside your themes directory
- wp-rss2.php
- wp-atom.php
If you get the error still, start disabling your plugins one by one until the error goes away.
Hope this helps. Good luck!
New blog, new post …One year of absence!
by Rolando on Apr.20, 2009, under Misc, Uncategorized
It has been just over a year now since my last post. If you have visited my blog before, you’ll noticed that I have switched it from MachBlog to Wordpress.
What seems to be a sudden change has been, actually, a long period of testing and contemplation of different blogging solutions. Being mainly a CFer, I seriously considered several ColdFusion based blogging apps, as well as a JAVA based solution, Blojsom. While they are very good I was convinced that the right solution for what I needed was Wordpress. Why?
Even though my CF-Angel tells me not to go with a PHP based blogging engine, the truth of the matter is that I just need a solution that works well, adapts to changes in technology and blogging trends (ie Social media/micro-blogging) and is easy to manage. Wordpress is very well known and used, stable with tons (literally) of plugins and templates right off the bat. I really don’t want to modify the code under the hood to get what I want and this seems to have everything I need want so far:
- Easy plugin install (over 4,000 of them and I can search & install them right from the admin)
- Easy theme switcher (thousands of them free)
- Easy import from RSS feeds (I had to write code to import the comments though)
- Permalink support (pretty URLs)
- Multiple RSS formats
- Twitter plugin (better than many of the plugins I’ve seen from other blog engines)
- Facebook plugin (various plugins & features)
- SEO plugin (powerful) (continue reading…)


