I ran into a problem that seems to come up occasionally on the WordPress support forum – blank lines at the beginning of the RSS feed XML file for the site which causes problems since it’s no longer valid XML. A quick look at the support forum pointed me in the right direction. It turned out to be blank lines following the final ?> line in the functions.php I had added to my custom theme to add widget support to the sidebar. This file gets loaded and parsed for every request to the blog, including for the RSS feed, and the blank line is actually seen as an intended part of the output – like the regular HTML you see in PHP files. Removing the blank line sorted the problem out.
-
Advertisement
- Latest Tweets
- Flower is just beautiful. Can't remember a game that has made me smile like this. Looking forward to Journey even more now! @thatgamecompany 3 hrs ago
- New Halo:Reach campaign trailer reminds me of Craig Mullins' Marathon/Halo art for some reason. The composition or framing maybe? 3 hrs ago
- LOL just earned a trophy in Flower by doing precisely nothing :) 3 hrs ago
- @Banksyart2 hello from Dublin :) 3 hrs ago
- @AceyBongos if Iron Maiden reproduce tonight's Dublin show you're in for a treat :) 3 hrs ago
- More updates...
Powered by Twitter Tools
- WRUP: Stayin' cool edition
- Mega64 reveals the fourth iteration of Kinect hardware
- Respawn Entertainment, Richard Garriott to appear at QuakeCon 2010
- Splatterhouse producer talks blood, guts and paying homage
- Medal of Honor beta ending tomorrow on PS3 and PC, August 9 on 360
- Naruto Ultimate Ninja Storm 2 demo now available on Japanese PSN
- Battlefield 3 Beta Invite to be Included with Medal of Honor Limited Edition
- Halo: Reach in-game 'flair' awaits some owners of Halo for PC
- Insomniac to announce new game before PAX, demo it there
- Medal of Honor LE tied up with Battlefield 3 beta invite
- A solar detective story: Explaining how power output varies hour by hour
- Which oil-mopping technology will win $1.4m X prize?
- A Solar Salamander
- Weather or Not?: Last Winter's Record Snow Driven by Short-Term Meteorologic Patterns, Not Long-Term Climate Change
- BP to try well kill Tuesday
- Study changes picture of U.S. quake hazards
- Area of Mars Identified as Good Place to Look for Evidence of Past Life
- Chile's quake was fifth largest on modern record
- Whole New Mercury Promised by NASA Spacecraft
- Mars Rover Spirit May Not Survive Martian Winter
- Rover Puck WiMAX hotspot gets FCC'd, traction on ice subject of fierce debate
- 'Death to browsers!' cries Apple mobile-app patent
- Microsoft gets dirty with Gmail cloud cash fight
- Augen Gentouch 78 preview
- EVO 4G's Froyo firmware was available for download, manual install (update)
- Magic Trackpad review
- It's System Administrator Appreciation Day, show your sysadmin you care
- [discussion] peter replied to a discussion: Ok, I managed to get my hands on a phone running a beta of...
- [big debate] I liked my iPAQ it was my first forey into hand-held devices...
- [popular now] Apple iPod touch 3rd-gen