addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Whitespace Issues in WP Feeds

From: Jason W.
Sent on: Sunday, August 9, 2009 12:56 PM
Mari was having some issues with whitespace at the beginning of her RSS feed that was causing some feed parsers to be unable to read it.?

I was especially concerned because Mari's blog is very simple, no fancy plugins or themes, just the barebones default install.?

I learned that this is unfortunately an extremely common problem that can be somewhat difficult to troubleshoot, because it can be caused by leading or trailing spaces in a very long list of Wordpress files. Trailing spaces can creep in due to line ending differences between platforms when uploading, etc.?

Rather than go through all of Mari's files looking for stray whitespace, I took the easy way out with this fix:

It worked perfectly and was extremely quick and easy. If you run into this problem yourself somewhere along the way, save yourself some headache and take a look at that link!


Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy