Blank spaces in your WordPress RSS feed?

If you use WordPress and find that strange blank lines are creeping into your RSS feed, you can try inserting this wejnswpwhitespacefix.php file or, if that doesn’t work, try disabling GZIP compression on your site (check your performance plugins such as W3 Total Cache etc.

If all that doesn’t work, try making yourself a script that runs via cron. It would have to go something like this..

cd /home/SITENAME/public_html/NEWFEEDFOLDER/
dos2unix index.html
sed -i ‘/^$/d’ index.html