Page 1 of 1

Feed validation woes...

Posted: Sat Dec 17, 2005 3:48 pm
by ragkap
Hi Guys

Firstly, thanks for making Serendipity so powerful. I have been experiencing slighty problem with the validation of my feeds.
(check out: http://chatter.QAable.com)

Somehow, there are 2 blank newlines before the first line which causes Firefox and some other readers to reject the feed - any help?

Cheers,
RK

Re: Feed validation woes...

Posted: Mon Dec 19, 2005 9:27 am
by garvinhicking
This can happen, if you transmitted some files in ASCII mode and converted unix linebreaks to windows linebreaks in some files. Every extra space/newline before the first <?php or after the last ?> are then shown on your pages.

This can also happen if you edited some plugin or language file and inserted those extra spaces. You should check your editor if it has an option like "Trim trailing whitespace" and then re-save the files you edited!

Best regards,
Garvin

Re: Feed validation woes...

Posted: Mon Dec 19, 2005 10:38 am
by ragkap
Thanks Garvin

Any clues what plugin files these might be?

cheers,
RK
garvinhicking wrote:This can happen, if you transmitted some files in ASCII mode and converted unix linebreaks to windows linebreaks in some files. Every extra space/newline before the first <?php or after the last ?> are then shown on your pages.

This can also happen if you edited some plugin or language file and inserted those extra spaces. You should check your editor if it has an option like "Trim trailing whitespace" and then re-save the files you edited!

Best regards,
Garvin

Re: Feed validation woes...

Posted: Mon Dec 19, 2005 10:39 am
by garvinhicking
Phew, those could be all files you've edited or are using.

Are there any files you manually edited?

The only way I see is to edit each plugin file you're using and check the top/bottom of the file for padding spaces...

HTH,
Garvin