Feed Fixed

February 6th, 2009

I hope.

Amazing how one stupid blank line could screw up so many parsers. I think I have it fixed with a dirty little PHP hack:

1
2
3
$out = ob_get_contents();
$out = str_replace(array("\n", "\r", "\t", " "), "", $input);
ob_end_clean();

That basically strips out leading whitespace on the feed pages. Effective. Dirty, but effective.

Let me know if anyone’s readers still have issues.

Comments are closed.