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
- Really getting into Radio Nova - pretty much every song that's playing when I turn it on is 1 I can sing along to (80s/90s rock mostly) :) 13 hrs ago
- This is really cool! RT @dgroundsel Dropping neodymium magnets through a copper pipe http://t.co/bVxJgxW 13 hrs ago
- RT @Astro_Nicole: A beautiful moon set picture my friend & crewmate Max Suraev took from ISS during expedition 21. http://twitpic.com/62puxx 13 hrs ago
- RT @chrisjhorn: Antimatter belt - anti-protons - discovered surrounding Earth between the Van Allen belts http://bbc.in/raMuVy (BBC) 21 hrs ago
- RT @ScienceGallery: Saturday Aug 13th is our next wacky chemistry show-- fun for the whole family! http://ow.ly/5X8ms 23 hrs ago
- More updates...
Powered by Twitter Tools
- Dishonored screens may light your fire, definitely light a guy on fire
- Sdatcher to be available for free
- Take-Two profits down in first quarter of Red Dead-free fiscal year
- NPD teaming with EEDAR to track digital sales
- Kotick: Player enthusiasm for Modern Warfare 3 unlike anything in Activision history
- Epic Games Looking To Start On a New Project After Gears of War 3
- Bethesda Boss Says Xbox 3 Is At Least 3 Years Away
- More Borderlands 2 Details Surface!
- London Constable blames GTA for Riots
- Might & Magic Heroes VI delayed until October 13
- Chambers pens extension
- Bruce baffled by Twitter
- Bendtner confirms departure, won’t say to who
- Arsenal Chief Executive addresses fans
- Oxlade-Chamberlain - The first interview
- Arsenal confirm Oxlade-Chamberlain signing
- Oxlade-Chamberlain joins the Club - pictures
- Oxlade-Chamberlain seals move to Arsenal
- International Watch: Gunners away on duty
- NI call for Thompson
- Why Some People Don't Develop Fingerprints
- Skywatching Events for August 2011
- Meteor Explosion Surprises Pacific Island Nation of Niue
- NASA Invests in Far-Out Space Tech for Future Missions
- Nokia Creates World's Largest Stop-Motion Animation
- Record Attempt to Swim from Cuba Underway
- 'Private' BlackBerry network won't shield rioters
- Mystery Minnesota Monster Sparks Speculation
- How Wine Production Pollutes
- Chimpanzees Not as Selfish as We Thought
- Windows Phone GM Charlie Kindel leaves Microsoft to launch startup
- Google+ iOS app now supports iPad and iPod touch, still not optimized for iPad
- The Engadget Show returns Friday, August 19th -- win a ticket to the taping!
- AMD slips into desktop RAM biz
- Panasonic, Sony, Samsung and XpanD finally team up for an active 3D glasses standard
- Lenovo's ThinkPad Tablet visits the FCC, meeting described as business-like
- Jailbroken Apple TV plays HTML5 Blackjack, iOS gambling rings can't be far behind
- Optical 'diode' lends hope to photonic computing, rayguns
- Smartphone Syncing Android Watch
- HTC Puccini Screenshots Leak Out
- Libya rebel head sacks 'cabinet'
- 'Viking' sailors speak of rescue
- Strauss-Kahn maid files lawsuit
- Wrexham wait as deadline passes
- Females charged over Belfast riots
- Spermless mosquitoes hold promise
- VIDEO: Obama: US problems 'solveable'
- Afghan Chinook crash a 'one-off'
- Mugabe: 'Nato a terrorist group'
- Man shot in face in city street