I just noticed today that my rss feed is not working properly. When I click it, it prompts me to download it.
My site is http://www.sourcecodester.com/
The rss feed url is: http://www.sourcecodester.com/feed
Can anybody tell me what's wrong?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI just noticed today that my rss feed is not working properly. When I click it, it prompts me to download it.
My site is http://www.sourcecodester.com/
The rss feed url is: http://www.sourcecodester.com/feed
Can anybody tell me what's wrong?
I can see one empty line in beginning. This might be due to a empty line in any one of your modules. In PHP blank lines before <?php
tag causes a lot of problems remove it and check again. have a look at other site XML (Source Code) for proper format.
<?php
tag. This will send incorrect headers and might cause sessions to fail as well.
– GoodSp33d
Aug 7 '12 at 6:42
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
. do you have any idea where to remove this line feed? i already check html.tpl.php but there's no space at the top of the code.
– jaypabs
Aug 7 '12 at 11:34
.module
files under sites/all/modules or sites/default/modules. Check all files for a blank line at beginning of file
– GoodSp33d
Aug 7 '12 at 11:40