Feed validation woes...

Found a bug? Tell us!!
Post Reply
ragkap
Posts: 2
Joined: Sat Dec 17, 2005 3:41 pm

Feed validation woes...

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Feed validation woes...

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ragkap
Posts: 2
Joined: Sat Dec 17, 2005 3:41 pm

Re: Feed validation woes...

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Feed validation woes...

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply