Hi everyone, this is my first post on the Drupal forums. I have been using Drupal for about 8 months and have a fairly good understanding of it, but this issue is beyond me... and my colleagues for that matter.
The problem is that in the video section of my clients website, Drupal is writing invalid XML documents for the video feed page. The issue with the XML is that drupal is adding an extra line before the XML declaration, and in doing so is rendering the XML file invalid.
Video Page - http://hosports.com/video
Feed Validator - http://feedvalidator.org/check.cgi?url=http%3a%2f%2fhosports.com%2fvideo...
I am at a complete loss as to what to do to fix this. We have updated Drupal to 4.7 as well as updated the video module. Any help would be very much appreciated.
Thanks a million!
Comments
where coming from??
I noticed that there is an extra line at the top of your xhtml file for your homepage. It's a blank line just like with your feed. The problem may not be with the feed but with something else. Just a thought.
--
Matt
http://www.mattfarina.com
Bad XML
Thank you Matt. I had a look at what you said, and you were right. There was a bad template file with a space above the doc type declaration.
Sometime it just takes some fresh eyes!
Thanks again!
How to?
How do I change the xml display?
I can see the file views-view-rss.tpl :
Here I don't see anything bad... but when I click on the RSS button appears a popup window with the option to open the XML and I can see there's a empty line before the XML starts.
Anyone can help me?
Thanks in advance!